Skip to content

Commit c2099e0

Browse files
committed
Cleanup Windows CI workflow file
1 parent abce05e commit c2099e0

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

.github/workflows/windows.yml

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,33 @@ on:
2424
jobs:
2525
build:
2626
runs-on: windows-latest
27+
strategy:
28+
fail-fast: false
29+
30+
matrix:
31+
# TODO: sanitizer: [debug, release]
32+
sanitizer: [release]
33+
# TODO: compiler: [cl, clang-cl]
34+
compiler: [cl]
35+
2736
steps:
2837
- uses: actions/checkout@v4
2938
- uses: ilammy/msvc-dev-cmd@v1
3039

31-
- name: cmake workflow
32-
run: |
33-
cmake --workflow --preset release || echo ignored
34-
3540
# - name: environment
36-
# run: cmake -E make_directory ${{github.workspace}}/build/VS
41+
# run: pip install -r ../../requirements.txt
42+
43+
- name: cmake workflow ${{ matrix.sanitizer }}
44+
run: |
45+
cmake --version
46+
ninja --version
47+
CXX=${{ matrix.compiler }} cmake --workflow --preset ${{ matrix.sanitizer }}
3748
3849
# - name: configure
39-
# working-directory: ${{github.workspace}}/build/VS
40-
# run: cmake ${{github.workspace}}
50+
# run: CXX=${{ matrix.compiler }} cmake --preset ${{ matrix.sanitizer }}
4151

4252
# - name: build
43-
# working-directory: ${{github.workspace}}/build/VS
44-
# run: cmake --build . --config Release --target all_verify_interface_header_sets install
53+
# run: cmake --build --preset ${{ matrix.sanitizer }}
4554

4655
# - name: ctest
47-
# working-directory: ${{github.workspace}}/build/VS
48-
# run: ctest --build-config Release --output-on-failure
56+
# run: ctest --preset ${{ matrix.sanitizer }}

0 commit comments

Comments
 (0)