Skip to content

Commit df79636

Browse files
committed
Pin CI to Ubuntu 20.04 until #483 is sorted out.
1 parent d1c7cbf commit df79636

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

.github/workflows/main.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -211,20 +211,20 @@ jobs:
211211
build: [ubuntu, ubuntu-18.04, i686-linux, aarch64-linux, powerpc64le-linux, riscv64-linux, s390x-linux, arm-linux, ubuntu-stable, ubuntu-1.48, i686-linux-stable, aarch64-linux-stable, riscv64-linux-stable, s390x-linux-stable, mipsel-linux-stable, mips64el-linux-stable, powerpc64le-linux-stable, arm-linux-stable, ubuntu-1.48, i686-linux-1.48, aarch64-linux-1.48, riscv64-linux-1.48, s390x-linux-1.48, mipsel-linux-1.48, mips64el-linux-1.48, powerpc64le-linux-1.48, arm-linux-1.48, macos-latest, macos-10.15, windows, windows-2019]
212212
include:
213213
- build: ubuntu
214-
os: ubuntu-latest
214+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
215215
rust: nightly
216216
- build: ubuntu-18.04
217217
os: ubuntu-18.04
218218
rust: nightly
219219
- build: i686-linux
220-
os: ubuntu-latest
220+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
221221
rust: nightly
222222
target: i686-unknown-linux-gnu
223223
gcc_package: gcc-i686-linux-gnu
224224
gcc: i686-linux-gnu-gcc
225225
libc_package: libc-dev-i386-cross
226226
- build: aarch64-linux
227-
os: ubuntu-latest
227+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
228228
rust: nightly
229229
target: aarch64-unknown-linux-gnu
230230
gcc_package: gcc-aarch64-linux-gnu
@@ -233,7 +233,7 @@ jobs:
233233
qemu_args: -L /usr/aarch64-linux-gnu
234234
qemu_target: aarch64-linux-user
235235
- build: powerpc64le-linux
236-
os: ubuntu-latest
236+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
237237
rust: nightly
238238
target: powerpc64le-unknown-linux-gnu
239239
gcc_package: gcc-powerpc64le-linux-gnu
@@ -242,7 +242,7 @@ jobs:
242242
qemu_args: -L /usr/powerpc64le-linux-gnu
243243
qemu_target: ppc64le-linux-user
244244
- build: mips64el-linux
245-
os: ubuntu-latest
245+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
246246
rust: nightly
247247
target: mips64el-unknown-linux-gnuabi64
248248
gcc_package: gcc-mips64el-linux-gnuabi64
@@ -251,7 +251,7 @@ jobs:
251251
qemu_args: -L /usr/mips64el-linux-gnuabi64
252252
qemu_target: mips64el-linux-user
253253
- build: mipsel-linux
254-
os: ubuntu-latest
254+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
255255
rust: nightly
256256
target: mipsel-unknown-linux-gnu
257257
gcc_package: gcc-mipsel-linux-gnu
@@ -260,7 +260,7 @@ jobs:
260260
qemu_args: -L /usr/mipsel-linux-gnu
261261
qemu_target: mipsel-linux-user
262262
- build: riscv64-linux
263-
os: ubuntu-latest
263+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
264264
rust: nightly
265265
target: riscv64gc-unknown-linux-gnu
266266
gcc_package: gcc-riscv64-linux-gnu
@@ -269,7 +269,7 @@ jobs:
269269
qemu_args: -L /usr/riscv64-linux-gnu
270270
qemu_target: riscv64-linux-user
271271
- build: s390x-linux
272-
os: ubuntu-latest
272+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
273273
rust: nightly
274274
target: s390x-unknown-linux-gnu
275275
gcc_package: gcc-s390x-linux-gnu
@@ -278,7 +278,7 @@ jobs:
278278
qemu_args: -L /usr/s390x-linux-gnu
279279
qemu_target: s390x-linux-user
280280
- build: arm-linux
281-
os: ubuntu-latest
281+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
282282
rust: nightly
283283
target: armv5te-unknown-linux-gnueabi
284284
gcc_package: gcc-arm-linux-gnueabi
@@ -287,17 +287,17 @@ jobs:
287287
qemu_args: -L /usr/arm-linux-gnueabi
288288
qemu_target: arm-linux-user
289289
- build: ubuntu-stable
290-
os: ubuntu-latest
290+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
291291
rust: stable
292292
- build: i686-linux-stable
293-
os: ubuntu-latest
293+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
294294
rust: stable
295295
target: i686-unknown-linux-gnu
296296
gcc_package: gcc-i686-linux-gnu
297297
gcc: i686-linux-gnu-gcc
298298
libc_package: libc-dev-i386-cross
299299
- build: aarch64-linux-stable
300-
os: ubuntu-latest
300+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
301301
rust: stable
302302
target: aarch64-unknown-linux-gnu
303303
gcc_package: gcc-aarch64-linux-gnu
@@ -306,7 +306,7 @@ jobs:
306306
qemu_args: -L /usr/aarch64-linux-gnu
307307
qemu_target: aarch64-linux-user
308308
- build: riscv64-linux-stable
309-
os: ubuntu-latest
309+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
310310
rust: stable
311311
target: riscv64gc-unknown-linux-gnu
312312
gcc_package: gcc-riscv64-linux-gnu
@@ -315,7 +315,7 @@ jobs:
315315
qemu_args: -L /usr/riscv64-linux-gnu
316316
qemu_target: riscv64-linux-user
317317
- build: s390x-linux-stable
318-
os: ubuntu-latest
318+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
319319
rust: stable
320320
target: s390x-unknown-linux-gnu
321321
gcc_package: gcc-s390x-linux-gnu
@@ -324,7 +324,7 @@ jobs:
324324
qemu_args: -L /usr/s390x-linux-gnu
325325
qemu_target: s390x-linux-user
326326
- build: powerpc64le-linux-stable
327-
os: ubuntu-latest
327+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
328328
rust: stable
329329
target: powerpc64le-unknown-linux-gnu
330330
gcc_package: gcc-powerpc64le-linux-gnu
@@ -333,7 +333,7 @@ jobs:
333333
qemu_args: -L /usr/powerpc64le-linux-gnu
334334
qemu_target: ppc64le-linux-user
335335
- build: mips64el-linux-stable
336-
os: ubuntu-latest
336+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
337337
rust: stable
338338
target: mips64el-unknown-linux-gnuabi64
339339
gcc_package: gcc-mips64el-linux-gnuabi64
@@ -342,7 +342,7 @@ jobs:
342342
qemu_args: -L /usr/mips64el-linux-gnuabi64
343343
qemu_target: mips64el-linux-user
344344
- build: mipsel-linux-stable
345-
os: ubuntu-latest
345+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
346346
rust: stable
347347
target: mipsel-unknown-linux-gnu
348348
gcc_package: gcc-mipsel-linux-gnu
@@ -351,7 +351,7 @@ jobs:
351351
qemu_args: -L /usr/mipsel-linux-gnu
352352
qemu_target: mipsel-linux-user
353353
- build: arm-linux-stable
354-
os: ubuntu-latest
354+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
355355
rust: stable
356356
target: armv5te-unknown-linux-gnueabi
357357
gcc_package: gcc-arm-linux-gnueabi
@@ -360,17 +360,17 @@ jobs:
360360
qemu_args: -L /usr/arm-linux-gnueabi
361361
qemu_target: arm-linux-user
362362
- build: ubuntu-1.48
363-
os: ubuntu-latest
363+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
364364
rust: 1.48
365365
- build: i686-linux-1.48
366-
os: ubuntu-latest
366+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
367367
rust: 1.48
368368
target: i686-unknown-linux-gnu
369369
gcc_package: gcc-i686-linux-gnu
370370
gcc: i686-linux-gnu-gcc
371371
libc_package: libc-dev-i386-cross
372372
- build: aarch64-linux-1.48
373-
os: ubuntu-latest
373+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
374374
rust: 1.48
375375
target: aarch64-unknown-linux-gnu
376376
gcc_package: gcc-aarch64-linux-gnu
@@ -379,7 +379,7 @@ jobs:
379379
qemu_args: -L /usr/aarch64-linux-gnu
380380
qemu_target: aarch64-linux-user
381381
- build: riscv64-linux-1.48
382-
os: ubuntu-latest
382+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
383383
rust: 1.48
384384
target: riscv64gc-unknown-linux-gnu
385385
gcc_package: gcc-riscv64-linux-gnu
@@ -388,7 +388,7 @@ jobs:
388388
qemu_args: -L /usr/riscv64-linux-gnu
389389
qemu_target: riscv64-linux-user
390390
- build: s390x-linux-1.48
391-
os: ubuntu-latest
391+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
392392
rust: 1.48
393393
target: s390x-unknown-linux-gnu
394394
gcc_package: gcc-s390x-linux-gnu
@@ -397,7 +397,7 @@ jobs:
397397
qemu_args: -L /usr/s390x-linux-gnu
398398
qemu_target: s390x-linux-user
399399
- build: powerpc64le-linux-1.48
400-
os: ubuntu-latest
400+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
401401
rust: 1.48
402402
target: powerpc64le-unknown-linux-gnu
403403
gcc_package: gcc-powerpc64le-linux-gnu
@@ -406,7 +406,7 @@ jobs:
406406
qemu_args: -L /usr/powerpc64le-linux-gnu
407407
qemu_target: ppc64le-linux-user
408408
- build: mips64el-linux-1.48
409-
os: ubuntu-latest
409+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
410410
rust: 1.48
411411
target: mips64el-unknown-linux-gnuabi64
412412
gcc_package: gcc-mips64el-linux-gnuabi64
@@ -415,7 +415,7 @@ jobs:
415415
qemu_args: -L /usr/mips64el-linux-gnuabi64
416416
qemu_target: mips64el-linux-user
417417
- build: mipsel-linux-1.48
418-
os: ubuntu-latest
418+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
419419
rust: 1.48
420420
target: mipsel-unknown-linux-gnu
421421
gcc_package: gcc-mipsel-linux-gnu
@@ -424,7 +424,7 @@ jobs:
424424
qemu_args: -L /usr/mipsel-linux-gnu
425425
qemu_target: mipsel-linux-user
426426
- build: arm-linux-1.48
427-
os: ubuntu-latest
427+
os: ubuntu-20.04 # TODO: remove pin when fixed (#483)
428428
rust: 1.48
429429
target: armv5te-unknown-linux-gnueabi
430430
gcc_package: gcc-arm-linux-gnueabi
@@ -462,7 +462,7 @@ jobs:
462462
with:
463463
path: ${{ runner.tool_cache }}/qemu
464464
key: qemu-${{ matrix.target }}-${{ env.QEMU_BUILD_VERSION }}-patched
465-
if: matrix.target != '' && matrix.os == 'ubuntu-latest'
465+
if: matrix.target != '' && matrix.os == 'ubuntu-20.04' # TODO: remove pin when fixed (#483)
466466

467467
- name: Install cross-compilation tools
468468
run: |
@@ -471,14 +471,14 @@ jobs:
471471
sudo apt-get install -y ${{ matrix.gcc_package }} ninja-build
472472
upcase=$(echo ${{ matrix.target }} | awk '{ print toupper($0) }' | sed 's/-/_/g')
473473
echo CARGO_TARGET_${upcase}_LINKER=${{ matrix.gcc }} >> $GITHUB_ENV
474-
if: matrix.gcc_package != '' && matrix.os == 'ubuntu-latest'
474+
if: matrix.gcc_package != '' && matrix.os == 'ubuntu-20.04' # TODO: remove pin when fixed (#483)
475475

476476
- name: Install cross-compilation libraries
477477
run: |
478478
set -ex
479479
sudo apt-get update
480480
sudo apt-get install -y ${{ matrix.libc_package }}
481-
if: matrix.libc_package != '' && matrix.os == 'ubuntu-latest'
481+
if: matrix.libc_package != '' && matrix.os == 'ubuntu-20.04' # TODO: remove pin when fixed (#483)
482482

483483
- name: Install qemu
484484
run: |
@@ -504,7 +504,7 @@ jobs:
504504
patch -p1 < $GITHUB_WORKSPACE/ci/s390x-stat-have-nsec.patch
505505
./configure --target-list=${{ matrix.qemu_target }} --prefix=${{ runner.tool_cache }}/qemu --disable-tools --disable-slirp --disable-fdt --disable-capstone --disable-docs
506506
ninja -C build install
507-
if: matrix.qemu != '' && matrix.os == 'ubuntu-latest'
507+
if: matrix.qemu != '' && matrix.os == 'ubuntu-20.04' # TODO: remove pin when fixed (#483)
508508

509509
- name: Use specific dependency versions for Rust 1.48 compatibility.
510510
if: matrix.rust == '1.48'

0 commit comments

Comments
 (0)