Skip to content

Commit 422b52c

Browse files
Copilotclemensv
andcommitted
Update all workflows to use GitHub larger cloud runners
Co-authored-by: clemensv <542030+clemensv@users.noreply.github.com>
1 parent be2c587 commit 422b52c

12 files changed

Lines changed: 57 additions & 57 deletions

File tree

.github/workflows/c.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
os: [ubuntu-latest, macos-latest, windows-latest]
24+
os: [ubuntu-latest-4-cores, macos-latest-xlarge, windows-latest-8-cores]
2525

2626
steps:
2727
- uses: actions/checkout@v4
@@ -59,7 +59,7 @@ jobs:
5959

6060
memory-check:
6161
name: Memory Check (Valgrind)
62-
runs-on: ubuntu-latest
62+
runs-on: ubuntu-latest-4-cores
6363

6464
steps:
6565
- uses: actions/checkout@v4

.github/workflows/dotnet.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
os: [ubuntu-latest, windows-latest, macos-latest]
31+
os: [ubuntu-latest-4-cores, windows-latest-8-cores, macos-latest-xlarge]
3232

3333
steps:
3434
- uses: actions/checkout@v4
@@ -61,7 +61,7 @@ jobs:
6161

6262
build:
6363
name: Build package
64-
runs-on: ubuntu-latest
64+
runs-on: ubuntu-latest-4-cores
6565
needs: test
6666

6767
steps:
@@ -94,7 +94,7 @@ jobs:
9494

9595
publish:
9696
name: Publish to NuGet
97-
runs-on: ubuntu-latest
97+
runs-on: ubuntu-latest-4-cores
9898
needs: build
9999
if: startsWith(github.ref, 'refs/tags/v')
100100
permissions:

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
jobs:
2020
test:
2121
name: Test Go ${{ matrix.go-version }}
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-latest-4-cores
2323
strategy:
2424
fail-fast: false
2525
matrix:
@@ -57,7 +57,7 @@ jobs:
5757

5858
lint:
5959
name: Lint
60-
runs-on: ubuntu-latest
60+
runs-on: ubuntu-latest-4-cores
6161

6262
steps:
6363
- uses: actions/checkout@v4

.github/workflows/java-sdk.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ jobs:
2727
# Test on multiple JDK versions for compatibility
2828
java-version: ['21', '25']
2929
# Primary OS is Linux, optionally test on Windows/macOS
30-
os: [ubuntu-latest]
30+
os: [ubuntu-latest-4-cores]
3131
include:
3232
# Also test on Windows with baseline JDK
33-
- os: windows-latest
33+
- os: windows-latest-8-cores
3434
java-version: '21'
3535
# Also test on macOS with baseline JDK
36-
- os: macos-latest
36+
- os: macos-latest-xlarge
3737
java-version: '21'
3838

3939
defaults:
@@ -63,11 +63,11 @@ jobs:
6363
run: mvn -B package -DskipTests
6464

6565
- name: Generate JaCoCo report
66-
if: matrix.java-version == '21' && matrix.os == 'ubuntu-latest'
66+
if: matrix.java-version == '21' && matrix.os == 'ubuntu-latest-4-cores'
6767
run: mvn -B jacoco:report
6868

6969
- name: Upload coverage to Codecov
70-
if: matrix.java-version == '21' && matrix.os == 'ubuntu-latest'
70+
if: matrix.java-version == '21' && matrix.os == 'ubuntu-latest-4-cores'
7171
uses: codecov/codecov-action@v4
7272
with:
7373
files: java/target/site/jacoco/jacoco.xml
@@ -86,7 +86,7 @@ jobs:
8686
# Upload JAR only once (from baseline JDK build on Linux)
8787
# Java's "build once, run anywhere" means one JAR works on all JVMs
8888
- name: Upload JAR artifact
89-
if: matrix.java-version == '21' && matrix.os == 'ubuntu-latest'
89+
if: matrix.java-version == '21' && matrix.os == 'ubuntu-latest-4-cores'
9090
uses: actions/upload-artifact@v4
9191
with:
9292
name: json-structure-java-sdk
@@ -97,7 +97,7 @@ jobs:
9797
retention-days: 30
9898

9999
- name: Upload sources JAR
100-
if: matrix.java-version == '21' && matrix.os == 'ubuntu-latest'
100+
if: matrix.java-version == '21' && matrix.os == 'ubuntu-latest-4-cores'
101101
uses: actions/upload-artifact@v4
102102
with:
103103
name: json-structure-java-sdk-sources
@@ -106,7 +106,7 @@ jobs:
106106
if-no-files-found: ignore
107107

108108
lint:
109-
runs-on: ubuntu-latest
109+
runs-on: ubuntu-latest-4-cores
110110

111111
defaults:
112112
run:
@@ -133,7 +133,7 @@ jobs:
133133

134134
publish:
135135
name: Publish to Maven Central
136-
runs-on: ubuntu-latest
136+
runs-on: ubuntu-latest-4-cores
137137
needs: [build, lint]
138138
if: startsWith(github.ref, 'refs/tags/v')
139139

.github/workflows/jstruct-cli.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -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

.github/workflows/perl.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
os: [ubuntu-latest, macos-latest, windows-latest]
28+
os: [ubuntu-latest-4-cores, macos-latest-xlarge, windows-latest-8-cores]
2929
perl-version: ['5.20', '5.26', '5.32', '5.38']
3030
json-backend: ['JSON::PP', 'Cpanel::JSON::XS']
3131
exclude:
3232
# Windows perl setup can be slow, test fewer versions
33-
- os: windows-latest
33+
- os: windows-latest-8-cores
3434
perl-version: '5.20'
35-
- os: windows-latest
35+
- os: windows-latest-8-cores
3636
perl-version: '5.26'
3737
# XS modules can be tricky on Windows, test only with PP
38-
- os: windows-latest
38+
- os: windows-latest-8-cores
3939
json-backend: 'Cpanel::JSON::XS'
4040

4141
steps:
@@ -64,7 +64,7 @@ jobs:
6464
prove -l -v t/
6565
6666
- name: Run tests with coverage
67-
if: matrix.perl-version == '5.38' && matrix.os == 'ubuntu-latest'
67+
if: matrix.perl-version == '5.38' && matrix.os == 'ubuntu-latest-4-cores'
6868
working-directory: perl
6969
run: |
7070
cpanm --notest Devel::Cover Devel::Cover::Report::Clover
@@ -74,7 +74,7 @@ jobs:
7474
7575
lint:
7676
name: Perl Critic
77-
runs-on: ubuntu-latest
77+
runs-on: ubuntu-latest-4-cores
7878

7979
steps:
8080
- uses: actions/checkout@v4
@@ -97,7 +97,7 @@ jobs:
9797

9898
build:
9999
name: Build distribution
100-
runs-on: ubuntu-latest
100+
runs-on: ubuntu-latest-4-cores
101101
needs: test
102102

103103
steps:
@@ -147,7 +147,7 @@ jobs:
147147
# This job prepares the distribution for upload
148148
prepare-cpan:
149149
name: Prepare for CPAN
150-
runs-on: ubuntu-latest
150+
runs-on: ubuntu-latest-4-cores
151151
needs: build
152152
if: startsWith(github.ref, 'refs/tags/v')
153153

.github/workflows/php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ permissions:
2020
jobs:
2121
test:
2222
name: Test PHP ${{ matrix.php-version }}
23-
runs-on: ubuntu-latest
23+
runs-on: ubuntu-latest-4-cores
2424
strategy:
2525
fail-fast: false
2626
matrix:

.github/workflows/publish-vscode.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ permissions:
3030
jobs:
3131
# Build and test job
3232
build-and-test:
33-
runs-on: ubuntu-latest
33+
runs-on: ubuntu-latest-4-cores
3434
# Only run if:
3535
# - manually triggered (workflow_dispatch)
3636
# - TypeScript SDK workflow succeeded (workflow_run)
@@ -135,7 +135,7 @@ jobs:
135135

136136
# Publish job - runs after successful build for tag-triggered events or manual dispatch
137137
publish:
138-
runs-on: ubuntu-latest
138+
runs-on: ubuntu-latest-4-cores
139139
needs: [build-and-test]
140140
# Publish on workflow_run (TypeScript SDK completed), direct tag push, or manual dispatch (unless dry-run)
141141
if: |

.github/workflows/python.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
jobs:
2020
test:
2121
name: Test Python ${{ matrix.python-version }}
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-latest-4-cores
2323
strategy:
2424
fail-fast: false
2525
matrix:
@@ -56,7 +56,7 @@ jobs:
5656

5757
build:
5858
name: Build package
59-
runs-on: ubuntu-latest
59+
runs-on: ubuntu-latest-4-cores
6060
needs: test
6161

6262
steps:
@@ -86,7 +86,7 @@ jobs:
8686

8787
publish:
8888
name: Publish to PyPI
89-
runs-on: ubuntu-latest
89+
runs-on: ubuntu-latest-4-cores
9090
needs: build
9191
if: startsWith(github.ref, 'refs/tags/v')
9292

0 commit comments

Comments
 (0)