Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: revert ability to skip architecture enforcement (#4667)

Andrey Lushnikovb486e840ad2f
diff --git a/browser_patches/checkout_build_archive_upload.sh b/browser_patches/checkout_build_archive_upload.sh
index 44ce33514c..04c581c3d5 100755
--- a/browser_patches/checkout_build_archive_upload.sh
+++ b/browser_patches/checkout_build_archive_upload.sh
@@ -151,9 +151,7 @@ else
exit 1
fi
-# Ability to skip arch checks since as of Dec 8, 2020 github self-hosted runner runs
-# under rosetta on Apple Silicon: https://github.com/actions/runner/issues/805
-if [[ (-z "${DO_NOT_ENFORCE_ARCH}") && ("$CURRENT_ARCH" != "$EXPECTED_ARCH") ]]; then
+if [[ "$CURRENT_ARCH" != "$EXPECTED_ARCH" ]]; then
echo "ERROR: cannot build $BUILD_FLAVOR"
echo " -- expected arch: $EXPECTED_ARCH"
echo " -- current arch: $CURRENT_ARCH"