Skip to content

Commit ddbd7b3

Browse files
Trying out different clang compiler on macos
1 parent 7362d73 commit ddbd7b3

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/build_run_unit_test_cmake.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
build_matrix:
1717
strategy:
1818
matrix:
19-
os: [ubuntu-latest, windows-latest, macos-15]
20-
# os: [ubuntu-latest, windows-latest]
19+
# os: [ubuntu-latest, windows-latest, macos-15]
20+
os: [ubuntu-latest, windows-latest]
2121
runs-on: ${{ matrix.os }}
2222
defaults:
2323
run:
@@ -33,3 +33,19 @@ jobs:
3333
run: cd build && cmake --build . --config $BUILD_TYPE
3434
- name: run-unit-test
3535
run: cd build && ctest -C $BUILD_TYPE
36+
macos_build:
37+
runs-on: macos-15
38+
defaults:
39+
run:
40+
shell: bash
41+
steps:
42+
- name: checkout
43+
uses: actions/checkout@v4
44+
- name: create-build-dir
45+
run: mkdir build
46+
- name: configure-cmake
47+
run: cd build && cmake -D CMAKE_CXX_COMPILER=$brew --prefix llvm@18)/binclang++ -D WAIT_QUEUE_BUILD_TESTS:BOOL=ON -D WAIT_QUEUE_BUILD_EXAMPLES:BOOL=ON -D JM_CIRCULAR_BUFFER_BUILD_TESTS:BOOL=OFF ..
48+
- name: build
49+
run: cd build && cmake --build . --config $BUILD_TYPE
50+
- name: run-unit-test
51+
run: cd build && ctest -C $BUILD_TYPE

0 commit comments

Comments
 (0)