Skip to content

compile-tests (pull_request) #101

compile-tests (pull_request)

compile-tests (pull_request) #101

Workflow file for this run

name: Regression Suite
run-name : ${{ github.event_name == 'push' && 'CI' || github.event.label.name }} (${{ github.event_name }})
on:
push:
branches: [ master ]
pull_request:
types: [ labeled ]
# Write our tests out this way for easier legibility
# testsSet :
# - key : value
# key : value
# tests :
# - value
# - value
# - < next test >
# Specify accounts specific to each HPC resource
# https://stackoverflow.com/a/68940067
jobs:
buildtests:
if : ${{ github.event.label.name == 'compile-tests' || github.event.label.name == 'all-tests' }}
strategy:
max-parallel: 4
fail-fast: false
matrix:
testSet :
# - host : mmm-mystic
# archive : /home/aislas/github/wrf/logs/
# account : NMMM0012
# name : "Compilation Tests"
# fileroot : wrf_arw_tests
# pool : 2
# tpool : 4
# mkdirs : true
# tests :
# - make-gnu
# - make-gnu-mpi
# - host : mmm-mystic
# archive : /home/aislas/github/wrf/logs/
# account : NMMM0012
# name : "Compilation Tests"
# fileroot : wrf_arw_tests
# pool : 2
# tpool : 4
# mkdirs : false
# tests :
# - cmake-gnu
# - cmake-gnu-mpi
- host : derecho
archive : /glade/work/aislas/github/runners/wrf/derecho/logs/
account : NMMM0012
name : "Make Compilation Tests"
fileroot : wrf_arw_tests
args : -j='{"node_select":{"-l ":{"select":1}}}'
pool : 6
tpool : 4
mkdirs : true
tests :
- make-gnu
- make-gnu-mpi
- make-intel
- make-intel-mpi
- make-pgi
- make-pgi-mpi
- host : derecho
archive : /glade/work/aislas/github/runners/wrf/derecho/logs/
account : NMMM0012
name : "CMake Compilation Tests"
fileroot : wrf_arw_tests
args : -j='{"node_select":{"-l ":{"select":1}}}'
pool : 6
tpool : 4
mkdirs : false
tests :
- cmake-gnu
- cmake-gnu-mpi
- cmake-intel
- cmake-intel-mpi
- cmake-pgi
- cmake-pgi-mpi
uses : ./.github/workflows/wrf_test.yml
with :
label : compile-tests
archive : ${{ matrix.testSet.archive }}
name : ${{ matrix.testSet.name }}
host : ${{ matrix.testSet.host }}
fileroot : ${{ matrix.testSet.fileroot }}
account : ${{ matrix.testSet.account }}
tests : ${{ toJson( matrix.testSet.tests ) }}
mkdirs : ${{ matrix.testSet.mkdirs }}
args : ${{ matrix.testSet.args }}
pool : ${{ matrix.testSet.pool }}
tpool : ${{ matrix.testSet.tpool }}
permissions:
contents: read
pull-requests: write
name : Test ${{ matrix.testSet.name }} on ${{ matrix.testSet.host }}
realtests:
if : ${{ github.event.label.name == 'em_real-tests' || github.event.label.name == 'all-tests' }}
strategy:
max-parallel: 4
fail-fast: false
matrix:
testSet :
- host : derecho
archive : /glade/work/aislas/github/runners/wrf/derecho/logs/
account : NMMM0012
name : "em_real 0-3, A-E Tests"
fileroot : wrf_em_real_tests
args : -j='{"node_select":{"-l ":{"select":1}}}'
pool : 9
tpool : 4
mkdirs : true
tests :
- em_real0
- em_real1
- em_real2
- em_real3
- em_realA
- em_realB
- em_realC
- em_realD
- em_realE
- host : derecho
archive : /glade/work/aislas/github/runners/wrf/derecho/logs/
account : NMMM0012
name : "em_real G-L Tests"
fileroot : wrf_em_real_tests
args : -j='{"node_select":{"-l ":{"select":1}}}'
pool : 9
tpool : 4
mkdirs : true
tests :
- em_realF
- em_realG
- em_realH
- em_realI
- em_realJ
- em_realK
- em_realL0
- em_realL1
- em_realL2
uses : ./.github/workflows/wrf_test.yml
with :
label : em_real-tests
archive : ${{ matrix.testSet.archive }}
name : ${{ matrix.testSet.name }}
host : ${{ matrix.testSet.host }}
fileroot : ${{ matrix.testSet.fileroot }}
account : ${{ matrix.testSet.account }}
tests : ${{ toJson( matrix.testSet.tests ) }}
mkdirs : ${{ matrix.testSet.mkdirs }}
args : ${{ matrix.testSet.args }}
pool : ${{ matrix.testSet.pool }}
tpool : ${{ matrix.testSet.tpool }}
permissions:
contents: read
pull-requests: write
name : Test ${{ matrix.testSet.name }} on ${{ matrix.testSet.host }}
idealtests:
if : ${{ github.event.label.name == 'em_ideal-tests' || github.event.label.name == 'all-tests' }}
strategy:
max-parallel: 4
fail-fast: false
matrix:
testSet :
- host : derecho
archive : /glade/work/aislas/github/runners/wrf/derecho/logs/
account : NMMM0012
name : "em_real 0-3, A-E Tests"
fileroot : wrf_em_real_tests
args : -j='{"node_select":{"-l ":{"select":1}}}'
pool : 9
tpool : 4
mkdirs : true
tests :
- em_real0
- em_real1
- em_real2
- em_real3
- em_realA
- em_realB
- em_realC
- em_realD
- em_realE
- host : derecho
archive : /glade/work/aislas/github/runners/wrf/derecho/logs/
account : NMMM0012
name : "em_ideal Tests"
fileroot : wrf_em_ideal_tests
args : -j='{"node_select":{"-l ":{"select":1}}}'
pool : 5
tpool : 4
mkdirs : true
tests :
- em_b_wave
- em_hill2d_x
- em_quarter_ss_real8
# Both commented out for failing LFN differences
- em_fire
- em_quarter_ss
uses : ./.github/workflows/wrf_test.yml
with :
label : em_real-tests
archive : ${{ matrix.testSet.archive }}
name : ${{ matrix.testSet.name }}
host : ${{ matrix.testSet.host }}
fileroot : ${{ matrix.testSet.fileroot }}
account : ${{ matrix.testSet.account }}
tests : ${{ toJson( matrix.testSet.tests ) }}
mkdirs : ${{ matrix.testSet.mkdirs }}
args : ${{ matrix.testSet.args }}
pool : ${{ matrix.testSet.pool }}
tpool : ${{ matrix.testSet.tpool }}
permissions:
contents: read
pull-requests: write
name : Test ${{ matrix.testSet.name }} on ${{ matrix.testSet.host }}