Skip to content

Commit

Permalink
nc12
Browse files Browse the repository at this point in the history
  • Loading branch information
mjreno authored and mjreno committed Sep 10, 2023
1 parent 2193f3d commit 22a0c9d
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -434,29 +434,20 @@ jobs:
#echo "LD_LIBRARY_PATH=${HOME}/environments/${{ matrix.hdf5 }}-${{ matrix.netcdf }}/lib" >> $GITHUB_ENV
echo "CFLAGS=-I/mingw64/include" >> $GITHUB_ENV
echo "LDFLAGS=-L/mingw64/lib" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=/mingw64/lib" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=/mingw64/lib" >> $GITHUB_ENV
###
# Installing libhdf4 and libhdf5
###
# - name: Cache libhdf5-${{ matrix.hdf5 }}-${{ matrix.netcdf }}
# id: cache-hdf5
# uses: actions/cache@v2
# with:
# path: ~/environments/${{ matrix.hdf5 }}-${{ matrix.netcdf }}
# key: hdf5-${{ runner.os }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}
- name: Build libhdf5-${{ matrix.hdf5 }}-${{ matrix.netcdf }}
# if: steps.cache-hdf5.outputs.cache-hit != 'true'
#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-netcdf
# #pushd $HOME
#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
tar -jxf hdf5-${{ matrix.hdf5 }}.tar.bz2
# #pushd hdf5-${{ matrix.hdf5 }}
#pushd hdf5-${{ matrix.hdf5 }}
cd hdf5-${{ matrix.hdf5 }}
./configure --disable-static --enable-shared --prefix=${HOME}/environments/${{ matrix.hdf5 }}-${{ matrix.netcdf }} --enable-hl --with-szlib
make -j
Expand Down

0 comments on commit 22a0c9d

Please sign in to comment.