@@ -486,6 +486,15 @@ jobs:
486
486
- { toolchain: 'mingw', arch: x86-64, qt: '6.7.3', aqtTools: 'tools_mingw1310' }
487
487
- { toolchain: 'mingw', arch: x86-64, qt: '6.8.0', aqtTools: 'tools_mingw1310' }
488
488
steps :
489
+ - if : matrix.toolchain != 'msvc'
490
+ shell : bash
491
+ run : tee -a '$GITHUB_PATH" <<< 'C:\msys64\mingw64\bin'
492
+ - name : Install LCOV
493
+ if : matrix.toolchain != 'msvc'
494
+ run : pacman --sync --noconfirm --verbose mingw-w64-x86_64-lcov
495
+ - run : lcov --version
496
+ - run : lcov --version
497
+ shell : bash
489
498
- uses : actions/checkout@v4
490
499
- name : Install host Qt for cross-compilation
491
500
if : matrix.arch == 'arm64'
@@ -521,12 +530,7 @@ jobs:
521
530
name : aqtinstall-log-win-${{ matrix.arch }}-${{ matrix.toolchain }}-${{ matrix.qt }}
522
531
path : aqtinstall.log
523
532
if-no-files-found : error
524
- - name : Install LCOV
525
- if : matrix.toolchain != 'msvc'
526
- run : |
527
- C:\msys64\usr\bin\pacman --sync --noconfirm --verbose mingw-w64-x86_64-lcov
528
- echo C:\msys64\mingw64\bin >> "%GITHUB_PATH%"
529
- - run : dir C:\msys64\ /s
533
+ # - run: dir C:\msys64\ /s
530
534
- name : Configure cross-compilation
531
535
if : matrix.arch == 'arm64'
532
536
shell : bash
@@ -571,9 +575,7 @@ jobs:
571
575
run : ctest --output-on-failure --test-dir "%RUNNER_TEMP%" --verbose
572
576
- run : dir . /s
573
577
working-directory : ${{ runner.temp }}
574
- - run : |
575
- lcov --version
576
- lcov -capture --directory . --output-file coverage.info
578
+ - run : lcov --capture --directory . --output-file coverage.info
577
579
shell : bash # C:\msys64\usr\bin\bash.exe --noprofile --norc -e -o pipefail '{0}'
578
580
working-directory : ${{ runner.temp }}
579
581
- name : Collate test coverage
0 commit comments