1
0
Fork 0
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:
Bartek Iwańczuk 2024-09-27 17:01:20 +01:00 committed by GitHub
parent 6f0fbceaf2
commit 0f617be84a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 2 deletions

View file

@ -14,6 +14,7 @@ const windowsX86Runner = "windows-2022";
const windowsX86XlRunner = "windows-2022-xl"; const windowsX86XlRunner = "windows-2022-xl";
const macosX86Runner = "macos-13"; const macosX86Runner = "macos-13";
const macosArmRunner = "macos-14"; const macosArmRunner = "macos-14";
const macosArmXlRunner = "macos-14-xlarge";
const Runners = { const Runners = {
linuxX86: { linuxX86: {
@ -42,6 +43,12 @@ const Runners = {
arch: "aarch64", arch: "aarch64",
runner: macosArmRunner, runner: macosArmRunner,
}, },
macosArmXl: {
os: "macos",
arch: "aarch64",
runner:
`\${{ github.repository == 'denoland/deno' && '${macosArmXlRunner}' || '${macosArmRunner}' }}`,
},
windowsX86: { windowsX86: {
os: "windows", os: "windows",
arch: "x86_64", arch: "x86_64",
@ -378,7 +385,7 @@ const ci = {
job: "test", job: "test",
profile: "debug", profile: "debug",
}, { }, {
...Runners.macosArm, ...Runners.macosArmXl,
job: "test", job: "test",
profile: "release", profile: "release",
skip_pr: true, skip_pr: true,

View file

@ -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-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 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'') }}'