Update documentation #158
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build and run tests | |
on: [push, pull_request] | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
cc: [g++, clang++] | |
steps: | |
- name: Install Requirements | |
run: |- | |
sudo apt update && sudo apt -yq install libboost-test-dev qtbase5-dev valgrind clang-tidy | |
- uses: actions/checkout@v4 | |
- name: Configure CMake | |
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_COMPILER=${{matrix.cc}} -DWITH_ODK_TESTS=ON -DWITH_CLANG_TIDY=ON | |
- name: Build | |
run: cmake --build ${{github.workspace}}/build --target all --parallel | |
- name: Test | |
working-directory: ${{github.workspace}}/build | |
run: ctest | |
- name: Memory Checks | |
working-directory: ${{github.workspace}}/build | |
run: ctest -T memcheck |