Skip to content

Commit d3680cd

Browse files
Update CMake workflow for Windows with Clang
1 parent 48fbebb commit d3680cd

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/cmake-multi-platform.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
with:
3434
submodules: recursive
3535

36-
- name: Set up vcpkg (manifest mode)
36+
# --- Set up vcpkg (manifest mode) ---
37+
- name: Set up vcpkg
3738
uses: lukka/run-vcpkg@v11
3839
with:
3940
vcpkgDirectory: '${{ github.workspace }}/vcpkg'
@@ -52,15 +53,16 @@ jobs:
5253
-DFSLinalg_BUILD_TESTS=ON
5354
-DFSLinalg_BUILD_DEMO=ON
5455
55-
- name: Configure CMake (Windows)
56+
- name: Configure CMake (Windows with Clang + Ninja)
5657
if: runner.os == 'Windows'
5758
shell: pwsh
5859
run: |
5960
& cmake -B build -S . `
61+
-G Ninja `
6062
-DCMAKE_TOOLCHAIN_FILE="${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake" `
6163
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} `
62-
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }} `
63-
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} `
64+
-DCMAKE_C_COMPILER=clang `
65+
-DCMAKE_CXX_COMPILER=clang++ `
6466
-DFSLinalg_BUILD_TESTS=ON `
6567
-DFSLinalg_BUILD_DEMO=ON
6668
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }

0 commit comments

Comments
 (0)