Files
cmake-version/.github/workflows/test.yml
T
Michael Fabian 'Xaymar' Dirks 519fe4cc75 ci: Add automated testing
2022-07-04 06:48:30 +02:00

32 lines
540 B
YAML

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