summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-11-18 02:03:27 +0100
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-11-18 02:03:27 +0100
commit38ae02dc47f78dbe6a910e172a7d4edacee6545e (patch)
tree2bd21516e6c60d7c44061830a3e077e671a743e9 /.github/workflows
parent8179cca716a5ca2de38f1a53725f2648e437480a (diff)
GitHub Actions: Add testing, packaging and deployment for Ubuntu
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2609899b26..94ca4f9e38 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -95,3 +95,18 @@ jobs:
- name: Build
run: cmake --build . -j $(nproc)
working-directory: cmake_build
+ - name: Test
+ run: ctest --timeout 45
+ working-directory: cmake_build
+ env:
+ GTEST_COLOR: 1
+ CTEST_OUTPUT_ON_FAILURE: 1
+ QT_QPA_PLATFORM: offscreen
+ - name: Package
+ run: cpack -G DEB
+ working-directory: cmake_build
+ - name: Deploy artifacts
+ uses: actions/upload-artifact@v2
+ with:
+ name: Ubuntu DEB
+ path: cmake_build/*.deb