From 2eda230b66727360b0e5137275d3070355062dbb Mon Sep 17 00:00:00 2001 From: Paul T Date: Thu, 23 Mar 2023 10:23:02 -0400 Subject: [PATCH] Build for clang too on Windows CI --- .github/workflows/windows.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 6c4f4e5..e3b7e49 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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