CI Validations #18
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: Validations CI | |
# The events that trigger the workflow | |
on: | |
pull_request: | |
branches: [ develop ] | |
permissions: | |
contents: read | |
packages: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Validations CI ${{ matrix.name }} | |
strategy: | |
fail-fast: false # Prevents cancellation of remaining jobs if one fails | |
matrix: | |
include: | |
- name: SplineValidations | |
- name: CovarianceValidations | |
container: | |
image: ghcr.io/mach3-software/mach3:alma9latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get MaCh3 Validations | |
run: | | |
cd /opt/ | |
git clone https://github.com/mach3-software/MaCh3Validations.git MaCh3Validations | |
cd MaCh3Validations | |
mkdir build | |
cd build | |
cmake ../ -DMaCh3_Branch=${{ github.head_ref }} | |
- name: Build MaCh3 Validations | |
run: | | |
cd /opt/MaCh3Validations/build | |
make install # Build the project | |
- name: Source Setup Scripts | |
run: | | |
source /opt/MaCh3Validations/build/bin/setup.MaCh3.sh | |
source /opt/MaCh3Validations/build/bin/setup.MaCh3Validations.sh | |
- name: Validations | |
run: | | |
cd /opt/MaCh3Validations/build | |
Apps/${{ matrix.name }} |