Skip to content

Commit b26162c

Browse files
committed
CI: remove support for ubuntu-20.04
This Ubuntu version is going to be deprecated. See: actions/runner-images#11101
1 parent 1bda2a2 commit b26162c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
fail-fast: true
7878
matrix:
7979
# macos-14 and 15 are on **ARM64**
80-
os: ["ubuntu-20.04", "ubuntu-22.04", "ubuntu-24.04", "macOS-13", "macOS-14", "macOS-15", "ubuntu-22.04-arm", "ubuntu-24.04-arm"]
80+
os: ["ubuntu-22.04", "ubuntu-24.04", "macOS-13", "macOS-14", "macOS-15", "ubuntu-22.04-arm", "ubuntu-24.04-arm"]
8181
gcrypt: ["--with-local-libgcrypt", ""]
8282
compiler: ["cc"]
8383
pcre: [""]
@@ -87,7 +87,7 @@ jobs:
8787
global_context: [""] # Enable by default
8888
include:
8989
- compiler: "gcc-4.9" # "Oldest" gcc easily available. To simulate RHEL7
90-
os: ubuntu-20.04
90+
os: ubuntu-22.04
9191
gcrypt: ""
9292
pcre: "--with-pcre2"
9393
maxminddb: "--with-maxminddb"
@@ -100,8 +100,8 @@ jobs:
100100
maxminddb: "--with-maxminddb"
101101
msan: "--with-sanitizer"
102102
nBPF: ""
103-
- compiler: "clang-9" # "Oldest" clang easily available
104-
os: ubuntu-20.04
103+
- compiler: "clang-10" # "Oldest" clang easily available
104+
os: ubuntu-22.04
105105
gcrypt: ""
106106
pcre: "--with-pcre2"
107107
maxminddb: "--with-maxminddb"
@@ -171,9 +171,9 @@ jobs:
171171
make
172172
cd -
173173
- name: Setup Ubuntu specified compiler
174-
if: startsWith(matrix.os, 'ubuntu-20.04') && ! startsWith(matrix.compiler, 'cc')
174+
if: startsWith(matrix.os, 'ubuntu-22.04') && ! startsWith(matrix.compiler, 'cc')
175175
run: |
176-
# For gcc-4.9 (on ubuntu-20.04)
176+
# For gcc-4.9 (on ubuntu-22.04)
177177
echo "deb http://dk.archive.ubuntu.com/ubuntu/ xenial main" | sudo tee -a /etc/apt/sources.list
178178
echo "deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe" | sudo tee -a /etc/apt/sources.list
179179
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5

0 commit comments

Comments
 (0)