completed config module with extensive testing #9
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: Flash CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@main | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install -y | |
g++ cmake libyaml-cpp-dev catch2 libeigen3-dev doxygen libhdf5-dev | |
- name: Create build directory | |
run: mkdir build | |
- name: Configure CMake | |
run: cmake -S dev/ -B build | |
- name: Build the project | |
run: cmake --build build | |
- name: Run tests | |
run: cd build && ctest --output-on-failure |