File tree Expand file tree Collapse file tree 1 file changed +24
-11
lines changed
Expand file tree Collapse file tree 1 file changed +24
-11
lines changed Original file line number Diff line number Diff line change 2424jobs :
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 }}
You can’t perform that action at this time.
0 commit comments