mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
devops: revert ability to skip architecture enforcement (#4667)
This commit is contained in:
parent
4f3f6267a8
commit
b486e840ad
@ -151,9 +151,7 @@ else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ability to skip arch checks since as of Dec 8, 2020 github self-hosted runner runs
|
if [[ "$CURRENT_ARCH" != "$EXPECTED_ARCH" ]]; then
|
||||||
# under rosetta on Apple Silicon: https://github.com/actions/runner/issues/805
|
|
||||||
if [[ (-z "${DO_NOT_ENFORCE_ARCH}") && ("$CURRENT_ARCH" != "$EXPECTED_ARCH") ]]; then
|
|
||||||
echo "ERROR: cannot build $BUILD_FLAVOR"
|
echo "ERROR: cannot build $BUILD_FLAVOR"
|
||||||
echo " -- expected arch: $EXPECTED_ARCH"
|
echo " -- expected arch: $EXPECTED_ARCH"
|
||||||
echo " -- current arch: $CURRENT_ARCH"
|
echo " -- current arch: $CURRENT_ARCH"
|
||||||
|
Loading…
Reference in New Issue
Block a user