Upgrade CI: new cloud cluster, new container, more tests, still intel only #44
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: Compile SHiELD SOLO and run tests | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
checkout: | |
runs-on: [self-hosted] | |
name: Checkout Code | |
steps: | |
- run: /contrib/fv3/FV3CIScripts/checkout.sh $GITHUB_REF | |
build: | |
runs-on: [self-hosted] | |
name: SOLO SHiELD build | |
needs: [checkout] | |
strategy: | |
fail-fast: true | |
max-parallel: 3 | |
matrix: | |
runpath: [/contrib/fv3/FV3CIScripts/] | |
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] | |
name: SOLO SHiELD test suite | |
needs: [checkout, build] | |
strategy: | |
fail-fast: false | |
max-parallel: 3 | |
matrix: | |
runpath: [/contrib/fv3/FV3CIScripts/] | |
runscript: [C128r20.solo.superC.sh] | |
steps: | |
- env: | |
RUNPATH: ${{ matrix.runpath }} | |
RUNSCRIPT: ${{ matrix.runscript }} | |
run: $RUNPATH/$RUNSCRIPT $GITHUB_REF |