Skip to content

Commit

Permalink
nc11
Browse files Browse the repository at this point in the history
  • Loading branch information
mjreno authored and mjreno committed Sep 9, 2023
1 parent 74048ec commit 53121ce
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,19 @@ jobs:
pacman -Sy --noconfirm --needed automake autoconf libxml2 libtool git wget curl bzip2 m4 flex bison cmake tar base-devel
#pacman -Sy --noconfirm --needed base-devel automake autoconf m4 flex bison cmake base-devel
# --prefix -> /mingw64
# --includedir -> /mingw64/include
# --libdir -> /mingw64/lib
- name: Install System dependencies
shell: msys2 {0}
run: |
#echo "CFLAGS=-I${HOME}/environments/${{ matrix.hdf5 }}-${{ matrix.netcdf }}/include" >> $GITHUB_ENV
#echo "LDFLAGS=-L${HOME}/environments/${{ matrix.hdf5 }}-${{ matrix.netcdf }}/lib" >> $GITHUB_ENV
#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
###
# Installing libhdf4 and libhdf5
###
Expand Down Expand Up @@ -646,7 +659,7 @@ jobs:


- name: Build libhdf5-${{ matrix.hdf5 }}-${{ matrix.netcdf }}
if: steps.cache-hdf5.outputs.cache-hit != 'true'
#if: steps.cache-hdf5.outputs.cache-hit != 'true'
run: |
#pushd $HOME
cd $HOME
Expand All @@ -660,7 +673,7 @@ jobs:
#popd
- name: Build 2 libhdf5-${{ matrix.hdf5 }}-${{ matrix.netcdf }}
if: steps.cache-hdf5.outputs.cache-hit != 'true'
#if: steps.cache-hdf5.outputs.cache-hit != 'true'
run: |
cd $HOME
git clone -b ${{ matrix.netcdf}} https://github.com/Unidata/netcdf-c
Expand Down Expand Up @@ -757,7 +770,7 @@ jobs:
- lint
- build
- smoke_test
- netcdf_test
- netcdf_test_win
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -898,7 +911,7 @@ jobs:
- lint
- build
- smoke_test
- netcdf_test
- netcdf_test_win
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -1032,7 +1045,7 @@ jobs:
- lint
- build
- smoke_test
- netcdf_test
- netcdf_test_win
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down

0 comments on commit 53121ce

Please sign in to comment.