ci: try tests after package creation

This commit is contained in:
itsmattkc
2020-09-15 12:19:47 +10:00
committed by GitHub
parent 24a60f5ca1
commit 759211e8e8
+5 -5
View File
@@ -73,17 +73,17 @@ jobs:
# Execute the build. You can specify a specific target with "--target <NAME>"
run: cmake --build . --config $BUILD_TYPE
- name: Create Package
working-directory: ${{runner.workspace}}/build
shell: bash
run: mkdir olive-editor && cp app/olive-editor.exe olive-editor && windeployqt olive-editor/olive-editor.exe && cp $GITHUB_WORKSPACE/bin/*.dll olive-editor
- name: Test
working-directory: ${{runner.workspace}}/build
shell: bash
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -C $BUILD_TYPE
- name: Create Package
working-directory: ${{runner.workspace}}/build
shell: bash
run: mkdir olive-editor && cp app/olive-editor.exe olive-editor && windeployqt olive-editor/olive-editor.exe && cp $GITHUB_WORKSPACE/bin/*.dll olive-editor
- name: Deploy Portable
working-directory: ${{runner.workspace}}/build/olive-editor