mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 03:23:08 +00:00
⚗️ Force shell commands to run outside Rosetta
This commit is contained in:
parent
bb08df136b
commit
4762a8906c
1 changed files with 9 additions and 0 deletions
9
.github/workflows/build-test.yml
vendored
9
.github/workflows/build-test.yml
vendored
|
@ -18,6 +18,15 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
build-test:
|
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
|
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
|
||||||
name: Build, Test, and Lint
|
name: Build, Test, and Lint
|
||||||
# https://docs.github.com/en/actions/hosting-your-own-runners/using-self-hosted-runners-in-a-workflow
|
# https://docs.github.com/en/actions/hosting-your-own-runners/using-self-hosted-runners-in-a-workflow
|
||||||
|
|
Loading…
Reference in a new issue