@@ -30,12 +30,12 @@ jobs:
30
30
uses : actions/checkout@v4
31
31
32
32
- name : Generate Test Matrix
33
- uses :
alandefreitas/cpp-actions/[email protected] .8
33
+ uses :
alandefreitas/cpp-actions/[email protected] .10
34
34
id : cpp-matrix
35
35
with :
36
36
compilers : |
37
- gcc 14
38
- clang 18
37
+ gcc >= 14
38
+ clang >= 18
39
39
msvc >=14.40
40
40
apple-clang *
41
41
standards : ' 20'
60
60
install : |
61
61
gcc: git build-essential pkg-config python3 curl openjdk-11-jdk pkg-config libncurses-dev libxml2-utils libxml2-dev
62
62
gcc Coverage: git build-essential pkg-config python3 curl openjdk-11-jdk pkg-config libncurses-dev libxml2-utils libxml2-dev lcov
63
- clang: git build-essential pkg-config python3 curl openjdk-11-jdk pkg-config libncurses-dev libxml2-utils libxml2-dev
63
+ clang: git build-essential pkg-config python3 curl openjdk-11-jdk pkg-config libncurses-dev libxml2-utils libxml2-dev g++-14=14.2.0-4ubuntu2~24.04
64
64
msvc: ''
65
65
extra-values : |
66
66
llvm-hash: dd7a3d4d798e30dfe53b5bbbbcd9a23c24ea1af9
@@ -125,7 +125,7 @@ jobs:
125
125
126
126
steps :
127
127
- name : Install Git
128
- uses :
alandefreitas/cpp-actions/[email protected] .8
128
+ uses :
alandefreitas/cpp-actions/[email protected] .10
129
129
if : matrix.container != ''
130
130
env :
131
131
DEBIAN_FRONTEND : ' noninteractive'
@@ -141,7 +141,7 @@ jobs:
141
141
uses : actions/checkout@v4
142
142
143
143
- name : Install Git
144
- uses :
alandefreitas/cpp-actions/[email protected] .8
144
+ uses :
alandefreitas/cpp-actions/[email protected] .10
145
145
if : matrix.container != ''
146
146
env :
147
147
DEBIAN_FRONTEND : ' noninteractive'
@@ -162,12 +162,21 @@ jobs:
162
162
uses : seanmiddleditch/gha-setup-ninja@v5
163
163
164
164
- name : Setup C++
165
- uses :
alandefreitas/cpp-actions/[email protected] .8
165
+ uses :
alandefreitas/cpp-actions/[email protected] .10
166
166
id : setup-cpp
167
167
with :
168
168
compiler : ${{ matrix.compiler }}
169
169
version : ${{ matrix.version }}
170
170
171
+ # If apple-clang on macos, select the newest Xcode.
172
+ - name : Select Xcode 16.4
173
+ if : matrix.compiler == 'apple-clang'
174
+ run : |
175
+ sudo ls -1 /Applications | grep Xcode
176
+ xcode-select --version
177
+ sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
178
+ ${{ steps.setup-cpp.outputs.cxx }} -v
179
+
171
180
# If apple-clang on macos, we run `clang -print-targets` to
172
181
# get the list of targets supported by the compiler.
173
182
- name : Print Clang Targets
@@ -178,7 +187,7 @@ jobs:
178
187
${{ steps.setup-cpp.outputs.cxx }} --print-target-triple
179
188
180
189
- name : Install System Packages
181
- uses :
alandefreitas/cpp-actions/[email protected] .8
190
+ uses :
alandefreitas/cpp-actions/[email protected] .10
182
191
if : matrix.compiler != 'msvc'
183
192
id : package-install
184
193
env :
@@ -238,7 +247,7 @@ jobs:
238
247
fi
239
248
240
249
- name : Install LLVM
241
- uses :
alandefreitas/cpp-actions/[email protected] .8
250
+ uses :
alandefreitas/cpp-actions/[email protected] .10
242
251
if : steps.llvm-cache.outputs.cache-hit != 'true' && steps.llvm-download.outputs.found != 'true'
243
252
with :
244
253
cmake-version : ' >=3.26'
@@ -263,7 +272,7 @@ jobs:
263
272
trace-commands : true
264
273
265
274
- name : Install Duktape
266
- uses :
alandefreitas/cpp-actions/[email protected] .8
275
+ uses :
alandefreitas/cpp-actions/[email protected] .10
267
276
with :
268
277
source-dir : ../third-party/duktape
269
278
url : https://github.com/svaarala/duktape/releases/download/v2.7.0/duktape-2.7.0.tar.xz
@@ -283,7 +292,7 @@ jobs:
283
292
trace-commands : true
284
293
285
294
- name : Install Fmt
286
- uses :
alandefreitas/cpp-actions/[email protected] .8
295
+ uses :
alandefreitas/cpp-actions/[email protected] .10
287
296
with :
288
297
source-dir : ../third-party/fmt
289
298
git-repository : https://github.com/fmtlib/fmt
@@ -303,7 +312,7 @@ jobs:
303
312
trace-commands : true
304
313
305
314
- name : Install Libxml2
306
- uses :
alandefreitas/cpp-actions/[email protected] .8
315
+ uses :
alandefreitas/cpp-actions/[email protected] .10
307
316
if : matrix.compiler == 'msvc'
308
317
with :
309
318
source-dir : ../third-party/libxml2
@@ -360,7 +369,7 @@ jobs:
360
369
node-version : ' 20'
361
370
362
371
- name : CMake Workflow
363
- uses :
alandefreitas/cpp-actions/[email protected] .8
372
+ uses :
alandefreitas/cpp-actions/[email protected] .10
364
373
with :
365
374
cmake-version : ' >=3.26'
366
375
cxxstd : ${{ matrix.cxxstd }}
@@ -409,7 +418,7 @@ jobs:
409
418
retention-days : 1
410
419
411
420
- name : FlameGraph
412
- uses :
alandefreitas/cpp-actions/[email protected] .8
421
+ uses :
alandefreitas/cpp-actions/[email protected] .10
413
422
if : matrix.time-trace
414
423
with :
415
424
build-dir : build
@@ -479,7 +488,7 @@ jobs:
479
488
480
489
steps :
481
490
- name : Install packages
482
- uses :
alandefreitas/cpp-actions/[email protected] .8
491
+ uses :
alandefreitas/cpp-actions/[email protected] .10
483
492
id : package-install
484
493
with :
485
494
apt-get : build-essential asciidoctor cmake bzip2 git
@@ -538,7 +547,7 @@ jobs:
538
547
$MRDOCS_ROOT/bin/mrdocs --version
539
548
540
549
- name : Clone Boost.URL
541
- uses :
alandefreitas/cpp-actions/[email protected] .8
550
+ uses :
alandefreitas/cpp-actions/[email protected] .10
542
551
id : boost-url-clone
543
552
with :
544
553
branch : develop
@@ -803,7 +812,7 @@ jobs:
803
812
scp -o StrictHostKeyChecking=no -r $(pwd)/demos/* [email protected] :$demo_dir/
804
813
805
814
- name : Create changelog
806
- uses :
alandefreitas/cpp-actions/[email protected] .8
815
+ uses :
alandefreitas/cpp-actions/[email protected] .10
807
816
with :
808
817
output-path : CHANGELOG.md
809
818
thank-non-regular : ${{ startsWith(github.ref, 'refs/tags/') }}
@@ -845,7 +854,7 @@ jobs:
845
854
846
855
steps :
847
856
- name : Install packages
848
- uses :
alandefreitas/cpp-actions/[email protected] .8
857
+ uses :
alandefreitas/cpp-actions/[email protected] .10
849
858
id : package-install
850
859
with :
851
860
apt-get : ${{ matrix.install }}
0 commit comments