Skip to content

Commit

Permalink
Test both coverage and release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
pcolby committed Dec 2, 2024
1 parent 1fab9f4 commit ced7443
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ jobs:
- { qt: '6.8.0', toolchain: mingw, arch: x86-64, aqtArch: win64_mingw }
- { qt: '6.8.0', toolchain: msvc, arch: x86-64, aqtArch: win64_msvc2022_64 }
# Map the MSVC architecture.
- { toolchain: msvc, arch: arm64, msvcArch: amd64_arm64 }
#- { toolchain: msvc, arch: arm64, msvcArch: amd64_arm64 }
- { toolchain: msvc, arch: x86, msvcArch: amd64_x86 }
- { toolchain: msvc, arch: x86-64, msvcArch: amd64 }
# Define the generator and dll names per toolchain.
Expand Down Expand Up @@ -572,7 +572,9 @@ jobs:
working-directory: ${{ runner.temp }}/release
- name: Test StatusService
if: matrix.arch != 'arm64' && matrix.toolchain != 'msvc'
run: '%RUNNER_TEMP%\coverage\test\unit\lib\testStatusService.exe -v2 -vs'
run: |
%RUNNER_TEMP%\coverage\test\unit\lib\testStatusService.exe -v2 -vs
%RUNNER_TEMP%\release\test\unit\lib\testStatusService.exe -v2 -vs
- name: Test w/ coverage # We can't execute arm64 binaries on an x86-64 host.
if: matrix.arch != 'arm64' && matrix.toolchain != 'msvc'
run: ctest --output-on-failure --test-dir "%RUNNER_TEMP%/coverage" --extra-verbose
Expand Down

0 comments on commit ced7443

Please sign in to comment.