Skip to content

Commit 3eef3d9

Browse files
committed
ci: ubuntu: compile & test on (Clang, libc++, lld) trio too
1 parent d588fe3 commit 3eef3d9

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build-run-tests-ubuntu.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,20 @@ jobs:
1313
- name: Install meson and ninja
1414
run: sudo apt install meson ninja-build
1515

16-
- name: Setup meson build folder
16+
- name: Setup meson build folder (GCC)
1717
run: meson setup build -D test=true -D b_sanitize=address,undefined
1818

19+
- name: Setup meson build folder (Clang)
20+
run: CXX=clang++-18 CXX_LD=lld meson setup build-clang -D test=true -D b_sanitize=address,undefined -D cpp_args='-pipe -stdlib=libc++' -D cpp_link_args='-stdlib=libc++'
21+
1922
- name: Compile code (GCC)
2023
run: cd build && meson compile
2124

25+
- name: Compile code (Clang)
26+
run: cd build-clang && meson compile
27+
2228
- name: Test code (GCC)
2329
run: cd build && meson test
30+
31+
- name: Test code (Clang)
32+
run: cd build-clang && meson test

0 commit comments

Comments
 (0)