continue implem amc #88
This file contains hidden or 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: CI Unit Tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| # MY CONTAINER AHAHAHAH | |
| container: | |
| image: ghcr.io/remihelleboid/empirical-pp-ci:latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Configure (CMake) | |
| run: | | |
| cmake -S . -B build \ | |
| -DCMAKE_BUILD_TYPE=RelWithDebInfo \ | |
| -DENABLE_MPI_BUILD=ON \ | |
| -DENABLE_BUILD_TEST=ON | |
| - name: Build | |
| run: | | |
| cmake --build build --config RelWithDebInfo -- -j"$(nproc)" | |
| - name: Test | |
| run: | | |
| ctest --test-dir build --output-on-failure |