Skip to content

Add test windows exe action #40

Add test windows exe action

Add test windows exe action #40

Workflow file for this run

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