1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

ci: use windows-xl runner for --release on main (#19429)

This commit is contained in:
David Sherret 2023-06-08 15:27:31 -04:00 committed by GitHub
parent c775001466
commit 524e426457
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View file

@ -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,

View file

@ -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