ci: Add automated testing

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2022-07-04 05:45:34 +02:00
parent 50e6f494af
commit 519fe4cc75
+31
View File
@@ -0,0 +1,31 @@
name: Automated Testing
on:
push:
branches-ignore:
- 'documentation'
paths:
- 'version.cmake'
- 'tests/**'
jobs:
test:
name: "Run Tests"
runs-on: ubuntu-latest
steps:
- name: "Clone"
uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: "Install Prerequisites"
shell: bash
run: |
sudo apt-get install build-essential cmake
- name: "Run Tests"
shell: bash
run: |
cmake -Htests -Bbuild/tests