Skip to content

Commit 831ae91

Browse files
committed
update ci
1 parent 8d02314 commit 831ae91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/Windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
- uses: actions/checkout@v4
7070

7171
- name: Create Build Environment
72-
if: matrix.compiler.tool != 'MSVC'
72+
if: matrix.compiler.name != 'MSVC'
7373
shell: bash
7474
run: choco install ${{matrix.package}} --version ${{matrix.compiler.ver}} --allow-downgrade -y && choco install ninja && cmake -E make_directory ${{runner.workspace}}/build
7575

@@ -81,7 +81,7 @@ jobs:
8181
env:
8282
CXX: ${{matrix.cxx}}
8383
CC: ${{matrix.cc}}
84-
PARAMETERS: ${{ matrix.compiler.tool == 'MSVC' && format('-A x64 -T v{0}', matrix.compiler.ver) || format('-G "{0}"', matrix.generator) }}
84+
PARAMETERS: ${{ matrix.compiler.name == 'MSVC' && format('-A x64 -T v{0}', matrix.compiler.ver) || format('-G "{0}"', matrix.generator) }}
8585
run: cmake -B ${{runner.workspace}}/build -G "${{matrix.generator}}" ${{env.PARAMETERS}} -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_STANDARD=${{matrix.std}} -D_7BIT_DI_LIBRARY_TYPE=${{matrix.library_type}} -D_7BIT_DI_BUILD_ALL_TESTS=ON
8686

8787
- name: Build

0 commit comments

Comments
 (0)