@@ -23,44 +23,38 @@ jobs:
23
23
matrix :
24
24
include :
25
25
- cc : gcc-14
26
- cxx : g++-14
27
26
clang_major_version : null
28
27
clang_repo_suffix : null
29
28
make : make
30
29
runs-on : ubuntu-24.04
31
30
- cc : clang-18
32
- cxx : clang++-18
33
31
clang_major_version : 18
34
32
clang_repo_suffix : -18
35
33
make : bmake
36
34
runs-on : ubuntu-22.04
37
35
- cc : musl-gcc
38
- cxx : ' false'
39
36
clang_major_version : null
40
37
clang_repo_suffix : null
41
38
make : bmake
42
39
runs-on : ubuntu-22.04
43
- - cc : gcc-11
44
- cxx : g++-11
40
+ - cc : gcc-12
45
41
clang_major_version : null
46
42
clang_repo_suffix : null
47
43
make : make
48
44
runs-on : macos-12
49
45
- cc : gcc-13
50
- cxx : g++-13
51
46
clang_major_version : null
52
47
clang_repo_suffix : null
53
48
make : bmake
54
49
runs-on : macos-12
55
50
- cc : clang-15
56
- cxx : clang++-15
57
51
clang_major_version : 15
58
52
clang_repo_suffix : null
59
53
make : bsdmake
60
54
runs-on : macos-12
61
55
steps :
62
56
- name : Add Clang/LLVM repositories
63
- if : " ${{ runner.os == 'Linux' && contains(matrix.cxx , 'clang') }}"
57
+ if : " ${{ runner.os == 'Linux' && contains(matrix.cc , 'clang') }}"
64
58
run : |-
65
59
set -x
66
60
source /etc/os-release
@@ -86,14 +80,14 @@ jobs:
86
80
coreutils
87
81
88
82
- name : Install build dependency Clang ${{ matrix.clang_major_version }}
89
- if : " ${{ runner.os == 'Linux' && contains(matrix.cxx , 'clang') }}"
83
+ if : " ${{ runner.os == 'Linux' && contains(matrix.cc , 'clang') }}"
90
84
run : |-
91
85
sudo apt-get install --yes --no-install-recommends -V \
92
86
clang-${{ matrix.clang_major_version }} \
93
87
libclang-rt-${{ matrix.clang_major_version }}-dev
94
88
95
89
- name : Add versioned aliases for Clang ${{ matrix.clang_major_version }}
96
- if : " ${{ runner.os == 'macOS' && contains(matrix.cxx , 'clang') }}"
90
+ if : " ${{ runner.os == 'macOS' && contains(matrix.cc , 'clang') }}"
97
91
run : |-
98
92
set -x
99
93
sudo ln -s "$(brew --prefix llvm@${{ matrix.clang_major_version }})"/bin/clang /usr/local/bin/clang-${{ matrix.clang_major_version }}
@@ -145,7 +139,6 @@ jobs:
145
139
- name : ' Build'
146
140
env :
147
141
CC : ${{ matrix.cc }}
148
- CXX : ${{ matrix.cxx }}
149
142
MAKE : ${{ matrix.make }}
150
143
run : |-
151
144
set -x
0 commit comments