Skip to content

Commit 64ea7c4

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

File tree

1 file changed

+24
-11
lines changed

1 file changed

+24
-11
lines changed

.github/workflows/windows.yml

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,38 @@ 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
38+
39+
# see https://github.com/marketplace/actions/enable-developer-command-prompt
2940
- uses: ilammy/msvc-dev-cmd@v1
41+
with:
42+
vsversion: 2022
3043

31-
- name: cmake workflow
32-
run: |
33-
cmake --workflow --preset release || echo ignored
44+
# - name: build environment
45+
# run: pip install -r requirements.txt
3446

35-
# - name: environment
36-
# run: cmake -E make_directory ${{github.workspace}}/build/VS
47+
- name: cmake workflow ${{ matrix.sanitizer }}
48+
shell: bash
49+
run: |
50+
cmake --version
51+
ninja --version
52+
CXX=${{ matrix.compiler }} cmake --workflow --preset ${{ matrix.sanitizer }}
3753
3854
# - name: configure
39-
# working-directory: ${{github.workspace}}/build/VS
40-
# run: cmake ${{github.workspace}}
55+
# run: CXX=${{ matrix.compiler }} cmake --preset ${{ matrix.sanitizer }}
4156

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

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

0 commit comments

Comments
 (0)