Skip to content

Commit

Permalink
adding mpich workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Aug 27, 2020
1 parent d677d07 commit 138f4f1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/a4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 138f4f1

Please sign in to comment.