File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -522,7 +522,7 @@ jobs:
522
522
path : aqtinstall.log
523
523
if-no-files-found : error
524
524
- name : Install LCOV
525
- if : toolchain != 'msvc'
525
+ if : matrix. toolchain != 'msvc'
526
526
run : C:\msys64\usr\bin\pacman --sync --noconfirm --verbose mingw-w64-x86_64-lcov
527
527
- name : Configure cross-compilation
528
528
if : matrix.arch == 'arm64'
@@ -539,7 +539,7 @@ jobs:
539
539
- name : Build
540
540
env :
541
541
CMAKE_MESSAGE_LOG_LEVEL : VERBOSE
542
- ENABLE_COVERAGE : ${{ matrix.os == 'msvc' && 'false' || 'true' }}
542
+ ENABLE_COVERAGE : ${{ matrix.toolchain == 'msvc' && 'false' || 'true' }}
543
543
PROJECT_BUILD_ID : ${{ github.run_number }}.win.${{ matrix.arch }}.${{ matrix.toolchain }}.qt-${{ matrix.qt }}
544
544
run : |
545
545
cmake -D CMAKE_BUILD_TYPE=Release ^
@@ -566,7 +566,7 @@ jobs:
566
566
run : ctest --output-on-failure --test-dir "%RUNNER_TEMP%" --verbose
567
567
- run : dir . /s
568
568
- name : Collate test coverage
569
- if : matrix.toolchain = = 'msvc'
569
+ if : matrix.toolchain ! = 'msvc'
570
570
run : cmake --build "%RUNNER_TEMP%" --target coverage
571
571
- name : Upload test results
572
572
if : matrix.arch != 'arm64' && fromJSON(steps.post-build.outputs.tap)
You can’t perform that action at this time.
0 commit comments