-
Notifications
You must be signed in to change notification settings - Fork 105
68 lines (58 loc) · 1.89 KB
/
Copy pathrun_tests_docker.yml
File metadata and controls
68 lines (58 loc) · 1.89 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
###
# Run a docker-based test of tests.
#
# See: https://github.com/Unidata/docker-nctests
# How: https://github.com/Unidata/netcdf-test-action
on: [pull_request,workflow_dispatch]
concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
cancel-in-progress: true
permissions: {}
jobs:
netcdf-tests-serial:
name: Docker-Based NetCDF-C, Fortran Regression Testing (Serial)
runs-on: ubuntu-latest
strategy:
matrix:
repo-type: [ 'fortran' ]
c-branch: [ 'v4.9.3' ]
h5ver: [ '1.12.1', '1.14.6' ]
c-compiler: [ 'gcc', 'clang' ]
buildsystem: [ 'both' ]
steps:
- uses: actions/checkout@v4
- name: Pull and Run netCDF Regression Tests
uses: Unidata/netcdf-test-action@v2
with:
repo-type: '${{ matrix.repo-type }}'
run-c: 'FALSE'
build-system: '${{ matrix.buildsystem }}'
hdf5-version: '${{ matrix.h5ver }}'
ctest-repeat: 3
c-compiler: '${{ matrix.c-compiler }}'
c-branch: '${{ matrix.c-branch }}'
run-fortran: 'TRUE'
netcdf-tests-parallel:
needs: netcdf-tests-serial
name: Docker-Based NetCDF-C, Fortran Regression Testing (Parallel)
runs-on: ubuntu-latest
strategy:
matrix:
repo-type: [ 'fortran' ]
c-branch: [ 'v4.9.3' ]
h5ver: [ '1.14.6' ]
c-compiler: [ 'mpicc' ]
buildsystem: [ 'cmake', 'autotools' ]
steps:
- uses: actions/checkout@v4
- name: Pull and Run netCDF Regression Tests
uses: Unidata/netcdf-test-action@v2
with:
repo-type: '${{ matrix.repo-type }}'
run-c: 'FALSE'
build-system: '${{ matrix.buildsystem }}'
hdf5-version: '${{ matrix.h5ver }}'
ctest-repeat: 3
c-compiler: '${{ matrix.c-compiler }}'
c-branch: '${{ matrix.c-branch }}'
run-fortran: 'TRUE'