Skip to content

Commit

Permalink
Switch the CI to Ubuntu 20.04
Browse files Browse the repository at this point in the history
This is currently the oldest supported version of Ubuntu according to
<https://github.com/actions/runner-images#available-images>. This is
because applications linked against glibc only work on that version of
glibc (or newer ones).
  • Loading branch information
YtvwlD committed Jun 7, 2024
1 parent a1a3c0c commit 393aa8f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
on: [push]
jobs:
build:
runs-on: ubuntu-latest
# This is the oldest supported version of Ubuntu according to
# <https://github.com/actions/runner-images#available-images>. 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
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ on:
tags: 'v*'
jobs:
release:
runs-on: ubuntu-latest
# This is the oldest supported version of Ubuntu according to
# <https://github.com/actions/runner-images#available-images>. 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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 393aa8f

Please sign in to comment.