@@ -30,28 +30,28 @@ jobs:
3030 include :
3131 # Linux x86_64
3232 - target : x86_64-unknown-linux-gnu
33- os : ubuntu-latest
33+ os : ubuntu-latest-4-cores
3434 artifact : jstruct
3535 # Linux ARM64
3636 - target : aarch64-unknown-linux-gnu
37- os : ubuntu-latest
37+ os : ubuntu-latest-4-cores
3838 artifact : jstruct
3939 cross : true
4040 # Windows x86_64
4141 - target : x86_64-pc-windows-msvc
42- os : windows-latest
42+ os : windows-latest-8-cores
4343 artifact : jstruct.exe
4444 # Windows ARM64
4545 - target : aarch64-pc-windows-msvc
46- os : windows-latest
46+ os : windows-latest-8-cores
4747 artifact : jstruct.exe
4848 # macOS x86_64 (Intel)
4949 - target : x86_64-apple-darwin
50- os : macos-latest
50+ os : macos-latest-xlarge
5151 artifact : jstruct
5252 # macOS ARM64 (Apple Silicon)
5353 - target : aarch64-apple-darwin
54- os : macos-latest
54+ os : macos-latest-xlarge
5555 artifact : jstruct
5656
5757 steps :
@@ -106,7 +106,7 @@ jobs:
106106 runs-on : ${{ matrix.os }}
107107 strategy :
108108 matrix :
109- os : [ubuntu-latest, windows-latest, macos-latest]
109+ os : [ubuntu-latest-4-cores , windows-latest-8-cores , macos-latest-xlarge ]
110110 steps :
111111 - uses : actions/checkout@v4
112112 with :
@@ -130,16 +130,16 @@ jobs:
130130 include :
131131 # Native tests (can run directly)
132132 - target : x86_64-unknown-linux-gnu
133- os : ubuntu-latest
133+ os : ubuntu-latest-4-cores
134134 artifact : jstruct
135135 - target : x86_64-pc-windows-msvc
136- os : windows-latest
136+ os : windows-latest-8-cores
137137 artifact : jstruct.exe
138138 - target : x86_64-apple-darwin
139139 os : macos-13
140140 artifact : jstruct
141141 - target : aarch64-apple-darwin
142- os : macos-latest
142+ os : macos-latest-xlarge
143143 artifact : jstruct
144144
145145 steps :
@@ -216,7 +216,7 @@ jobs:
216216 package-deb :
217217 name : Package DEB
218218 needs : build
219- runs-on : ubuntu-latest
219+ runs-on : ubuntu-latest-4-cores
220220 strategy :
221221 matrix :
222222 arch : [amd64, arm64]
@@ -299,7 +299,7 @@ jobs:
299299 package-rpm :
300300 name : Package RPM
301301 needs : build
302- runs-on : ubuntu-latest
302+ runs-on : ubuntu-latest-4-cores
303303 strategy :
304304 matrix :
305305 arch : [x86_64, aarch64]
@@ -378,7 +378,7 @@ jobs:
378378 package-msix :
379379 name : Package MSIX
380380 needs : build
381- runs-on : windows-latest
381+ runs-on : windows-latest-8-cores
382382 strategy :
383383 matrix :
384384 arch : [x64, arm64]
@@ -514,7 +514,7 @@ jobs:
514514 package-macos :
515515 name : Package macOS
516516 needs : build
517- runs-on : macos-latest
517+ runs-on : macos-latest-xlarge
518518 strategy :
519519 matrix :
520520 arch : [x86_64, arm64]
@@ -603,7 +603,7 @@ jobs:
603603 package-macos-universal :
604604 name : Package macOS Universal
605605 needs : build
606- runs-on : macos-latest
606+ runs-on : macos-latest-xlarge
607607
608608 steps :
609609 - uses : actions/checkout@v4
@@ -670,7 +670,7 @@ jobs:
670670 package-linux-tarball :
671671 name : Package Linux tarball
672672 needs : build
673- runs-on : ubuntu-latest
673+ runs-on : ubuntu-latest-4-cores
674674 strategy :
675675 matrix :
676676 arch : [x86_64, aarch64]
@@ -716,7 +716,7 @@ jobs:
716716 package-windows-zip :
717717 name : Package Windows ZIP
718718 needs : build
719- runs-on : windows-latest
719+ runs-on : windows-latest-8-cores
720720 strategy :
721721 matrix :
722722 arch : [x64, arm64]
@@ -770,7 +770,7 @@ jobs:
770770 - package-macos-universal
771771 - package-linux-tarball
772772 - package-windows-zip
773- runs-on : ubuntu-latest
773+ runs-on : ubuntu-latest-4-cores
774774 if : startsWith(github.ref, 'refs/tags/jstruct-v')
775775 permissions :
776776 contents : write
0 commit comments