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