-
Notifications
You must be signed in to change notification settings - Fork 2
executable file
·51 lines (40 loc) · 1.22 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
# 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: DragRace
container:
image: ghcr.io/mach3-software/mach3:alma9latest
steps:
- uses: actions/checkout@v4
- name: Get NuOscillator
run: |
cd /opt/
git clone https://github.com/dbarrow257/NuOscillator.git NuOscillator
cd NuOscillator
git checkout ${{ github.head_ref }}
mkdir build
cd build
cmake ../ -DUseGPU=0 -DUseMultithreading=1 -DUseDoubles=1 -DUseCUDAProb3=0 -DUseCUDAProb3Linear=1 -DUseProb3ppLinear=0 -DUseNuFASTLinear=1 -DUseProbGPULinear=0
- name: Build NuOscillator
run: |
cd /opt/NuOscillator/build
make install # Build the project
- name: Validations
run: |
source /opt/NuOscillator/build/Linux/bin/setup.NuOscillator.sh
cd /opt/NuOscillator/
build/Linux/bin//${{ matrix.name }}