Skip to content

Commit

Permalink
Build for clang too on Windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperPaul123 committed Mar 23, 2023
1 parent ce2cdae commit 2eda230
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,25 @@ jobs:

- name: configure
run: cmake -S . -B build -DTP_BUILD_EXAMPLES=OFF -DTP_BUILD_BENCHMARKS=OFF

- name: configure clang
run: cmake -S . -B build-clang -DTP_BUILD_EXAMPLES=OFF -DTP_BUILD_BENCHMARKS=OFF
env:
CC: clang
CXX: clang++

- name: build
run: cmake --build build --config Debug -j4

- name: build clang
run: cmake --build build-clang --config Debug -j4

- name: test
run: |
cd build
ctest --build-config Debug
- name: test clang
run: |
cd build-clang
ctest --build-config Debug

0 comments on commit 2eda230

Please sign in to comment.