2121 runs-on : ${{ matrix.os }}
2222 strategy :
2323 matrix :
24- os : [ubuntu-22 .04, windows-2022]
24+ os : [ubuntu-24 .04, windows-2022]
2525 toolchain : [nightly, beta, stable, "1.63"]
2626 # Only Test macOS on stable to reduce macOS CI jobs
2727 include :
@@ -42,35 +42,23 @@ jobs:
4242
4343 linux :
4444 name : Linux
45- runs-on : ubuntu-22 .04
45+ runs-on : ubuntu-24 .04
4646 strategy :
4747 matrix :
4848 target : [x86_64-unknown-linux-musl, i686-unknown-linux-musl]
49- include :
50- - target : i686-unknown-linux-gnu
51- packages : libc6-dev-i386 lib32gcc-11-dev
52- - target : x86_64-unknown-linux-gnux32
53- packages : libc6-dev-x32 libx32gcc-11-dev
54- # TODO: Find a Linux image/runner with CONFIG_X86_X32_ABI set
55- cargo_test_opts : --no-run
5649 steps :
5750 - uses : actions/checkout@v4
5851 - uses : dtolnay/rust-toolchain@stable
5952 with :
6053 targets : ${{ matrix.target }}
61- - name : Install libc and libgcc
62- if : matrix.packages
63- run : |
64- sudo apt-get update
65- sudo apt-get install --no-install-recommends ${{ matrix.packages }}
6654 - uses : Swatinem/rust-cache@v2
67- - run : cargo test ${{ matrix.cargo_test_opts }} --target=${{ matrix.target }} --features=std
55+ - run : cargo test --target=${{ matrix.target }} --features=std
6856 - env :
6957 RUSTFLAGS : -Dwarnings --cfg getrandom_backend="linux_getrandom"
70- run : cargo test ${{ matrix.cargo_test_opts }} --target=${{ matrix.target }} --features=std
58+ run : cargo test --target=${{ matrix.target }} --features=std
7159 - env :
7260 RUSTFLAGS : -Dwarnings --cfg getrandom_backend="linux_rustix"
73- run : cargo test ${{ matrix.cargo_test_opts }} --target=${{ matrix.target }} --features=std
61+ run : cargo test --target=${{ matrix.target }} --features=std
7462 - env :
7563 RUSTFLAGS : -Dwarnings --cfg getrandom_test_linux_fallback
7664 run : cargo test --features=std
@@ -144,7 +132,7 @@ jobs:
144132
145133 sanitizer :
146134 name : Sanitizer
147- runs-on : ubuntu-22 .04
135+ runs-on : ubuntu-24 .04
148136 steps :
149137 - uses : actions/checkout@v4
150138 - uses : dtolnay/rust-toolchain@master
@@ -158,7 +146,7 @@ jobs:
158146
159147 cross :
160148 name : Cross
161- runs-on : ubuntu-22 .04
149+ runs-on : ubuntu-24 .04
162150 strategy :
163151 matrix :
164152 target : [
@@ -182,7 +170,7 @@ jobs:
182170
183171 freebsd :
184172 name : FreeBSD VM
185- runs-on : ubuntu-22 .04
173+ runs-on : ubuntu-24 .04
186174 steps :
187175 - uses : actions/checkout@v4
188176 - name : Test in FreeBSD
@@ -196,7 +184,7 @@ jobs:
196184
197185 openbsd :
198186 name : OpenBSD VM
199- runs-on : ubuntu-22 .04
187+ runs-on : ubuntu-24 .04
200188 steps :
201189 - uses : actions/checkout@v4
202190 - name : Test in OpenBSD
@@ -210,7 +198,7 @@ jobs:
210198
211199 netbsd :
212200 name : NetBSD VM
213- runs-on : ubuntu-22 .04
201+ runs-on : ubuntu-24 .04
214202 steps :
215203 - uses : actions/checkout@v4
216204 - name : Test in NetBSD
@@ -226,7 +214,7 @@ jobs:
226214 # https://github.com/rust-random/getrandom/actions/runs/11405005618/job/31735653874?pr=528
227215 # dragonflybsd:
228216 # name: DragonflyBSD VM
229- # runs-on: ubuntu-22 .04
217+ # runs-on: ubuntu-24 .04
230218 # steps:
231219 # - uses: actions/checkout@v4
232220 # - name: Test in DragonflyBSD
@@ -285,7 +273,7 @@ jobs:
285273
286274 wasi :
287275 name : WASI
288- runs-on : ubuntu-22 .04
276+ runs-on : ubuntu-24 .04
289277 steps :
290278 - uses : actions/checkout@v4
291279 - uses : dtolnay/rust-toolchain@master
0 commit comments