77
88jobs :
99 tests :
10- name : ${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.cppstd }}-${{ matrix.version }}-python-${{ matrix.python-version }}-${{ matrix.castxml-epic }}
10+ name : ${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.cppstd }}-${{ matrix.clang- version }}-python-${{ matrix.python-version }}-${{ matrix.castxml-epic }}
1111 runs-on : ${{ matrix.os }}
1212
1313 strategy :
@@ -17,15 +17,35 @@ jobs:
1717 # UBUNTU 22.04 - CASTXML EPIC 0
1818 - os : ubuntu-22.04
1919 compiler : gcc
20- version : " 11"
20+ gcc-version : " 11"
21+ clang-version : " 13"
22+ python-version : " 3.13"
23+ castxml : " castxml"
24+ castxml-epic : 0
25+ cppstd : " -std=c++98"
26+
27+ - os : ubuntu-22.04
28+ compiler : gcc
29+ gcc-version : " 11"
30+ clang-version : " 14"
2131 python-version : " 3.13"
2232 castxml : " castxml"
2333 castxml-epic : 0
2434 cppstd : " -std=c++98"
2535
2636 - os : ubuntu-22.04
2737 compiler : gcc
28- version : " 11"
38+ gcc-version : " 11"
39+ clang-version : " 15"
40+ python-version : " 3.13"
41+ castxml : " castxml"
42+ castxml-epic : 0
43+ cppstd : " -std=c++98"
44+
45+ - os : ubuntu-22.04
46+ compiler : gcc
47+ gcc-version : " 11"
48+ clang-version : " 15"
2949 python-version : " 3.13"
3050 castxml : " castxml"
3151 castxml-epic : 1
@@ -34,39 +54,44 @@ jobs:
3454 # UBUNTU 24.04 - CASTXML EPIC 0
3555 - os : ubuntu-24.04
3656 compiler : gcc
37- version : " 13"
57+ gcc-version : " 13"
58+ clang-version : " 16"
3859 python-version : " 3.9"
3960 castxml : " castxml"
4061 castxml-epic : 0
4162 cppstd : " -std=c++98"
4263
4364 - os : ubuntu-24.04
4465 compiler : gcc
45- version : " 13"
66+ gcc-version : " 13"
67+ clang-version : " 16"
4668 python-version : " 3.10"
4769 castxml : " castxml"
4870 castxml-epic : 0
4971 cppstd : " -std=c++98"
5072
5173 - os : ubuntu-24.04
5274 compiler : gcc
53- version : " 13"
75+ gcc-version : " 13"
76+ clang-version : " 16"
5477 python-version : " 3.11"
5578 castxml : " castxml"
5679 castxml-epic : 0
5780 cppstd : " -std=c++98"
5881
5982 - os : ubuntu-24.04
6083 compiler : gcc
61- version : " 13"
84+ gcc-version : " 13"
85+ clang-version : " 16"
6286 python-version : " 3.12"
6387 castxml : " castxml"
6488 castxml-epic : 0
6589 cppstd : " -std=c++98"
6690
6791 - os : ubuntu-24.04
6892 compiler : gcc
69- version : " 13"
93+ gcc-version : " 13"
94+ clang-version : " 16"
7095 python-version : " 3.13"
7196 castxml : " castxml"
7297 castxml-epic : 0
@@ -75,39 +100,44 @@ jobs:
75100 # UBUNTU 24.04 - CASTXML EPIC 0 - c++XX
76101 - os : ubuntu-24.04
77102 compiler : gcc
78- version : " 13"
103+ gcc-version : " 13"
104+ clang-version : " 16"
79105 python-version : " 3.13"
80106 castxml : " castxml"
81107 castxml-epic : 0
82108 cppstd : " -std=c++11"
83109
84110 - os : ubuntu-24.04
85111 compiler : gcc
86- version : " 13"
112+ gcc-version : " 13"
113+ clang-version : " 16"
87114 python-version : " 3.13"
88115 castxml : " castxml"
89116 castxml-epic : 0
90117 cppstd : " -std=c++14"
91118
92119 - os : ubuntu-24.04
93120 compiler : gcc
94- version : " 13"
121+ gcc-version : " 13"
122+ clang-version : " 16"
95123 python-version : " 3.13"
96124 castxml : " castxml"
97125 castxml-epic : 0
98126 cppstd : " -std=c++17"
99127
100128 - os : ubuntu-24.04
101129 compiler : gcc
102- version : " 13"
130+ gcc-version : " 13"
131+ clang-version : " 16"
103132 python-version : " 3.13"
104133 castxml : " castxml"
105134 castxml-epic : 0
106135 cppstd : " -std=c++20"
107136
108137 - os : ubuntu-24.04
109138 compiler : gcc
110- version : " 13"
139+ gcc-version : " 13"
140+ clang-version : " 16"
111141 python-version : " 3.13"
112142 castxml : " castxml"
113143 castxml-epic : 0
@@ -116,15 +146,17 @@ jobs:
116146 # UBUNTU 24.04 - CASTXML EPIC 1
117147 - os : ubuntu-24.04
118148 compiler : gcc
119- version : " 13"
149+ gcc-version : " 13"
150+ clang-version : " 16"
120151 python-version : " 3.13"
121152 castxml : " castxml"
122153 castxml-epic : 1
123154 cppstd : " -std=c++98"
124155
125156 - os : ubuntu-24.04
126157 compiler : gcc
127- version : " 13"
158+ gcc-version : " 13"
159+ clang-version : " 16"
128160 python-version : " 3.13"
129161 castxml : " castxml"
130162 castxml-epic : 1
@@ -133,7 +165,7 @@ jobs:
133165 # MACOS
134166 - os : macos-13
135167 compiler : xcode
136- version : " default"
168+ gcc- version : " default"
137169 python-version : " 3.13"
138170 castxml : " castxml"
139171 castxml-epic : 0
@@ -157,8 +189,14 @@ jobs:
157189 - name : Run pycodestyle
158190 run : pycodestyle . --exclude=docs
159191
160- - name : Write ccflags to conf file
161- run : echo "ccflags=${{ matrix.cppstd }}" >> tests/xml_generator.cfg
192+ - name : Debug
193+ run : ls /usr/bin/clang*
194+
195+ - name : Write xml_generator.cfg
196+ run : |
197+ echo "[xml_generator]" > tests/xml_generator.cfg
198+ echo "compiler_path=/usr/bin/clang++-${{ matrix.clang-version }}" >> tests/xml_generator.cfg
199+ echo "ccflags=${{ matrix.cppstd }}" >> tests/xml_generator.cfg
162200
163201 - name : Setup castxml for Linux
164202 if : contains(matrix.os, 'ubuntu') && matrix.castxml == 'castxml'
0 commit comments