Skip to content

Commit 24c238e

Browse files
committed
CI runners: update Ubuntu 20.04 -> 22.04
1 parent e86388f commit 24c238e

File tree

3 files changed

+33
-33
lines changed

3 files changed

+33
-33
lines changed

.github/workflows/full-ci.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ defaults:
3737
jobs:
3838
# Keep all in sync with minimal-ci and release-version.
3939
rustfmt:
40-
runs-on: ubuntu-20.04
40+
runs-on: ubuntu-22.04
4141
steps:
4242
- uses: actions/checkout@v4
4343

@@ -64,7 +64,7 @@ jobs:
6464
6565
# Needs to be its own job (apart from sync-doc), because lints don't work with --no-deps, and because it contributes to ci-status.
6666
doc-lints:
67-
runs-on: ubuntu-20.04
67+
runs-on: ubuntu-22.04
6868
steps:
6969
- uses: actions/checkout@v4
7070

@@ -84,7 +84,7 @@ jobs:
8484

8585

8686
clippy:
87-
runs-on: ubuntu-20.04
87+
runs-on: ubuntu-22.04
8888
steps:
8989
- uses: actions/checkout@v4
9090

@@ -129,16 +129,16 @@ jobs:
129129
# Don't use latest Ubuntu (22.04) as it breaks lots of ecosystem compatibility.
130130
# If ever moving to ubuntu-latest, need to manually install libtinfo5 for LLVM.
131131
- name: linux
132-
os: ubuntu-20.04
132+
os: ubuntu-22.04
133133

134134
- name: linux
135-
os: ubuntu-20.04
135+
os: ubuntu-22.04
136136
rust-toolchain: nightly
137137
rust-special: -minimal-deps
138138
rust-cache-key: minimal-deps
139139

140140
- name: linux
141-
os: ubuntu-20.04
141+
os: ubuntu-22.04
142142
rust-toolchain: "1.80"
143143
rust-special: -msrv
144144

@@ -169,7 +169,7 @@ jobs:
169169

170170
miri-test:
171171
name: miri-test
172-
runs-on: ubuntu-20.04
172+
runs-on: ubuntu-22.04
173173
steps:
174174
- uses: actions/checkout@v4
175175

@@ -193,7 +193,7 @@ jobs:
193193

194194
proptest:
195195
name: proptest
196-
runs-on: ubuntu-20.04
196+
runs-on: ubuntu-22.04
197197
steps:
198198
- uses: actions/checkout@v4
199199

@@ -307,27 +307,27 @@ jobs:
307307
# Uses full+experimental codegen, so that compatibility breakage towards nightly is detected.
308308
# If the experimental part causes problems, consider using only godot/__codegen-full.
309309
- name: linux-full
310-
os: ubuntu-20.04
310+
os: ubuntu-22.04
311311
artifact-name: linux-nightly
312312
godot-binary: godot.linuxbsd.editor.dev.x86_64
313313
rust-extra-args: --features itest/codegen-full
314314
with-hot-reload: true
315315

316316
# Combines now a lot of features, but should be OK. lazy-function-tables doesn't work with experimental-threads.
317317
- name: linux-double-lazy
318-
os: ubuntu-20.04
318+
os: ubuntu-22.04
319319
artifact-name: linux-double-nightly
320320
godot-binary: godot.linuxbsd.editor.dev.double.x86_64
321321
rust-extra-args: --features godot/api-custom,godot/double-precision,itest/codegen-full,godot/lazy-function-tables
322322

323323
- name: linux-features-experimental
324-
os: ubuntu-20.04
324+
os: ubuntu-22.04
325325
artifact-name: linux-nightly
326326
godot-binary: godot.linuxbsd.editor.dev.x86_64
327327
rust-extra-args: --features itest/experimental-threads,itest/codegen-full-experimental,godot/api-custom,godot/serde,itest/register-docs
328328

329329
- name: linux-release
330-
os: ubuntu-20.04
330+
os: ubuntu-22.04
331331
artifact-name: linux-release-nightly
332332
godot-binary: godot.linuxbsd.template_release.x86_64
333333
rust-extra-args: --release
@@ -336,13 +336,13 @@ jobs:
336336
# Linux compat (4.1 disabled, already covered by memcheck)
337337

338338
- name: linux-4.3
339-
os: ubuntu-20.04
339+
os: ubuntu-22.04
340340
artifact-name: linux-4.3
341341
godot-binary: godot.linuxbsd.editor.dev.x86_64
342342
#godot-prebuilt-patch: '4.3.x'
343343

344344
- name: linux-4.2
345-
os: ubuntu-20.04
345+
os: ubuntu-22.04
346346
artifact-name: linux-4.2
347347
godot-binary: godot.linuxbsd.editor.dev.x86_64
348348
godot-prebuilt-patch: '4.2.2'
@@ -355,7 +355,7 @@ jobs:
355355
#
356356
# There is also a gcc variant besides clang, which is currently not used.
357357
- name: linux-memcheck-nightly
358-
os: ubuntu-20.04
358+
os: ubuntu-22.04
359359
artifact-name: linux-memcheck-nightly
360360
godot-binary: godot.linuxbsd.editor.dev.x86_64.llvm.san
361361
rust-toolchain: nightly
@@ -365,7 +365,7 @@ jobs:
365365
rust-target: x86_64-unknown-linux-gnu
366366

367367
- name: linux-memcheck-4.1
368-
os: ubuntu-20.04
368+
os: ubuntu-22.04
369369
artifact-name: linux-memcheck-4.1
370370
godot-binary: godot.linuxbsd.editor.dev.x86_64.llvm.san
371371
godot-prebuilt-patch: '4.1' # check compat of API 4.1.0 with newer binaries.
@@ -401,7 +401,7 @@ jobs:
401401

402402

403403
run-examples:
404-
runs-on: ubuntu-20.04
404+
runs-on: ubuntu-22.04
405405
steps:
406406
- uses: actions/checkout@v4
407407

@@ -423,7 +423,7 @@ jobs:
423423

424424

425425
cargo-deny-machete:
426-
runs-on: ubuntu-20.04
426+
runs-on: ubuntu-22.04
427427
steps:
428428
- uses: actions/checkout@v4
429429

@@ -449,7 +449,7 @@ jobs:
449449

450450

451451
license-guard:
452-
runs-on: ubuntu-20.04
452+
runs-on: ubuntu-22.04
453453
steps:
454454
- uses: actions/checkout@v4
455455

@@ -483,7 +483,7 @@ jobs:
483483
- cargo-deny-machete
484484
- license-guard
485485

486-
runs-on: ubuntu-20.04
486+
runs-on: ubuntu-22.04
487487
steps:
488488
# Deliberate choice to use bash script and not GitHub Action glob syntax, as that is not well-documented and hard to get right.
489489
# For example: contains(needs.*.result, 'success') does NOT work because * is a logical OR, thus true if a single job succeeds.

.github/workflows/minimal-ci.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ concurrency:
3939
jobs:
4040

4141
rustfmt:
42-
runs-on: ubuntu-20.04
42+
runs-on: ubuntu-22.04
4343
steps:
4444
- uses: actions/checkout@v4
4545

@@ -65,7 +65,7 @@ jobs:
6565
6666
# Needs to be its own job (apart from sync-doc), because lints don't work with --no-deps, and because it contributes to ci-status.
6767
doc-lints:
68-
runs-on: ubuntu-20.04
68+
runs-on: ubuntu-22.04
6969
steps:
7070
- uses: actions/checkout@v4
7171

@@ -82,7 +82,7 @@ jobs:
8282

8383

8484
clippy:
85-
runs-on: ubuntu-20.04
85+
runs-on: ubuntu-22.04
8686
steps:
8787
- uses: actions/checkout@v4
8888

@@ -109,7 +109,7 @@ jobs:
109109
110110
unit-test:
111111
name: unit-test
112-
runs-on: ubuntu-20.04
112+
runs-on: ubuntu-22.04
113113
steps:
114114
- uses: actions/checkout@v4
115115

@@ -154,36 +154,36 @@ jobs:
154154
# Linux
155155

156156
- name: linux-full
157-
os: ubuntu-20.04
157+
os: ubuntu-22.04
158158
artifact-name: linux-nightly
159159
godot-binary: godot.linuxbsd.editor.dev.x86_64
160160
rust-extra-args: --features itest/codegen-full
161161
with-hot-reload: true
162162

163163
- name: linux-features-experimental
164-
os: ubuntu-20.04
164+
os: ubuntu-22.04
165165
artifact-name: linux-nightly
166166
godot-binary: godot.linuxbsd.editor.dev.x86_64
167167
rust-extra-args: --features itest/experimental-threads,itest/codegen-full-experimental,godot/api-custom,godot/serde,itest/register-docs
168168

169169
# Linux compat
170170

171171
- name: linux-4.1
172-
os: ubuntu-20.04
172+
os: ubuntu-22.04
173173
artifact-name: linux-4.1
174174
godot-binary: godot.linuxbsd.editor.dev.x86_64
175175
godot-prebuilt-patch: '4.1.4'
176176

177177
- name: linux-4.2
178-
os: ubuntu-20.04
178+
os: ubuntu-22.04
179179
artifact-name: linux-4.2
180180
godot-binary: godot.linuxbsd.editor.dev.x86_64
181181
godot-prebuilt-patch: '4.2.2'
182182

183183
# Memory checkers
184184

185185
- name: linux-memcheck
186-
os: ubuntu-20.04
186+
os: ubuntu-22.04
187187
artifact-name: linux-memcheck-nightly
188188
godot-binary: godot.linuxbsd.editor.dev.x86_64.llvm.san
189189
rust-toolchain: nightly
@@ -216,7 +216,7 @@ jobs:
216216
shell: bash
217217

218218
run-examples:
219-
runs-on: ubuntu-20.04
219+
runs-on: ubuntu-22.04
220220
steps:
221221
- uses: actions/checkout@v4
222222

@@ -238,7 +238,7 @@ jobs:
238238

239239

240240
license-guard:
241-
runs-on: ubuntu-20.04
241+
runs-on: ubuntu-22.04
242242
steps:
243243
- uses: actions/checkout@v4
244244

@@ -269,7 +269,7 @@ jobs:
269269
- run-examples
270270
- license-guard
271271

272-
runs-on: ubuntu-20.04
272+
runs-on: ubuntu-22.04
273273
steps:
274274
- name: "Determine success or failure"
275275
run: |

.github/workflows/update-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ env:
2323

2424
jobs:
2525
notify-docs:
26-
runs-on: ubuntu-20.04
26+
runs-on: ubuntu-22.04
2727
steps:
2828
# Checkout is always needed, for the notify step
2929
- name: "Checkout"

0 commit comments

Comments
 (0)