diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-06-04 14:25:01 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-06-14 14:44:49 +0200 |
commit | ba939c92ec2e47f609c52b0d824c051fda25e38a (patch) | |
tree | 54bc752674fdce200b0e7ca911e8d2752fe4e855 /.github/workflows | |
parent | 349fc4143d4c83c50aa6340bbe7dc537a6fbf949 (diff) | |
download | PrismLauncher-ba939c92ec2e47f609c52b0d824c051fda25e38a.tar.gz PrismLauncher-ba939c92ec2e47f609c52b0d824c051fda25e38a.tar.bz2 PrismLauncher-ba939c92ec2e47f609c52b0d824c051fda25e38a.zip |
feat(actions): test before packaging
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index db7bd653..79cc2129 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -168,6 +168,21 @@ jobs: 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 ## |