From 4bc2769100bb2b0c80c1c5973ba604714bcbc9eb Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Sun, 11 Apr 2021 23:16:48 +1200 Subject: [PATCH 1/2] CI: Build Linux releases with Ubuntu 16.04 This ensures they are linked to earlier versions of libc and libpcsclite. --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9eb5482..3536eda 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: name: [linux, windows, macos] include: - name: linux - os: ubuntu-latest + os: ubuntu-16.04 build_deps: > libpcsclite-dev archive_name: age-plugin-yubikey.tar.gz @@ -87,7 +87,7 @@ jobs: deb: name: Debian ${{ matrix.name }} - runs-on: ubuntu-latest + runs-on: ubuntu-16.04 strategy: matrix: name: [linux] From eeccad0c3f5ba1bbfe95d0c7384cee345eadaa85 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Sun, 11 Apr 2021 23:30:22 +1200 Subject: [PATCH 2/2] Use Ubuntu 18.04 to build Debian packages cargo-deb requires the lzma_stream_encoder_mt function, which doesn't exist in the version of liblzma in Ubuntu 16.04. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3536eda..f1dec26 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -87,7 +87,7 @@ jobs: deb: name: Debian ${{ matrix.name }} - runs-on: ubuntu-16.04 + runs-on: ubuntu-18.04 strategy: matrix: name: [linux]