Skip to content

Commit cd46020

Browse files
committed
ci: ubuntu jammy
cf. #297
1 parent 8959d20 commit cd46020

File tree

1 file changed

+42
-42
lines changed

1 file changed

+42
-42
lines changed

.github/workflows/ci.yml

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
fail-fast: false
5555
matrix:
5656
name: [noname]
57-
os: [ubuntu-20.04, macos-13]
57+
os: [ubuntu-22.04, macos-13]
5858
compiler: [clang, gcc]
5959
arch: [native]
6060
BUILD_TYPE: [Release, Debug]
@@ -100,14 +100,14 @@ jobs:
100100
TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: ON
101101
- MISC_FEATURES: OFF
102102
TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES: ON
103-
- os: ubuntu-20.04
103+
- os: ubuntu-22.04
104104
compiler: clang
105105
- BUILD_TYPE: Release
106106
# how include works is not intuitive to me:
107107
# https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations
108108
include:
109109
- name: noname
110-
os: ubuntu-20.04
110+
os: ubuntu-22.04
111111
compiler: gcc
112112
arch: native
113113
BUILD_TYPE: Release
@@ -121,8 +121,8 @@ jobs:
121121
TOYWASM_ENABLE_WASI_THREADS: OFF
122122
TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: OFF
123123
TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES: OFF
124-
- name: ubuntu-20.04-amd64
125-
os: ubuntu-20.04
124+
- name: ubuntu-22.04-amd64
125+
os: ubuntu-22.04
126126
compiler: clang
127127
arch: native
128128
BUILD_TYPE: Release
@@ -136,8 +136,8 @@ jobs:
136136
TOYWASM_ENABLE_WASI_THREADS: OFF
137137
TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: OFF
138138
TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES: OFF
139-
- name: full-ubuntu-20.04-amd64
140-
os: ubuntu-20.04
139+
- name: full-ubuntu-22.04-amd64
140+
os: ubuntu-22.04
141141
compiler: clang
142142
arch: native
143143
BUILD_TYPE: Release
@@ -184,8 +184,8 @@ jobs:
184184
TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: ON
185185
TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES: ON
186186

187-
- name: ubuntu-20.04-i386
188-
os: ubuntu-20.04
187+
- name: ubuntu-22.04-i386
188+
os: ubuntu-22.04
189189
compiler: clang
190190
arch: i386
191191
BUILD_TYPE: Release
@@ -199,8 +199,8 @@ jobs:
199199
TOYWASM_ENABLE_WASI_THREADS: OFF
200200
TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: OFF
201201
TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES: OFF
202-
- name: ubuntu-20.04-arm64
203-
os: ubuntu-20.04
202+
- name: ubuntu-22.04-arm64
203+
os: ubuntu-22.04
204204
compiler: clang
205205
arch: arm64
206206
BUILD_TYPE: Release
@@ -214,8 +214,8 @@ jobs:
214214
TOYWASM_ENABLE_WASI_THREADS: OFF
215215
TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: OFF
216216
TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES: OFF
217-
#- name: ubuntu-20.04-armhf
218-
# os: ubuntu-20.04
217+
#- name: ubuntu-22.04-armhf
218+
# os: ubuntu-22.04
219219
# compiler: clang
220220
# arch: armhf
221221
# BUILD_TYPE: Release
@@ -229,8 +229,8 @@ jobs:
229229
# TOYWASM_ENABLE_WASI_THREADS: OFF
230230
# TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: OFF
231231
# TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES: OFF
232-
#- name: ubuntu-20.04-s390x
233-
# os: ubuntu-20.04
232+
#- name: ubuntu-22.04-s390x
233+
# os: ubuntu-22.04
234234
# compiler: clang
235235
# arch: s390x
236236
# BUILD_TYPE: Release
@@ -244,8 +244,8 @@ jobs:
244244
# TOYWASM_ENABLE_WASI_THREADS: OFF
245245
# TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: OFF
246246
# TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES: OFF
247-
- name: ubuntu-20.04-riscv64
248-
os: ubuntu-20.04
247+
- name: ubuntu-22.04-riscv64
248+
os: ubuntu-22.04
249249
compiler: clang
250250
arch: riscv64
251251
BUILD_TYPE: Release
@@ -260,8 +260,8 @@ jobs:
260260
TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: OFF
261261
TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES: OFF
262262

263-
- name: full-ubuntu-20.04-i386
264-
os: ubuntu-20.04
263+
- name: full-ubuntu-22.04-i386
264+
os: ubuntu-22.04
265265
compiler: clang
266266
arch: i386
267267
BUILD_TYPE: Release
@@ -276,8 +276,8 @@ jobs:
276276
TOYWASM_ENABLE_WASI_LITTLEFS: ON
277277
TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: ON
278278
TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES: ON
279-
- name: full-ubuntu-20.04-arm64
280-
os: ubuntu-20.04
279+
- name: full-ubuntu-22.04-arm64
280+
os: ubuntu-22.04
281281
compiler: clang
282282
arch: arm64
283283
BUILD_TYPE: Release
@@ -291,8 +291,8 @@ jobs:
291291
TOYWASM_ENABLE_WASI_THREADS: ON
292292
TOYWASM_ENABLE_WASI_LITTLEFS: ON
293293
TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: ON
294-
#- name: full-ubuntu-20.04-armhf
295-
# os: ubuntu-20.04
294+
#- name: full-ubuntu-22.04-armhf
295+
# os: ubuntu-22.04
296296
# compiler: clang
297297
# arch: armhf
298298
# BUILD_TYPE: Release
@@ -306,8 +306,8 @@ jobs:
306306
# TOYWASM_ENABLE_WASI_THREADS: ON
307307
# TOYWASM_ENABLE_WASI_LITTLEFS: ON
308308
# TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: ON
309-
#- name: full-ubuntu-20.04-s390x
310-
# os: ubuntu-20.04
309+
#- name: full-ubuntu-22.04-s390x
310+
# os: ubuntu-22.04
311311
# compiler: clang
312312
# arch: s390x
313313
# BUILD_TYPE: Release
@@ -322,8 +322,8 @@ jobs:
322322
# TOYWASM_ENABLE_WASI_LITTLEFS: ON
323323
# TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: ON
324324
# TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES: ON
325-
- name: full-ubuntu-20.04-riscv64
326-
os: ubuntu-20.04
325+
- name: full-ubuntu-22.04-riscv64
326+
os: ubuntu-22.04
327327
compiler: clang
328328
arch: riscv64
329329
BUILD_TYPE: Release
@@ -417,7 +417,7 @@ jobs:
417417
- name: Fix sources.list (cross)
418418
if: matrix.arch != 'native'
419419
run: |
420-
curl -L -O https://raw.githubusercontent.com/yamt/garbage/master/myubuntu/apt/sources.list
420+
curl -L -O https://raw.githubusercontent.com/yamt/garbage/master/myubuntu-jammy/apt/sources.list
421421
sudo cp sources.list /etc/apt/
422422
423423
- name: cmake configure (cross)
@@ -556,7 +556,7 @@ jobs:
556556
fail-fast: false
557557
matrix:
558558
name: [wasm32-wasi, full-wasm32-wasi]
559-
os: [ubuntu-20.04, macos-13]
559+
os: [ubuntu-22.04, macos-13]
560560
compiler: [clang]
561561
include:
562562
- name: full-wasm32-wasi
@@ -651,7 +651,7 @@ jobs:
651651
release:
652652
if: github.event_name != 'pull_request'
653653
needs: [build, wasm-on-wasm]
654-
runs-on: ubuntu-20.04
654+
runs-on: ubuntu-22.04
655655
steps:
656656
- uses: actions/download-artifact@v4
657657
with:
@@ -665,62 +665,62 @@ jobs:
665665

666666
- uses: actions/download-artifact@v4
667667
with:
668-
name: ubuntu-20.04-amd64
668+
name: ubuntu-22.04-amd64
669669
path: release_assets
670670

671671
- uses: actions/download-artifact@v4
672672
with:
673-
name: full-ubuntu-20.04-amd64
673+
name: full-ubuntu-22.04-amd64
674674
path: release_assets
675675

676676
- uses: actions/download-artifact@v4
677677
with:
678-
name: ubuntu-20.04-i386
678+
name: ubuntu-22.04-i386
679679
path: release_assets
680680

681681
- uses: actions/download-artifact@v4
682682
with:
683-
name: ubuntu-20.04-arm64
683+
name: ubuntu-22.04-arm64
684684
path: release_assets
685685

686686
#- uses: actions/download-artifact@v4
687687
# with:
688-
# name: ubuntu-20.04-armhf
688+
# name: ubuntu-22.04-armhf
689689
# path: release_assets
690690

691691
#- uses: actions/download-artifact@v4
692692
# with:
693-
# name: ubuntu-20.04-s390x
693+
# name: ubuntu-22.04-s390x
694694
# path: release_assets
695695

696696
- uses: actions/download-artifact@v4
697697
with:
698-
name: ubuntu-20.04-riscv64
698+
name: ubuntu-22.04-riscv64
699699
path: release_assets
700700

701701
- uses: actions/download-artifact@v4
702702
with:
703-
name: full-ubuntu-20.04-i386
703+
name: full-ubuntu-22.04-i386
704704
path: release_assets
705705

706706
- uses: actions/download-artifact@v4
707707
with:
708-
name: full-ubuntu-20.04-arm64
708+
name: full-ubuntu-22.04-arm64
709709
path: release_assets
710710

711711
#- uses: actions/download-artifact@v4
712712
# with:
713-
# name: full-ubuntu-20.04-armhf
713+
# name: full-ubuntu-22.04-armhf
714714
# path: release_assets
715715

716716
#- uses: actions/download-artifact@v4
717717
# with:
718-
# name: full-ubuntu-20.04-s390x
718+
# name: full-ubuntu-22.04-s390x
719719
# path: release_assets
720720

721721
- uses: actions/download-artifact@v4
722722
with:
723-
name: full-ubuntu-20.04-riscv64
723+
name: full-ubuntu-22.04-riscv64
724724
path: release_assets
725725

726726
- uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)