-
Notifications
You must be signed in to change notification settings - Fork 6
51 lines (41 loc) · 1.2 KB
/
CIValidations.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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: ${{ matrix.name }}
strategy:
fail-fast: false # Prevents cancellation of remaining jobs if one fails
matrix:
include:
- name: SplineValidations
- name: CovarianceValidations
- name: FitterValidations
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: Validations
run: |
source /opt/MaCh3Validations/build/bin/setup.MaCh3.sh
source /opt/MaCh3Validations/build/bin/setup.MaCh3Validations.sh
cd /opt/MaCh3Validations/build
Apps/${{ matrix.name }}