From 138f4f14acb19994e987555dd7467ab8185ba3d0 Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Thu, 27 Aug 2020 14:40:34 -0600 Subject: [PATCH] adding mpich workflow --- .github/workflows/a4.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/a4.yml b/.github/workflows/a4.yml index 8e0337e72e0..482876f9450 100644 --- a/.github/workflows/a4.yml +++ b/.github/workflows/a4.yml @@ -37,6 +37,26 @@ jobs: make sudo make install popd + - name: cache-hdf5 + id: cache-hdf5 + uses: actions/cache@v2 + with: + path: ~/hdf5 + key: hdf5-${{ runner.os }}-1.10.6-mpich-3.3.2 + + - name: build-hdf5 + if: steps.cache-hdf5.outputs.cache-hit != 'true' + run: | + set -x + export PATH="/home/runner/mpich/bin:$PATH" + export CC=/home/runner/mpich/bin/mpicc + wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.6/src/hdf5-1.10.6.tar.gz &> /dev/null + tar -xzf hdf5-1.10.6.tar.gz + pushd hdf5-1.10.6 + ./configure --prefix=/home/runner/hdf5 --enable-parallel --disable-tools --disable-fortran --disable-cxx --enable-parallel-tests + make + sudo make install + popd - name: autotools build run: | set -x