Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to re-integrate docker github action runner. #463

Closed
wants to merge 15 commits into from
Closed
63 changes: 63 additions & 0 deletions .github/workflows/run_tests_docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
###
# Use the docker container to run tests in a parameterized way.
###

name: Run Docker-based regression tests

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:
c-branch: [ 'v4.9.2' ]
c-compiler: [ 'gcc', 'clang' ]
h5ver: [ '1.12.1', '1.14.3' ]
build-system: [ 'both' ]

steps:
- uses: actions/checkout@v4
- name: Pull and Run netCDF Regression Tests
uses: WardF/netcdf-test-action@v1
with:
run-c: 'FALSE'
repo-type: 'fortran'
hdf5-version: '${{ matrix.h5ver }}'
c-compiler: '${{ matrix.c-compiler }}'
c-branch: '${{ matrix.c-branch }}'
run-fortran: 'TRUE'
build-system: '${{ matrix.build-system }}'

netcdf-tests-parallel:

needs: netcdf-tests-serial

name: Docker-Based NetCDF-C, Fortran Regression Testing (parallel)
runs-on: ubuntu-latest
strategy:
matrix:
c-branch: [ 'v4.9.2' ]
c-compiler: [ 'mpicc' ]
h5ver: [ '1.12.1', '1.14.3' ]
build-system: [ 'both' ]

steps:
- uses: actions/checkout@v4
- name: Pull and Run netCDF Regression Tests
uses: WardF/netcdf-test-action@v1
with:
run-c: 'FALSE'
repo-type: 'fortran'
hdf5-version: '${{ matrix.h5ver }}'
c-compiler: '${{ matrix.c-compiler }}'
c-branch: '${{ matrix.c-branch }}'
run-fortran: 'TRUE'
build-system: '${{ matrix.build-system }}'
12 changes: 6 additions & 6 deletions .github/workflows/run_tests_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

name: Run netCDF-Fortran Linux tests

on: [pull_request, workflow_dispatch]
on: [workflow_dispatch]

concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
Expand All @@ -19,7 +19,7 @@ jobs:
strategy:
matrix:
hdf5: [ 1.12.2 ]
netcdf: [ v4.7.4, v4.8.1, v4.9.0, main ]
netcdf: [ v4.8.1, v4.9.2 ]

steps:

Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
strategy:
matrix:
hdf5: [ 1.12.2 ]
netcdf: [ v4.7.4, v4.8.1, v4.9.0, main ]
netcdf: [ v4.8.1, v4.9.2 ]

steps:

Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
strategy:
matrix:
hdf5: [ 1.12.2 ]
netcdf: [ v4.7.4, v4.8.1, v4.9.0, main ]
netcdf: [ v4.8.1, v4.9.2 ]

steps:

Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
strategy:
matrix:
hdf5: [ 1.12.2 ]
netcdf: [ v4.7.4, v4.8.1, v4.9.0, main ]
netcdf: [ v4.8.1, v4.9.2 ]

steps:

Expand Down Expand Up @@ -329,7 +329,7 @@ jobs:
strategy:
matrix:
hdf5: [ 1.12.2 ]
netcdf: [ v4.7.4, v4.8.1, v4.9.0, main ]
netcdf: [ v4.8.1, v4.9.2 ]

steps:

Expand Down
Loading