@@ -24,27 +24,29 @@ jobs:
24
24
matrix :
25
25
include :
26
26
# GCC builds
27
- - {os: ubuntu-latest , compiler: gcc, version: '10',
27
+ - {os: ubuntu-24.04 , compiler: gcc, version: '10',
28
28
flags : ' -Wsuggest-override' }
29
- - {os: ubuntu-latest , compiler: gcc, version: '11',
29
+ - {os: ubuntu-24.04 , compiler: gcc, version: '11',
30
30
flags : ' -Wsuggest-override' }
31
- - {os: ubuntu-latest , compiler: gcc, version: '12',
31
+ - {os: ubuntu-24.04 , compiler: gcc, version: '12',
32
32
flags : ' -Wsuggest-override' }
33
- - {os: ubuntu-latest , compiler: gcc, version: '13',
33
+ - {os: ubuntu-24.04 , compiler: gcc, version: '13',
34
34
flags : ' -Wsuggest-override' }
35
- - {os: ubuntu-24.04, compiler: gcc, version: '14',
35
+ - {os: ubuntu-24.04, compiler: gcc, version: '14',
36
36
flags : ' -Wsuggest-override' }
37
37
38
38
# Clang builds
39
- - {os: ubuntu-20.04, compiler: clang, version: '10'}
40
- - {os: ubuntu-20.04, compiler: clang, version: '11'}
41
- - {os: ubuntu-20.04, compiler: clang, version: '12'}
42
- - {os: ubuntu-22.04, compiler: clang, version: '13'}
43
- - {os: ubuntu-22.04, compiler: clang, version: '14'}
44
- - {os: ubuntu-22.04, compiler: clang, version: '15'}
45
- - {os: ubuntu-22.04, compiler: clang, version: '16'}
46
- - {os: ubuntu-latest, compiler: clang, version: '17'}
47
- - {os: ubuntu-latest, compiler: clang, version: '18'}
39
+ - {os: ubuntu-22.04, compiler: clang, version: '10'}
40
+ - {os: ubuntu-22.04, compiler: clang, version: '11'}
41
+ - {os: ubuntu-22.04, compiler: clang, version: '12'}
42
+ - {os: ubuntu-24.04, compiler: clang, version: '13'}
43
+ - {os: ubuntu-24.04, compiler: clang, version: '14'}
44
+ - {os: ubuntu-24.04, compiler: clang, version: '15'}
45
+ - {os: ubuntu-24.04, compiler: clang, version: '16'}
46
+ - {os: ubuntu-24.04, compiler: clang, version: '17'}
47
+ - {os: ubuntu-24.04, compiler: clang, version: '18'}
48
+ - {os: ubuntu-24.04, compiler: clang, version: '19', llvm-apt: true}
49
+ - {os: ubuntu-24.04, compiler: clang, version: '20', llvm-apt: true}
48
50
49
51
# Windows builds
50
52
- {os: windows-latest, compiler: msvc, version: '14.4', # VS 2022
57
59
- {os: ubuntu-24.04, compiler: gcc, version: '14',
58
60
common-options : ' --std=c++23' , flags: '-Wsuggest-override',
59
61
boost-version : ' 1.85.0' , extra-desc: 'c++23'}
60
- - {os: ubuntu-latest , compiler: clang, version: '18' ,
62
+ - {os: ubuntu-24.04 , compiler: clang, version: '20', llvm-apt: true ,
61
63
common-options : ' --std=c++23' , boost-version: '1.85.0',
62
64
extra-desc : ' c++23' }
63
65
fail-fast : false
@@ -140,7 +142,8 @@ jobs:
140
142
sudo apt-get install g++-${{ matrix.version }}
141
143
echo "CXX=g++-${{ matrix.version }}" >> ${GITHUB_ENV}
142
144
- name : Install clang
143
- if : startsWith(matrix.os, 'ubuntu-') && matrix.compiler == 'clang'
145
+ if : startsWith(matrix.os, 'ubuntu-') && matrix.compiler == 'clang' &&
146
+ matrix.llvm-apt
144
147
run : |
145
148
export CODENAME=`lsb_release -c | sed 's/Codename:\t//'`
146
149
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key 2>/dev/null | sudo apt-key add -
0 commit comments