mirror of
https://github.com/denoland/deno.git
synced 2025-01-20 20:42:19 -05:00
ci: use self-hosted mac arm runner on tags (#27708)
This commit is contained in:
parent
0050857f51
commit
342ccbb99d
2 changed files with 3 additions and 3 deletions
4
.github/workflows/ci.generate.ts
vendored
4
.github/workflows/ci.generate.ts
vendored
|
@ -46,9 +46,9 @@ const Runners = {
|
||||||
macosArmSelfHosted: {
|
macosArmSelfHosted: {
|
||||||
os: "macos",
|
os: "macos",
|
||||||
arch: "aarch64",
|
arch: "aarch64",
|
||||||
// Actually use self-hosted runner only in denoland/deno on `main` branch.
|
// Actually use self-hosted runner only in denoland/deno on `main` branch and for tags (release) builds.
|
||||||
runner:
|
runner:
|
||||||
`\${{ github.repository == 'denoland/deno' && github.ref == 'refs/heads/main' && '${selfHostedMacosArmRunner}' || '${macosArmRunner}' }}`,
|
`\${{ github.repository == 'denoland/deno' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) && '${selfHostedMacosArmRunner}' || '${macosArmRunner}' }}`,
|
||||||
},
|
},
|
||||||
windowsX86: {
|
windowsX86: {
|
||||||
os: "windows",
|
os: "windows",
|
||||||
|
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -73,7 +73,7 @@ jobs:
|
||||||
profile: debug
|
profile: debug
|
||||||
- os: macos
|
- os: macos
|
||||||
arch: aarch64
|
arch: aarch64
|
||||||
runner: '${{ (!contains(github.event.pull_request.labels.*.name, ''ci-full'') && (github.event_name == ''pull_request'')) && ''ubuntu-24.04'' || github.repository == ''denoland/deno'' && github.ref == ''refs/heads/main'' && ''ghcr.io/cirruslabs/macos-runner:sonoma'' || ''macos-14'' }}'
|
runner: '${{ (!contains(github.event.pull_request.labels.*.name, ''ci-full'') && (github.event_name == ''pull_request'')) && ''ubuntu-24.04'' || github.repository == ''denoland/deno'' && (github.ref == ''refs/heads/main'' || startsWith(github.ref, ''refs/tags/'')) && ''ghcr.io/cirruslabs/macos-runner:sonoma'' || ''macos-14'' }}'
|
||||||
job: test
|
job: test
|
||||||
profile: release
|
profile: release
|
||||||
skip: '${{ !contains(github.event.pull_request.labels.*.name, ''ci-full'') && (github.event_name == ''pull_request'') }}'
|
skip: '${{ !contains(github.event.pull_request.labels.*.name, ''ci-full'') && (github.event_name == ''pull_request'') }}'
|
||||||
|
|
Loading…
Add table
Reference in a new issue