@@ -89,15 +89,15 @@ jobs:
89
89
nBPF : [""]
90
90
lto_gold_linker : [""]
91
91
include :
92
- - compiler : " gcc-7 " # "Oldest" gcc easily available
92
+ - compiler : " gcc-4.9 " # "Oldest" gcc easily available. To simulate RHEL7
93
93
os : ubuntu-20.04
94
94
arch : " x86_64"
95
95
gcrypt : " "
96
96
pcre : " --with-pcre2"
97
97
maxminddb : " --with-maxminddb"
98
98
msan : " --with-sanitizer"
99
99
nBPF : " "
100
- - compiler : " gcc-12 " # "Newest" gcc easily available
100
+ - compiler : " gcc-13 " # "Newest" gcc easily available
101
101
os : ubuntu-22.04
102
102
arch : " x86_64"
103
103
gcrypt : " "
@@ -114,9 +114,9 @@ jobs:
114
114
maxminddb : " --with-maxminddb"
115
115
msan : " --with-sanitizer"
116
116
nBPF : " "
117
- - compiler : " clang-14 " # "Newest" clang easily available
118
- ar : " llvm-ar-14 "
119
- ranlib : " llvm-ranlib-14 "
117
+ - compiler : " clang-17 " # "Newest" clang easily available
118
+ ar : " llvm-ar-17 "
119
+ ranlib : " llvm-ranlib-17 "
120
120
os : ubuntu-22.04
121
121
arch : " x86_64"
122
122
gcrypt : " "
@@ -141,7 +141,7 @@ jobs:
141
141
maxminddb : " --with-maxminddb"
142
142
msan : " --with-sanitizer"
143
143
nBPF : " nBPF"
144
- - compiler : " clang-14 "
144
+ - compiler : " clang-17 "
145
145
os : ubuntu-22.04
146
146
arch : " x86_64"
147
147
gcrypt : " "
@@ -226,9 +226,22 @@ jobs:
226
226
make
227
227
cd -
228
228
- name : Setup Ubuntu specified compiler
229
- if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64') && ! startsWith(matrix.compiler, 'cc')
230
- run : |
229
+ if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64') && ! startsWith(matrix.compiler, 'cc') && ! startsWith(matrix.compiler, 'clang-17')
230
+ run : |
231
+ #For gcc-4.9 (on ubuntu-20.04)
232
+ echo "deb http://dk.archive.ubuntu.com/ubuntu/ xenial main" | sudo tee -a /etc/apt/sources.list
233
+ echo "deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe" | sudo tee -a /etc/apt/sources.list
234
+ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
235
+ #For gcc-13 (on ubuntu-22.04)
236
+ sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
237
+ sudo apt-get update
231
238
sudo apt-get install ${{ matrix.compiler }}
239
+ - name : Setup Ubuntu specified (newest) compiler
240
+ if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64') && startsWith(matrix.compiler, 'clang-17')
241
+ run : |
242
+ wget https://apt.llvm.org/llvm.sh
243
+ chmod u+x llvm.sh
244
+ sudo ./llvm.sh 17
232
245
- name : Install Windows msys2 prerequisites
233
246
if : startsWith(matrix.os, 'windows')
234
247
uses : msys2/setup-msys2@v2
0 commit comments