From 284f9a8d47440ddd04c0212c6796d85bccd1b19d Mon Sep 17 00:00:00 2001 From: Tim van Elsloo Date: Mon, 16 Jan 2023 11:16:56 +0100 Subject: [PATCH] Uses `ubuntu-20.04` for compiling on Linux with older GLIBC versions. --- .github/workflows/cd.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index a9cbd6f..e804eca 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -29,18 +29,18 @@ jobs: arch: arm64 npm_config_arch: arm target: "aarch64-pc-windows-msvc" - - os: ubuntu-latest + - os: ubuntu-20.04 platform: linux arch: x64 npm_config_arch: x64 target: "x86_64-unknown-linux-gnu" - - os: ubuntu-latest + - os: ubuntu-20.04 platform: linux arch: arm64 npm_config_arch: arm64 target: "aarch64-unknown-linux-gnu" gcc: "gcc-aarch64-linux-gnu" - - os: ubuntu-latest + - os: ubuntu-20.04 platform: linux arch: armhf npm_config_arch: arm @@ -78,6 +78,9 @@ jobs: - name: Install GCC ${{ matrix.gcc }} run: sudo apt-get install ${{ matrix.gcc }} if: ${{ matrix.gcc }} + - name: Print GLIBC version + run: ldd --version + if: runner.os == 'Linux' - name: Install cargo-edit run: cargo install cargo-edit - name: Update crate versions