@@ -16,56 +16,56 @@ jobs:
16
16
matrix :
17
17
include :
18
18
- target : aarch64-apple-darwin
19
- os : macos-latest
19
+ os : macos-15
20
20
- target : aarch64-unknown-linux-gnu
21
- os : ubuntu-latest
21
+ os : ubuntu-24.04
22
22
- target : aarch64-pc-windows-msvc
23
- os : windows-latest
23
+ os : windows-2025
24
24
build_only : 1 # Can't run on x86 hosts
25
25
- target : arm-unknown-linux-gnueabi
26
- os : ubuntu-latest
26
+ os : ubuntu-24.04
27
27
- target : arm-unknown-linux-gnueabihf
28
- os : ubuntu-latest
28
+ os : ubuntu-24.04
29
29
- target : armv7-unknown-linux-gnueabihf
30
- os : ubuntu-latest
30
+ os : ubuntu-24.04
31
31
- target : i586-unknown-linux-gnu
32
- os : ubuntu-latest
32
+ os : ubuntu-24.04
33
33
- target : i686-unknown-linux-gnu
34
- os : ubuntu-latest
34
+ os : ubuntu-24.04
35
35
- target : loongarch64-unknown-linux-gnu
36
- os : ubuntu-latest
36
+ os : ubuntu-24.04
37
37
- target : powerpc-unknown-linux-gnu
38
- os : ubuntu-latest
38
+ os : ubuntu-24.04
39
39
- target : powerpc64-unknown-linux-gnu
40
- os : ubuntu-latest
40
+ os : ubuntu-24.04
41
41
- target : powerpc64le-unknown-linux-gnu
42
- os : ubuntu-latest
42
+ os : ubuntu-24.04
43
43
- target : riscv64gc-unknown-linux-gnu
44
- os : ubuntu-latest
44
+ os : ubuntu-24.04
45
45
- target : thumbv6m-none-eabi
46
- os : ubuntu-latest
46
+ os : ubuntu-24.04
47
47
- target : thumbv7em-none-eabi
48
- os : ubuntu-latest
48
+ os : ubuntu-24.04
49
49
- target : thumbv7em-none-eabihf
50
- os : ubuntu-latest
50
+ os : ubuntu-24.04
51
51
- target : thumbv7m-none-eabi
52
- os : ubuntu-latest
52
+ os : ubuntu-24.04
53
53
- target : x86_64-unknown-linux-gnu
54
- os : ubuntu-latest
54
+ os : ubuntu-24.04
55
55
- target : x86_64-apple-darwin
56
56
os : macos-13
57
57
- target : wasm32-unknown-unknown
58
- os : ubuntu-latest
58
+ os : ubuntu-24.04
59
59
build_only : 1
60
60
- target : i686-pc-windows-msvc
61
- os : windows-latest
61
+ os : windows-2025
62
62
- target : x86_64-pc-windows-msvc
63
- os : windows-latest
63
+ os : windows-2025
64
64
- target : i686-pc-windows-gnu
65
- os : windows-latest
65
+ os : windows-2025
66
66
channel : nightly-i686-gnu
67
67
- target : x86_64-pc-windows-gnu
68
- os : windows-latest
68
+ os : windows-2025
69
69
channel : nightly-x86_64-gnu
70
70
runs-on : ${{ matrix.os }}
71
71
env :
@@ -94,20 +94,20 @@ jobs:
94
94
95
95
# Non-linux tests just use our raw script
96
96
- name : Run locally
97
- if : matrix.os != 'ubuntu-latest ' || contains(matrix.target, 'wasm')
97
+ if : matrix.os != 'ubuntu-24.04 ' || contains(matrix.target, 'wasm')
98
98
shell : bash
99
99
run : ./ci/run.sh ${{ matrix.target }}
100
100
101
101
# Otherwise we use our docker containers to run builds
102
102
- name : Run in Docker
103
- if : matrix.os == 'ubuntu-latest ' && !contains(matrix.target, 'wasm')
103
+ if : matrix.os == 'ubuntu-24.04 ' && !contains(matrix.target, 'wasm')
104
104
run : |
105
105
rustup target add x86_64-unknown-linux-musl
106
106
cargo generate-lockfile && ./ci/run-docker.sh ${{ matrix.target }}
107
107
108
108
clippy :
109
109
name : Clippy
110
- runs-on : ubuntu-latest
110
+ runs-on : ubuntu-24.04
111
111
steps :
112
112
- uses : actions/checkout@master
113
113
- name : Install Rust
@@ -125,7 +125,7 @@ jobs:
125
125
126
126
builtins :
127
127
name : Check use with compiler-builtins
128
- runs-on : ubuntu-latest
128
+ runs-on : ubuntu-24.04
129
129
steps :
130
130
- uses : actions/checkout@master
131
131
- name : Install Rust
@@ -135,7 +135,7 @@ jobs:
135
135
136
136
benchmarks :
137
137
name : Benchmarks
138
- runs-on : ubuntu-latest
138
+ runs-on : ubuntu-24.04
139
139
steps :
140
140
- uses : actions/checkout@master
141
141
- name : Install Rust
@@ -147,7 +147,7 @@ jobs:
147
147
148
148
msrv :
149
149
name : Check MSRV
150
- runs-on : ubuntu-latest
150
+ runs-on : ubuntu-24.04
151
151
env :
152
152
RUSTFLAGS : # No need to check warnings on old MSRV, unset `-Dwarnings`
153
153
steps :
@@ -163,7 +163,7 @@ jobs:
163
163
164
164
rustfmt :
165
165
name : Rustfmt
166
- runs-on : ubuntu-latest
166
+ runs-on : ubuntu-24.04
167
167
steps :
168
168
- uses : actions/checkout@master
169
169
- name : Install Rust
@@ -180,7 +180,7 @@ jobs:
180
180
- benchmarks
181
181
- msrv
182
182
- rustfmt
183
- runs-on : ubuntu-latest
183
+ runs-on : ubuntu-24.04
184
184
# GitHub branch protection is exceedingly silly and treats "jobs skipped because a dependency
185
185
# failed" as success. So we have to do some contortions to ensure the job fails if any of its
186
186
# dependencies fails.
0 commit comments