cd: build binaries targeting GNU libc on ubuntu-20.04, not latest

This improves compatibility, as latest is 24.04 currently. The statically
linked musl build still uses ubuntu-latest
This commit is contained in:
Thomas Otto 2024-08-14 09:29:36 +02:00 committed by Dan Davison
parent 08ec386f25
commit 1f6cc72158

View File

@ -21,19 +21,19 @@ jobs:
- os: windows-latest - os: windows-latest
target: x86_64-pc-windows-msvc target: x86_64-pc-windows-msvc
use-cross: false use-cross: false
- os: ubuntu-latest - os: ubuntu-20.04
target: x86_64-unknown-linux-gnu target: x86_64-unknown-linux-gnu
use-cross: false use-cross: false
- os: ubuntu-latest - os: ubuntu-latest
target: x86_64-unknown-linux-musl target: x86_64-unknown-linux-musl
use-cross: true use-cross: true
- os: ubuntu-latest - os: ubuntu-20.04
target: i686-unknown-linux-gnu target: i686-unknown-linux-gnu
use-cross: true use-cross: true
- os: ubuntu-latest - os: ubuntu-20.04
target: arm-unknown-linux-gnueabihf target: arm-unknown-linux-gnueabihf
use-cross: true use-cross: true
- os: ubuntu-latest - os: ubuntu-20.04
target: aarch64-unknown-linux-gnu target: aarch64-unknown-linux-gnu
use-cross: true use-cross: true