Skip to content

Commit

Permalink
nc10
Browse files Browse the repository at this point in the history
  • Loading branch information
mjreno authored and mjreno committed Sep 9, 2023
1 parent d1d2ae5 commit 74048ec
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,12 @@ jobs:
git clone -b ${{ matrix.netcdf}} https://github.com/Unidata/netcdf-c
#pushd netcdf-c
nc-config --all
echo "LD_LIBRARY_PATH:"
echo $LD_LIBRARY_PATH
echo "CFLAGS:"
echo $CFLAGS
echo "LDFLAGS:"
echo $LDFLAGS
cd netcdf-c
autoreconf -if
Expand Down Expand Up @@ -657,6 +662,7 @@ jobs:
- name: Build 2 libhdf5-${{ matrix.hdf5 }}-${{ matrix.netcdf }}
if: steps.cache-hdf5.outputs.cache-hit != 'true'
run: |
cd $HOME
git clone -b ${{ matrix.netcdf}} https://github.com/Unidata/netcdf-c
#pushd netcdf-c
cd netcdf-c
Expand Down Expand Up @@ -706,6 +712,7 @@ jobs:
#cd build
#LD_LIBRARY_PATH=${LD_LIBRARY_PATH} cmake .. -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}
#- name: "Create build directory and run CMake"
cd $HOME
pwd
find . | grep -i CMakeLists.txt
LD_LIBRARY_PATH=${LD_LIBRARY_PATH} cmake -S netcdf-c -B build -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}
Expand All @@ -722,13 +729,15 @@ jobs:
- name: Build All
shell: bash -l {0}
run: |
cd $HOME
cd build
LD_LIBRARY_PATH=${LD_LIBRARY_PATH} make -j 12
if: ${{ success() }}

- name: Run Tests
shell: bash -l {0}
run: |
cd $HOME
cd build
LD_LIBRARY_PATH=${LD_LIBRARY_PATH} ctest -j 1 .
if: ${{ success() }}
Expand Down

0 comments on commit 74048ec

Please sign in to comment.