Skip to content

Commit 70295e4

Browse files
committed
Correct variable access
1 parent 2b2d903 commit 70295e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ jobs:
522522
path: aqtinstall.log
523523
if-no-files-found: error
524524
- name: Install LCOV
525-
if: toolchain != 'msvc'
525+
if: matrix.toolchain != 'msvc'
526526
run: C:\msys64\usr\bin\pacman --sync --noconfirm --verbose mingw-w64-x86_64-lcov
527527
- name: Configure cross-compilation
528528
if: matrix.arch == 'arm64'
@@ -539,7 +539,7 @@ jobs:
539539
- name: Build
540540
env:
541541
CMAKE_MESSAGE_LOG_LEVEL: VERBOSE
542-
ENABLE_COVERAGE: ${{ matrix.os == 'msvc' && 'false' || 'true' }}
542+
ENABLE_COVERAGE: ${{ matrix.toolchain == 'msvc' && 'false' || 'true' }}
543543
PROJECT_BUILD_ID: ${{ github.run_number }}.win.${{ matrix.arch }}.${{ matrix.toolchain }}.qt-${{ matrix.qt }}
544544
run: |
545545
cmake -D CMAKE_BUILD_TYPE=Release ^
@@ -566,7 +566,7 @@ jobs:
566566
run: ctest --output-on-failure --test-dir "%RUNNER_TEMP%" --verbose
567567
- run: dir . /s
568568
- name: Collate test coverage
569-
if: matrix.toolchain == 'msvc'
569+
if: matrix.toolchain != 'msvc'
570570
run: cmake --build "%RUNNER_TEMP%" --target coverage
571571
- name: Upload test results
572572
if: matrix.arch != 'arm64' && fromJSON(steps.post-build.outputs.tap)

0 commit comments

Comments
 (0)