Skip to content

Commit

Permalink
Lets try this...
Browse files Browse the repository at this point in the history
  • Loading branch information
mlange05 committed Feb 5, 2025
1 parent 35da53a commit 7beacf7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ jobs:
sudo apt-get install ninja-build libcurl4-openssl-dev
fi
if [[ "${{ matrix.os }}" =~ gnu ]]; then
sudo apt-get install libnetcdff-dev
fi
pip3 install numpy
printenv
Expand Down Expand Up @@ -182,7 +186,7 @@ jobs:
[ -z ${MPI_HOME+x} ] || echo "${MPI_HOME}/bin" >> $GITHUB_PATH
- name: Install HDF5
if: !contains( matrix.os, 'macos' )
if: contains( matrix.compiler, 'intel' )
run: |
if [[ -f ${{ env.DEPS_DIR }}/hdf5/lib/libhdf5.settings ]]; then
echo "::debug::HDF5 restored from cache"
Expand All @@ -192,7 +196,7 @@ jobs:
echo "HDF5_ROOT=${{ env.DEPS_DIR }}/hdf5" >> $GITHUB_ENV
- name: Install NetCDF C
if: !contains( matrix.os, 'macos' )
if: contains( matrix.compiler, 'intel' )
run: |
if [[ -f ${{ env.DEPS_DIR }}/netcdf/bin/nc-config ]]; then
echo "::debug::NetCDF C restored from cache"
Expand All @@ -202,7 +206,7 @@ jobs:
echo "NETCDF_ROOT=${{ env.DEPS_DIR }}/netcdf" >> $GITHUB_ENV
- name: Install NetCDF Fortran
if: !contains( matrix.os, 'macos' )
if: contains( matrix.compiler, 'intel' )
run: |
if [[ -f ${NETCDF_ROOT}/bin/nf-config ]]; then
echo "::debug::NetCDF Fortran restored from cache"
Expand Down

0 comments on commit 7beacf7

Please sign in to comment.