feat: upgrade ubuntu builders

For `-gnu` triples, use 20.04, the current LTS. This upgrades the
required version of glibc. For musl, just use `latest` as, presumably,
we don't care about glibc version in that case.
This commit is contained in:
Aleksey Kladov 2021-10-31 13:05:40 +03:00
parent eb32b60dc7
commit a4b40e60cb

View file

@ -85,7 +85,7 @@ jobs:
dist-x86_64-unknown-linux-gnu: dist-x86_64-unknown-linux-gnu:
name: dist (x86_64-unknown-linux-gnu) name: dist (x86_64-unknown-linux-gnu)
runs-on: ubuntu-18.04 runs-on: ubuntu-20.04
env: env:
RA_TARGET: x86_64-unknown-linux-gnu RA_TARGET: x86_64-unknown-linux-gnu
@ -125,7 +125,7 @@ jobs:
dist-x86_64-unknown-linux-musl: dist-x86_64-unknown-linux-musl:
name: dist (x86_64-unknown-linux-musl) name: dist (x86_64-unknown-linux-musl)
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
env: env:
RA_TARGET: x86_64-unknown-linux-musl RA_TARGET: x86_64-unknown-linux-musl
# For some reason `-crt-static` is not working for clang without lld # For some reason `-crt-static` is not working for clang without lld
@ -155,7 +155,7 @@ jobs:
dist-aarch64-unknown-linux-gnu: dist-aarch64-unknown-linux-gnu:
name: dist (aarch64-unknown-linux-gnu) name: dist (aarch64-unknown-linux-gnu)
runs-on: ubuntu-18.04 runs-on: ubuntu-20.04
env: env:
RA_TARGET: aarch64-unknown-linux-gnu RA_TARGET: aarch64-unknown-linux-gnu
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
@ -256,7 +256,7 @@ jobs:
publish: publish:
name: publish name: publish
runs-on: ubuntu-18.04 runs-on: ubuntu-latest
needs: ['dist-x86_64-pc-windows-msvc', 'dist-aarch64-pc-windows-msvc', 'dist-x86_64-unknown-linux-gnu', 'dist-x86_64-unknown-linux-musl', 'dist-aarch64-unknown-linux-gnu', 'dist-x86_64-apple-darwin', 'dist-aarch64-apple-darwin'] needs: ['dist-x86_64-pc-windows-msvc', 'dist-aarch64-pc-windows-msvc', 'dist-x86_64-unknown-linux-gnu', 'dist-x86_64-unknown-linux-musl', 'dist-aarch64-unknown-linux-gnu', 'dist-x86_64-apple-darwin', 'dist-aarch64-apple-darwin']
steps: steps:
- name: Install Nodejs - name: Install Nodejs