Skip to content

Commit

Permalink
CI: Update to use netCDF-4.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
gsjaardema committed Feb 8, 2025
1 parent 449ada7 commit fa7e0dc
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 23 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_netcdf_no_hdf5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
compiler: [ gnu, clang, mpi ]
netcdf: [ 4.9.2 ]
netcdf: [ 4.9.3 ]
steps:

- name: Harden Runner
Expand All @@ -48,7 +48,7 @@ jobs:
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ~/environments/${{ matrix.compiler }}-${{ matrix.netcdf }}
key: TPL-v5-${{ runner.os }}-${{ matrix.compiler }}-${{ matrix.netcdf }}
key: TPL-v1-${{ runner.os }}-${{ matrix.compiler }}-${{ matrix.netcdf }}

- name: Build TPL-${{ matrix.compiler }}-${{ matrix.netcdf }}
if: steps.cache-TPL.outputs.cache-hit != 'true'
Expand All @@ -67,7 +67,7 @@ jobs:
strategy:
fail-fast: false
matrix:
netcdf: [ 4.9.2 ]
netcdf: [ 4.9.3 ]
config:
- {
name: "Debug serial build",
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ~/environments/${{ matrix.config.compiler }}-${{ matrix.netcdf }}
key: TPL-v5-${{ runner.os }}-${{ matrix.config.compiler }}-${{ matrix.netcdf }}
key: TPL-v1-${{ runner.os }}-${{ matrix.config.compiler }}-${{ matrix.netcdf }}

- name: Check Cache
shell: bash -l {0}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
matrix:
compiler: [ gnu, clang, mpi ]
hdf5: [ V110, V114 ]
netcdf: [ 4.9.2 ]
netcdf: [ 4.9.3 ]
cgns: [ 4.4.0 ]
steps:

Expand All @@ -48,7 +48,7 @@ jobs:
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ~/environments/${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}
key: TPL-v2-${{ runner.os }}-${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}
key: TPL-v1-${{ runner.os }}-${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}

- name: Build TPL-${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}
if: steps.cache-TPL.outputs.cache-hit != 'true'
Expand All @@ -71,7 +71,7 @@ jobs:
matrix:
compiler: [ gnu, clang, mpi ]
hdf5: [ V110, V114 ]
netcdf: [ 4.9.2 ]
netcdf: [ 4.9.3 ]
cgns: [ 4.4.0 ]
steps:

Expand All @@ -91,7 +91,7 @@ jobs:
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ~/environments/${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}
key: TPL-v2-${{ runner.os }}-${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}
key: TPL-v1-${{ runner.os }}-${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}

- name: Check Cache
shell: bash -l {0}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build_variant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
matrix:
compiler: [ gnu, clang, mpi ]
hdf5: [ V114 ]
netcdf: [ 4.9.2 ]
netcdf: [ 4.9.3 ]
cgns: [ 4.4.0 ]
steps:

Expand All @@ -49,7 +49,7 @@ jobs:
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ~/environments/${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}
key: TPL-v2-${{ runner.os }}-${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}
key: TPL-v1-${{ runner.os }}-${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}

- name: Build TPL-${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}
if: steps.cache-TPL.outputs.cache-hit != 'true'
Expand All @@ -69,7 +69,7 @@ jobs:
fail-fast: false
matrix:
hdf5: [ V114 ]
netcdf: [ 4.9.2 ]
netcdf: [ 4.9.3 ]
cgns: [ 4.4.0 ]
config:
- {
Expand Down Expand Up @@ -396,7 +396,7 @@ jobs:
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ~/environments/${{ matrix.config.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}
key: TPL-v2-${{ runner.os }}-${{ matrix.config.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}
key: TPL-v1-${{ runner.os }}-${{ matrix.config.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}

- name: Check Cache
shell: bash -l {0}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/coverity-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
strategy:
matrix:
compiler: [ gnu ]
hdf5: [ V110 ]
netcdf: [ 4.9.2 ]
hdf5: [ V114 ]
netcdf: [ 4.9.3 ]
cgns: [ 4.4.0 ]
steps:

Expand All @@ -39,7 +39,7 @@ jobs:
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ~/environments/${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}
key: TPL-v2-${{ runner.os }}-${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}
key: TPL-v1-${{ runner.os }}-${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}

- name: Build TPL-${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}
if: steps.cache-TPL.outputs.cache-hit != 'true'
Expand All @@ -61,8 +61,8 @@ jobs:
strategy:
matrix:
compiler: [ gnu ]
hdf5: [ V110 ]
netcdf: [ 4.9.2 ]
hdf5: [ V114 ]
netcdf: [ 4.9.3 ]
cgns: [ 4.4.0 ]
steps:

Expand All @@ -82,7 +82,7 @@ jobs:
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ~/environments/${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}
key: TPL-v2-${{ runner.os }}-${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}
key: TPL-v1-${{ runner.os }}-${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}

- name: Check Cache
shell: bash -l {0}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/intel-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
matrix:
compiler: [ intel, mpi ]
hdf5: [ V114 ]
netcdf: [ 4.9.2 ]
netcdf: [ 4.9.3 ]
cgns: [ 4.4.0 ]

defaults:
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ~/environments/${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}
key: TPL-v5intel-${{ runner.os }}-${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}
key: TPL-v1intel-${{ runner.os }}-${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}

- name: Build TPL-${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}
if: steps.cache-TPL.outputs.cache-hit != 'true'
Expand All @@ -93,7 +93,7 @@ jobs:
matrix:
compiler: [ intel, mpi ]
hdf5: [ V114 ]
netcdf: [ 4.9.2 ]
netcdf: [ 4.9.3 ]
cgns: [ 4.4.0 ]
steps:

Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ~/environments/${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}
key: TPL-v5intel-${{ runner.os }}-${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}
key: TPL-v1intel-${{ runner.os }}-${{ matrix.compiler }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-${{ matrix.cgns }}

- name: Check Cache
shell: bash -l {0}
Expand Down
3 changes: 2 additions & 1 deletion install-tpl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,8 @@ then
if [ "$FORCE" == "YES" ] || ! [ -e $INSTALL_PATH/lib/libnetcdf.${LD_EXT} ]
then
# net_version="v4.9.1"
net_version="v4.9.2"
# net_version="v4.9.2"
net_version="v4.9.3"
# net_version="v4.8.1"
# net_version="main"

Expand Down

0 comments on commit fa7e0dc

Please sign in to comment.