chore: CI: use large runners on Windows (#4050)

This commit is contained in:
Sebastian Ullrich 2024-05-02 16:28:17 +02:00 committed by GitHub
parent e6160d7d4a
commit 92fac419e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,7 +54,10 @@ jobs:
with:
script: |
const quick = ${{ steps.set-quick.outputs.quick }};
console.log(`quick: ${quick}`)
console.log(`quick: ${quick}`);
// use large runners outside PRs where available (original repo)
// for now Windows only, which is the slowest non-debug job
let large = ${{ github.event_name != 'pull_request' && github.repository == 'leanprover/lean4' }} ? "-large" : "";
let matrix = [
{
// portable release build: use channel with older glibc (2.27)
@ -135,7 +138,7 @@ jobs:
},
{
"name": "Windows",
"os": "windows-2022",
"os": `windows-2022${large}`,
"release": true,
"quick": false,
"shell": "msys2 {0}",