massive refactor #51
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 Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download Dependencies | |
run: | | |
sudo apt-get install ninja | |
- name: Configure Build Directory | |
run: | | |
mkdir -p build | |
cmake -G Ninja -S . -B build | |
- name: Build | |
run: | | |
ninja -C build | |
- name: Run Unit Tests | |
run: | | |
ninja test -C build | |
ninja memcheck -C build | |
- name: Run Valgrind | |
run: | | |
ninja valgrind -C build |