mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
ci: use macos-14-xlarge on 'main' branch (#25908)
This commit is contained in:
parent
6f0fbceaf2
commit
0f617be84a
2 changed files with 9 additions and 2 deletions
9
.github/workflows/ci.generate.ts
vendored
9
.github/workflows/ci.generate.ts
vendored
|
@ -14,6 +14,7 @@ const windowsX86Runner = "windows-2022";
|
|||
const windowsX86XlRunner = "windows-2022-xl";
|
||||
const macosX86Runner = "macos-13";
|
||||
const macosArmRunner = "macos-14";
|
||||
const macosArmXlRunner = "macos-14-xlarge";
|
||||
|
||||
const Runners = {
|
||||
linuxX86: {
|
||||
|
@ -42,6 +43,12 @@ const Runners = {
|
|||
arch: "aarch64",
|
||||
runner: macosArmRunner,
|
||||
},
|
||||
macosArmXl: {
|
||||
os: "macos",
|
||||
arch: "aarch64",
|
||||
runner:
|
||||
`\${{ github.repository == 'denoland/deno' && '${macosArmXlRunner}' || '${macosArmRunner}' }}`,
|
||||
},
|
||||
windowsX86: {
|
||||
os: "windows",
|
||||
arch: "x86_64",
|
||||
|
@ -378,7 +385,7 @@ const ci = {
|
|||
job: "test",
|
||||
profile: "debug",
|
||||
}, {
|
||||
...Runners.macosArm,
|
||||
...Runners.macosArmXl,
|
||||
job: "test",
|
||||
profile: "release",
|
||||
skip_pr: true,
|
||||
|
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -73,7 +73,7 @@ jobs:
|
|||
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'' && ''macos-14-xlarge'' || ''macos-14'' }}'
|
||||
job: test
|
||||
profile: release
|
||||
skip: '${{ !contains(github.event.pull_request.labels.*.name, ''ci-full'') && (github.event_name == ''pull_request'') }}'
|
||||
|
|
Loading…
Reference in a new issue