summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-09-27 17:01:20 +0100
committerGitHub <noreply@github.com>2024-09-27 18:01:20 +0200
commit0f617be84a8e9edf73803210c24af43f729a97de (patch)
treee6aff2c5cf0d8b03356f5a89e5bdbcd69bc78dcf /.github
parent6f0fbceaf213f523bc68d23ea28fd457499f3a75 (diff)
ci: use macos-14-xlarge on 'main' branch (#25908)
Diffstat (limited to '.github')
-rwxr-xr-x.github/workflows/ci.generate.ts9
-rw-r--r--.github/workflows/ci.yml2
2 files changed, 9 insertions, 2 deletions
diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts
index 35020a5f8..e9fcacc82 100755
--- a/.github/workflows/ci.generate.ts
+++ b/.github/workflows/ci.generate.ts
@@ -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,
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 280eb7cb8..035a4244f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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'') }}'