ci: update release build OS to ubuntu 20.04 (#780)

Due to the deprecation of Ubuntu 18.04 as a runner target this PR updates the OS to 20.04 (see https://github.com/actions/runner-images/issues/6002), the next supported version of Ubuntu.
This commit is contained in:
Clement Tsang 2022-08-13 12:14:51 -04:00 committed by GitHub
parent fcb8cac0d5
commit 2e0771d483
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,39 +27,39 @@ jobs:
# ======= Supported targets ======= # ======= Supported targets =======
# Linux (x64, x86, aarch64) # Linux (x64, x86, aarch64)
- { - {
os: "ubuntu-18.04", os: "ubuntu-20.04",
target: "x86_64-unknown-linux-gnu", target: "x86_64-unknown-linux-gnu",
cross: false, cross: false,
} }
- { - {
os: "ubuntu-18.04", os: "ubuntu-20.04",
target: "x86_64-unknown-linux-gnu", target: "x86_64-unknown-linux-gnu",
cross: false, cross: false,
container: quay.io/pypa/manylinux2014_x86_64, container: quay.io/pypa/manylinux2014_x86_64,
suffix: "2-17", suffix: "2-17",
} }
- { - {
os: "ubuntu-18.04", os: "ubuntu-20.04",
target: "i686-unknown-linux-gnu", target: "i686-unknown-linux-gnu",
cross: true, cross: true,
} }
- { - {
os: "ubuntu-18.04", os: "ubuntu-20.04",
target: "x86_64-unknown-linux-musl", target: "x86_64-unknown-linux-musl",
cross: false, cross: false,
} }
- { - {
os: "ubuntu-18.04", os: "ubuntu-20.04",
target: "i686-unknown-linux-musl", target: "i686-unknown-linux-musl",
cross: true, cross: true,
} }
- { - {
os: "ubuntu-18.04", os: "ubuntu-20.04",
target: "aarch64-unknown-linux-gnu", target: "aarch64-unknown-linux-gnu",
cross: true, cross: true,
} }
- { - {
os: "ubuntu-18.04", os: "ubuntu-20.04",
target: "aarch64-unknown-linux-musl", target: "aarch64-unknown-linux-musl",
cross: true, cross: true,
} }
@ -83,26 +83,26 @@ jobs:
# ======= Unsupported targets ======= # ======= Unsupported targets =======
# armv7 # armv7
- { - {
os: "ubuntu-18.04", os: "ubuntu-20.04",
target: "armv7-unknown-linux-gnueabihf", target: "armv7-unknown-linux-gnueabihf",
cross: true, cross: true,
} }
- { - {
os: "ubuntu-18.04", os: "ubuntu-20.04",
target: "armv7-unknown-linux-musleabihf", target: "armv7-unknown-linux-musleabihf",
cross: true, cross: true,
} }
# PowerPC 64 LE # PowerPC 64 LE
- { - {
os: "ubuntu-18.04", os: "ubuntu-20.04",
target: "powerpc64le-unknown-linux-gnu", target: "powerpc64le-unknown-linux-gnu",
cross: true, cross: true,
} }
# Risc-V 64gc # Risc-V 64gc
- { - {
os: "ubuntu-18.04", os: "ubuntu-20.04",
target: "riscv64gc-unknown-linux-gnu", target: "riscv64gc-unknown-linux-gnu",
cross: true, cross: true,
} }
@ -241,7 +241,7 @@ jobs:
build-deb: build-deb:
name: "Build Debian installers" name: "Build Debian installers"
runs-on: "ubuntu-18.04" runs-on: "ubuntu-20.04"
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix: