-
Notifications
You must be signed in to change notification settings - Fork 118
44 lines (41 loc) · 1.12 KB
/
SHiELD_parallelworks.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
name: Compile SHiELD SOLO and run tests
on:
pull_request:
branches:
- main
jobs:
checkout:
runs-on: [self-hosted, devcimultiintel]
name: Checkout Code
steps:
- run: /contrib/fv3/intelFV3CIScripts/checkout.sh $GITHUB_REF
build:
runs-on: [self-hosted,devcimultiintel]
name: SOLO SHiELD build
needs: [checkout]
strategy:
fail-fast: true
max-parallel: 3
matrix:
runpath: [/contrib/fv3/intelFV3CIScripts/]
runscript: [swcompile.sh, nhcompile.sh, hydrocompile.sh]
steps:
- env:
RUNPATH: ${{ matrix.runpath }}
RUNSCRIPT: ${{ matrix.runscript }}
run: $RUNPATH/$RUNSCRIPT $GITHUB_REF
test:
runs-on: [self-hosted, devcimultiintel]
name: SOLO SHiELD test suite
needs: [checkout, build]
strategy:
fail-fast: false
max-parallel: 3
matrix:
runpath: [/contrib/fv3/intelFV3CIScripts/]
runscript: [C128r20.solo.superC.sh]
steps:
- env:
RUNPATH: ${{ matrix.runpath }}
RUNSCRIPT: ${{ matrix.runscript }}
run: $RUNPATH/$RUNSCRIPT $GITHUB_REF