Add test windows exe action #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test runtime on Windows | |
on: | |
# execute on every PR made targeting the branches bellow | |
pull_request: | |
branches: | |
- main | |
- develop # can be removed on main merge | |
paths: # we only include paths critical for building to avoid unnecessary runs | |
- src/** | |
- include/** | |
- scripts/cmake/** | |
- test/** | |
- .github/workflows/** | |
- doc/** | |
- runtime/** | |
- docker/** | |
# execute on every push made targeting the branches bellow | |
push: | |
branches: | |
- main | |
- develop # can be removed on main merge | |
paths: # we only include paths critical for building to avoid unnecessary runs | |
- src/** | |
- include/** | |
- scripts/cmake/** | |
- test/** | |
- .github/workflows/** | |
- doc/** | |
- runtime/** | |
- docker/** | |
workflow_dispatch: # Allows manual triggering of the workflow | |
jobs: | |
build-windows: | |
runs-on: windows-2019 | |
env: | |
WORKING_PATH: "D:\\a" | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Add MSBuild to PATH | |
uses: microsoft/setup-msbuild@v2 | |
- name: Install Qt | |
uses: jurplel/[email protected] | |
with: | |
version: 5.15.2 | |
host: windows | |
target: desktop | |
arch: win64_msvc2019_64 | |
- name: Execute pre built TextReport exe | |
run: | | |
cd D:\\a\qc-framework\\qc-framework\\.github\\workflows\\windows-pre-built\\bin | |
dir | |
.\TextReport.exe | |
- name: Execute pre built ResultPooling exe | |
run: | | |
cd D:\\a\qc-framework\\qc-framework\\.github\\workflows\\windows-pre-built\\bin | |
dir | |
.\ResultPooling.exe |