From 4762a8906c01b0b9f8042a39a172e27ceff7447b Mon Sep 17 00:00:00 2001 From: Ben Chatelain Date: Fri, 24 Dec 2021 13:58:56 -0700 Subject: [PATCH] =?UTF-8?q?=E2=9A=97=EF=B8=8F=20Force=20shell=20commands?= =?UTF-8?q?=20to=20run=20outside=20Rosetta?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-test.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 1144dad..d6d9dda 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -18,6 +18,15 @@ concurrency: jobs: build-test: + # https://github.com/actions/runner/issues/805#issuecomment-942784948 + # https://github.com/rolpdog/cffi-mirror/blob/release-1.15/.github/workflows/ci.yaml#L81-L141 + # https://github.com/actions/virtual-environments/issues/2187#issuecomment-790507204 + defaults: + run: + # shell: ${{ matrix.run_wrapper || 'bash --noprofile --norc -eo pipefail {0}' }} + # run_wrapper: arch -arm64 bash --noprofile --norc -eo pipefail {0} + shell: arch -arm64 bash --noprofile --norc -eo pipefail {0} + # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners name: Build, Test, and Lint # https://docs.github.com/en/actions/hosting-your-own-runners/using-self-hosted-runners-in-a-workflow