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:
parent
c775001466
commit
524e426457
2 changed files with 8 additions and 4 deletions
8
.github/workflows/ci.generate.ts
vendored
8
.github/workflows/ci.generate.ts
vendored
|
@ -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,
|
||||
|
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue