File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed
Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,23 @@ jobs:
1010 - name : Checkout ZeCalculator
1111 uses : actions/checkout@v3
1212
13- - name : Install meson and ninja
14- run : sudo apt install meson ninja-build
13+ - name : Install dependencies
14+ run : sudo apt install meson ninja-build clang-19 lld-19 libc++-19-dev cmake
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++-19 CXX_LD=lld-19 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
Original file line number Diff line number Diff line change @@ -9,12 +9,10 @@ boost_ut_inc = boost_ut_proj.include_directories('ut')
99
1010testing_include_dir = include_directories (' ../include/' )
1111
12- zecalculator_testing_lib = library (' zecalculator_testing' ,
12+ zecalculator_testing_lib = static_library (' zecalculator_testing' ,
1313 sources,
1414 include_directories : [testing_include_dir, boost_ut_inc],
1515 dependencies : zecalculator_dep,
16- version : meson .project_version(),
17- soversion : meson .project_version(),
1816 install : not meson .is_subproject()
1917)
2018
You can’t perform that action at this time.
0 commit comments