Skip to content

Commit 677a033

Browse files
authored
Merge branch 'main' into Add-llvm-21-support
2 parents 8301e7a + 1baeb31 commit 677a033

File tree

5 files changed

+13
-71
lines changed

5 files changed

+13
-71
lines changed

.github/workflows/clang-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fetch-depth: 0
2222

2323
- name: Setup Python
24-
uses: actions/setup-python@v5
24+
uses: actions/setup-python@v6
2525
with:
2626
python-version: "3.11"
2727

.github/workflows/clang-tidy-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/checkout@v5
1919

2020
- name: Setup Python
21-
uses: actions/setup-python@v5
21+
uses: actions/setup-python@v6
2222
with:
2323
python-version: "3.11"
2424

.github/workflows/deploy-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
fetch-depth: 0
3535

3636
- name: Set up Python
37-
uses: actions/setup-python@v5
37+
uses: actions/setup-python@v6
3838
with:
3939
python-version: '3.11'
4040

.github/workflows/emscripten.yml

Lines changed: 2 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -21,34 +21,6 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
include:
24-
- name: ubu24-arm-clang-repl-19-emscripten
25-
os: ubuntu-24.04-arm
26-
clang-runtime: '19'
27-
cling: Off
28-
llvm_enable_projects: "clang;lld"
29-
llvm_targets_to_build: "WebAssembly"
30-
emsdk_ver: "3.1.73"
31-
- name: osx15-arm-clang-repl-19-emscripten
32-
os: macos-15
33-
clang-runtime: '19'
34-
cling: Off
35-
llvm_enable_projects: "clang;lld"
36-
llvm_targets_to_build: "WebAssembly"
37-
emsdk_ver: "3.1.73"
38-
- name: ubu24-x86-clang-repl-19-emscripten
39-
os: ubuntu-24.04
40-
clang-runtime: '19'
41-
cling: Off
42-
llvm_enable_projects: "clang;lld"
43-
llvm_targets_to_build: "WebAssembly"
44-
emsdk_ver: "3.1.73"
45-
- name: win2025-x86-clang-repl-19-emscripten
46-
os: windows-2025
47-
clang-runtime: '19'
48-
cling: Off
49-
llvm_enable_projects: "clang;lld"
50-
llvm_targets_to_build: "WebAssembly"
51-
emsdk_ver: "3.1.73"
5224
- name: ubu24-arm-clang-repl-20-emscripten
5325
os: ubuntu-24.04-arm
5426
clang-runtime: '20'
@@ -112,7 +84,7 @@ jobs:
11284
fetch-depth: 0
11385

11486
- name: Set up Python
115-
uses: actions/setup-python@v5
87+
uses: actions/setup-python@v6
11688
with:
11789
python-version: '3.11'
11890

@@ -422,30 +394,6 @@ jobs:
422394
fail-fast: false
423395
matrix:
424396
include:
425-
- name: ubu24-x86-clang-repl-19-emscripten_wasm
426-
os: ubuntu-24.04
427-
clang-runtime: '19'
428-
cling: Off
429-
micromamba_shell_init: bash
430-
emsdk_ver: "3.1.73"
431-
- name: osx15-arm-clang-repl-19-emscripten_wasm
432-
os: macos-15
433-
clang-runtime: '19'
434-
cling: Off
435-
micromamba_shell_init: bash
436-
emsdk_ver: "3.1.73"
437-
- name: ubu24-arm-clang-repl-19-emscripten_wasm
438-
os: ubuntu-24.04-arm
439-
clang-runtime: '19'
440-
cling: Off
441-
micromamba_shell_init: bash
442-
emsdk_ver: "3.1.73"
443-
- name: win2025-x86-clang-repl-19-emscripten
444-
os: windows-2025
445-
clang-runtime: '19'
446-
cling: Off
447-
micromamba_shell_init: powershell
448-
emsdk_ver: "3.1.73"
449397
- name: ubu24-x86-clang-repl-20-emscripten_wasm
450398
os: ubuntu-24.04
451399
clang-runtime: '20'
@@ -765,7 +713,7 @@ jobs:
765713
if [[ "${os}" != macos* ]] ; then
766714
EMCC_CORES=1 emmake make -j 1 check-cppinterop
767715
else
768-
EMCC_CORES=2 emmake make -j 2 check-cppinterop
716+
emmake make -j ${{ env.ncpus }} check-cppinterop
769717
fi
770718
cd ./unittests/CppInterOp/
771719
# Explaination of options for emrun

.github/workflows/main.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,6 @@ jobs:
3131
cppyy: Off
3232
llvm_enable_projects: "clang"
3333
llvm_targets_to_build: "host;NVPTX"
34-
- name: ubu22-arm-gcc12-clang-repl-20-coverage
35-
os: ubuntu-22.04-arm
36-
compiler: gcc-12
37-
clang-runtime: '20'
38-
cling: Off
39-
cppyy: Off
40-
llvm_enable_projects: "clang"
41-
llvm_targets_to_build: "host;NVPTX"
42-
coverage: true
4334
- name: ubu24-arm-gcc12-clang-repl-20
4435
os: ubuntu-24.04-arm
4536
compiler: gcc-12
@@ -74,14 +65,15 @@ jobs:
7465
llvm_enable_projects: "clang"
7566
llvm_targets_to_build: "host;NVPTX"
7667
# Ubuntu X86 Jobs
77-
- name: ubu24-x86-gcc12-clang-repl-21
68+
- name: ubu24-x86-gcc12-clang-repl-21-coverage
7869
os: ubuntu-24.04
7970
compiler: gcc-12
8071
clang-runtime: '21'
8172
cling: Off
8273
cppyy: Off
8374
llvm_enable_projects: "clang"
8475
llvm_targets_to_build: "host;NVPTX"
76+
coverage: true
8577
- name: ubu24-x86-gcc12-clang-repl-20
8678
os: ubuntu-24.04
8779
compiler: gcc-12
@@ -252,7 +244,7 @@ jobs:
252244
fetch-depth: 0
253245

254246
- name: Set up Python
255-
uses: actions/setup-python@v5
247+
uses: actions/setup-python@v6
256248
with:
257249
python-version: '3.11'
258250

@@ -307,10 +299,13 @@ jobs:
307299
# Create lcov report
308300
# capture coverage info
309301
vers="${CC#*-}"
310-
lcov --directory build/ --capture --output-file coverage.info --gcov-tool /usr/bin/gcov-${vers}
311-
lcov --remove coverage.info '/usr/*' "${HOME}"'/.cache/*' ${{ github.workspace }}'/llvm-project/*' ${{ github.workspace }}'/unittests/*' --output-file coverage.info
302+
lcov --directory build/ --capture --output-file coverage.info --gcov-tool /usr/bin/gcov-${vers} --ignore-errors mismatch
303+
lcov --remove coverage.info '/usr/*' ${{ github.workspace }}'/llvm-project/*' --ignore-errors unused --output-file coverage.info
304+
lcov --remove coverage.info '${{ github.workspace }}/unittests/*' --ignore-errors unused --output-file coverage.info
305+
lcov --remove coverage.info '${{ github.workspace }}/build/*' --ignore-errors unused --output-file coverage.info
312306
# output coverage data for debugging (optional)
313307
lcov --list coverage.info
308+
rm -rf ./build/
314309
315310
- name: Upload to codecov.io
316311
if: ${{ success() && (matrix.coverage == true) }}
@@ -335,4 +330,3 @@ jobs:
335330
uses: mxschmitt/action-tmate@v3
336331
# When debugging increase to a suitable value!
337332
timeout-minutes: 30
338-

0 commit comments

Comments
 (0)