diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-10-18 23:14:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-19 00:14:11 +0200 |
commit | e22d0e91ef7ce17dca299a44d1ccd292abde34f2 (patch) | |
tree | 45dde3be918072517c9bc616d7709613038d77f1 /.github | |
parent | d48434e91fcb2945f103521fde782adad5742c63 (diff) |
ci: use self-hosted mac arm runner (#26366)
Supersedes #26337
Diffstat (limited to '.github')
-rwxr-xr-x | .github/workflows/ci.generate.ts | 3 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index 98272abe4..ab0b54bde 100755 --- a/.github/workflows/ci.generate.ts +++ b/.github/workflows/ci.generate.ts @@ -40,7 +40,8 @@ const Runners = { macosArm: { os: "macos", arch: "aarch64", - runner: macosArmRunner, + runner: + `\${{ github.repository == 'denoland/deno' && 'self-hosted' || '${macosArmRunner}' }}`, }, windowsX86: { os: "windows", diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 161b8719c..63c14de4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,12 +68,12 @@ jobs: skip: '${{ !contains(github.event.pull_request.labels.*.name, ''ci-full'') && (github.event_name == ''pull_request'') }}' - os: macos arch: aarch64 - runner: macos-14 + runner: '${{ github.repository == ''denoland/deno'' && ''self-hosted'' || ''macos-14'' }}' job: test profile: debug - os: macos arch: aarch64 - runner: '${{ (!contains(github.event.pull_request.labels.*.name, ''ci-full'') && (github.event_name == ''pull_request'')) && ''ubuntu-22.04'' || ''macos-14'' }}' + runner: '${{ (!contains(github.event.pull_request.labels.*.name, ''ci-full'') && (github.event_name == ''pull_request'')) && ''ubuntu-22.04'' || github.repository == ''denoland/deno'' && ''self-hosted'' || ''macos-14'' }}' job: test profile: release skip: '${{ !contains(github.event.pull_request.labels.*.name, ''ci-full'') && (github.event_name == ''pull_request'') }}' |