breaking: Farewell to SampleHandlerFD #343
Workflow file for this run
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
| # Performs unit and integration testing | |
| name: Validations CI | |
| # The events that trigger the workflow | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| permissions: | |
| contents: read | |
| packages: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| name: ${{ matrix.name }} | |
| strategy: | |
| fail-fast: false # Prevents cancellation of remaining jobs if one fails | |
| matrix: | |
| include: | |
| - name: Reweight Validations | |
| test: MaCh3CLI --ReweightValidations | |
| compilation_flags: | |
| - name: Covariance Validations | |
| test: MaCh3CLI --CovarianceValidations | |
| compilation_flags: | |
| - name: Fitter Validations | |
| test: MaCh3CLI --FitterValidations | |
| compilation_flags: | |
| - name: NuMCMC Tools Validations | |
| test: MaCh3CLI --NuMCMCToolsValidations | |
| compilation_flags: | |
| - name: Fitter Validations Low Memory | |
| test: MaCh3CLI --FitterValidations | |
| compilation_flags: -DMaCh3Tutorial_LOW_MEMORY_STRUCTS_ENABLED=ON | |
| container: | |
| image: ghcr.io/mach3-software/mach3:alma9v1.3.0 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Get MaCh3 Validations | |
| run: | | |
| cd /opt/ | |
| git clone --branch "${{ github.head_ref }}" https://github.com/mach3-software/MaCh3Tutorial.git MaCh3Validations | |
| cd MaCh3Validations | |
| mkdir build | |
| cd build | |
| cmake ../ -DMaCh3Tutorial_UNITTESTS_ENABLED=TRUE ${{ matrix.compilation_flags }} | |
| - name: Build MaCh3 Validations | |
| run: | | |
| cd /opt/MaCh3Validations/build | |
| make -j4 install # Build the project | |
| - name: Validations | |
| run: | | |
| source /opt/MaCh3Validations/build/bin/setup.MaCh3.sh | |
| source /opt/MaCh3Validations/build/bin/setup.MaCh3Tutorial.sh | |
| cd /opt/MaCh3Validations/build/CIValidations | |
| ${{ matrix.test }} |