mirror of
https://github.com/mas-cli/mas
synced 2025-02-16 12:38:30 +00:00
💡 Comment and clean up runner config
This commit is contained in:
parent
6935b3dfba
commit
a3b57574ab
1 changed files with 10 additions and 8 deletions
18
.github/workflows/build-test.yml
vendored
18
.github/workflows/build-test.yml
vendored
|
@ -18,21 +18,24 @@ 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}
|
||||
# Prefixes all `run` commands with the following command to force them to run outside Rosetta.
|
||||
# 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
|
||||
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
|
||||
|
||||
# GitHub provided runners (in case we need to switch back)
|
||||
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
|
||||
# runs-on: macos-latest
|
||||
|
||||
# https://docs.github.com/en/actions/hosting-your-own-runners/using-self-hosted-runners-in-a-workflow
|
||||
# https://github.com/mas-cli/mas/settings/actions/runners
|
||||
# runs-on: macos-latest
|
||||
runs-on: [self-hosted, macOS]
|
||||
|
||||
steps:
|
||||
# https://github.com/actions/checkout#usage
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -42,7 +45,6 @@ jobs:
|
|||
|
||||
- name: Bootstrap
|
||||
run: script/bootstrap
|
||||
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsenv
|
||||
|
||||
- name: Build
|
||||
run: script/build
|
||||
|
|
Loading…
Add table
Reference in a new issue