Skip to content

Commit

Permalink
nc 37
Browse files Browse the repository at this point in the history
  • Loading branch information
mjreno authored and mjreno committed Sep 9, 2023
1 parent ae0bcfb commit 002276e
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,8 @@ jobs:
if: steps.cache-hdf5.outputs.cache-hit != 'true'
shell: msys2 {0}
run: |
pacman -Sy --noconfirm mingw-w64-x86_64-hdf5
#pacman -Sy --noconfirm mingw-w64-x86_64-hdf5
pacman -Sy --noconfirm mingw-w64-x86_64-netcdf
# #pushd $HOME
# cd $HOME
# wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-$(echo ${{ matrix.hdf5 }} | cut -d. -f 1,2)/hdf5-${{ matrix.hdf5 }}/src/hdf5-${{ matrix.hdf5 }}.tar.bz2
Expand Down Expand Up @@ -482,22 +483,22 @@ jobs:
# Configure and build
###

- name: Build netcdf-c if main
shell: msys2 {0}
run: |
#pushd $HOME
cd $HOME
git clone -b ${{ matrix.netcdf}} https://github.com/Unidata/netcdf-c
#pushd netcdf-c
cd netcdf-c
autoreconf -if
# - name: Build netcdf-c if main
# shell: msys2 {0}
# run: |
# #pushd $HOME
# cd $HOME
# git clone -b ${{ matrix.netcdf}} https://github.com/Unidata/netcdf-c
# #pushd netcdf-c
# cd netcdf-c
# autoreconf -if

CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} ./configure --disable-static --enable-shared --prefix=${HOME}/environments/${{ matrix.hdf5 }}-${{ matrix.netcdf }} --with-plugin-dir=${HOME}/environments/${{ matrix.hdf5 }}-${{ matrix.netcdf }}/lib
# CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} ./configure --disable-static --enable-shared --prefix=${HOME}/environments/${{ matrix.hdf5 }}-${{ matrix.netcdf }} --with-plugin-dir=${HOME}/environments/${{ matrix.hdf5 }}-${{ matrix.netcdf }}/lib

make -j install
#popd
#popd
if: ${{ matrix.netcdf }} == "main"
# make -j install
# #popd
# #popd
# if: ${{ matrix.netcdf }} == "main"

- name: Perform out-of-directory build
#shell: bash -l {0}
Expand Down

0 comments on commit 002276e

Please sign in to comment.