fix smoke test windows

This commit is contained in:
Rick Vogel 2023-04-03 10:24:18 +02:00
parent ce7bb75ab3
commit 7908bf23e2
1 changed files with 9 additions and 6 deletions

View File

@ -8,7 +8,7 @@ name: CMake Build Matrix
on: on:
push: push:
branches: [cmake] branches: [cmake_uwe]
pull_request: pull_request:
branches: [master] branches: [master]
@ -369,6 +369,11 @@ jobs:
shell: bash shell: bash
run: cmake --install qskinny_build --prefix qskinny_install --strip --config ${{ matrix.config.build_type }} run: cmake --install qskinny_build --prefix qskinny_install --strip --config ${{ matrix.config.build_type }}
- name: Smoke test ( QSkinny ) Setup Env
run: |
echo "$GITHUB_WORKSPACE/qskinny_install/lib" >> $GITHUB_PATH
echo "$GITHUB_WORKSPACE/qskinny_install/plugins/skins" >> $GITHUB_PATH
- name: Smoke test ( QSkinny ) on MacOS - name: Smoke test ( QSkinny ) on MacOS
if: startsWith(matrix.config.name, 'macOS') if: startsWith(matrix.config.name, 'macOS')
run: | run: |
@ -379,11 +384,9 @@ jobs:
- name: Smoke Test ( QSkinny ) on Windows - name: Smoke Test ( QSkinny ) on Windows
if: startsWith(matrix.config.name, 'Windows') if: startsWith(matrix.config.name, 'Windows')
run: | run: |
$Env:PATH += ";qskinny_install/lib" dir iotdashboard.exe -S
$Env:PATH += ";qskinny_install/plugins/skins"
echo "starting iotdashboard" echo "starting iotdashboard"
Start-Process qskinny_build\examples\iotdashboard\Release\iotdashboard.exe -ArgumentList "-qwindowgeometry 1024x600+0+0" Start-Process qskinny_build\Release\iotdashboard.exe -ArgumentList "-qwindowgeometry 1024x600+0+0"
Start-Sleep -s 10
- name: Smoke test ( QSkinny ) on Ubuntu - name: Smoke test ( QSkinny ) on Ubuntu
if: startsWith(matrix.config.name, 'Ubuntu') if: startsWith(matrix.config.name, 'Ubuntu')