Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devops: add ability to skip architecture enforcement #4644

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion browser_patches/checkout_build_archive_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ else
exit 1
fi

if [[ "$CURRENT_ARCH" != "$EXPECTED_ARCH" ]]; then
# 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 [[ (-n "${DO_NOT_ENFORCE_ARCH}") || ("$CURRENT_ARCH" != "$EXPECTED_ARCH") ]]; then
echo "ERROR: cannot build $BUILD_FLAVOR"
echo " -- expected arch: $EXPECTED_ARCH"
echo " -- current arch: $CURRENT_ARCH"
Expand Down