diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2023-06-08 15:27:31 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-08 15:27:31 -0400 |
| commit | 524e4264573cd30a9bc3db28f44cf2b62e867dfa (patch) | |
| tree | ca831ba27aea40f2ef4afbc01d2db591d5713cb2 /.github | |
| parent | c775001466861eda14c037c8bc02706222e62fd5 (diff) | |
ci: use windows-xl runner for `--release` on main (#19429)
Diffstat (limited to '.github')
| -rwxr-xr-x | .github/workflows/ci.generate.ts | 8 | ||||
| -rw-r--r-- | .github/workflows/ci.yml | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index f6c94441b..cedf91b6c 100755 --- a/.github/workflows/ci.generate.ts +++ b/.github/workflows/ci.generate.ts @@ -10,6 +10,8 @@ const cacheVersion = 36; const Runners = (() => { const ubuntuRunner = "ubuntu-22.04"; const ubuntuXlRunner = "ubuntu-22.04-xl"; + const windowsRunner = "windows-2022"; + const windowsXlRunner = "windows-2022-xl"; return { ubuntuXl: @@ -17,7 +19,9 @@ const Runners = (() => { ubuntu: ubuntuRunner, linux: ubuntuRunner, macos: "macos-12", - windows: "windows-2022", + windows: windowsRunner, + windowsXl: + `\${{ github.repository == 'denoland/deno' && '${windowsXlRunner}' || '${windowsRunner}' }}`, }; })(); const prCacheKeyPrefix = @@ -320,7 +324,7 @@ const ci = { job: "test", profile: "debug", }, { - os: Runners.windows, + os: Runners.windowsXl, job: "test", profile: "release", skip_pr: true, diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86411c21c..05170935b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,11 +67,11 @@ jobs: job: test profile: debug os_display_name: windows-x86_64 - - os: windows-2022 + - os: '${{ github.repository == ''denoland/deno'' && ''windows-2022-xl'' || ''windows-2022'' }}' job: test profile: release skip_pr: true - runner: '${{ github.event_name == ''pull_request'' && ''ubuntu-22.04'' || ''windows-2022'' }}' + runner: '${{ github.event_name == ''pull_request'' && ''ubuntu-22.04'' || github.repository == ''denoland/deno'' && ''windows-2022-xl'' || ''windows-2022'' }}' os_display_name: windows-x86_64 - os: '${{ github.repository == ''denoland/deno'' && ''ubuntu-22.04-xl'' || ''ubuntu-22.04'' }}' job: test |
