diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d23ca48..d1d9b9e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,11 @@ on: [push] jobs: build: - runs-on: ubuntu-latest + # This is the oldest supported version of Ubuntu according to + # . This is + # because applications linked against glibc only work on that version of + # glibc (or newer ones). + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 - name: Cache Cargo diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 196ac76..4fb162d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,11 @@ on: tags: 'v*' jobs: release: - runs-on: ubuntu-latest + # This is the oldest supported version of Ubuntu according to + # . This is + # because applications linked against glibc only work on that version of + # glibc (or newer ones). + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 - name: Cache Cargo @@ -86,6 +90,10 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} release-macos: + # We could cross-compile from Linux instead, + # but we'd still need the Xcode Command Line Tools. + # Downloading them requires logging in with an Apple ID, + # which is not possible in the CI. The macOS runners include it. runs-on: macos-latest needs: release steps: