feat(actions): test before packaging

This commit is contained in:
Sefa Eyeoglu 2022-06-04 14:25:01 +02:00
parent 349fc4143d
commit ba939c92ec
No known key found for this signature in database
GPG Key ID: C10411294912A422

View File

@ -167,6 +167,21 @@ jobs:
run: | run: |
cmake --build ${{ env.BUILD_DIR }} cmake --build ${{ env.BUILD_DIR }}
##
# TEST
##
- name: Test
if: runner.os != 'Windows'
run: |
ctest --test-dir build --output-on-failure
- name: Test (Windows)
if: runner.os == 'Windows'
shell: msys2 {0}
run: |
ctest --test-dir build --output-on-failure
## ##
# PACKAGE BUILDS # PACKAGE BUILDS
## ##