Skip to content

Commit e54dc93

Browse files
committed
Use the ubuntu-20.04 runner as 18.04 is deprecated
1 parent 17f762d commit e54dc93

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
os: [macos-latest, macos-arm, ubuntu-18.04, windows-latest]
14+
# Stay on the oldest Ubuntu version that's still supported by Github Actions
15+
# to avoid glibc incompatibilities as far as possible.
16+
os: [macos-latest, macos-arm, ubuntu-20.04, windows-latest]
1517
# syntax explanation:
1618
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-including-additional-values-into-combinations
1719
include:
@@ -21,7 +23,7 @@ jobs:
2123
- os: macos-arm
2224
build: eval $(opam env) && cd analysis && make test
2325
artifact-folder: darwinarm64
24-
- os: ubuntu-18.04
26+
- os: ubuntu-20.04
2527
build: eval $(opam env) && cd analysis && make test
2628
artifact-folder: linux
2729
- os: windows-latest
@@ -83,7 +85,7 @@ jobs:
8385

8486
package:
8587
needs: test
86-
runs-on: ubuntu-18.04
88+
runs-on: ubuntu-20.04
8789

8890
steps:
8991
- uses: actions/[email protected]
@@ -115,7 +117,7 @@ jobs:
115117
- name: Download Linux binary
116118
uses: actions/[email protected]
117119
with:
118-
name: ubuntu-18.04
120+
name: ubuntu-20.04
119121
path: ./server/analysis_binaries
120122
- run: tar -xvf binary.tar
121123
working-directory: ./server/analysis_binaries

0 commit comments

Comments
 (0)