This commit is contained in:
Dennis Heimbigner 2020-11-26 13:48:22 -07:00
parent c5d72067d7
commit 5550aea120
2 changed files with 43 additions and 23 deletions

43
.github/workflows/automake.yml vendored Normal file
View File

@ -0,0 +1,43 @@
name: automake
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: cache-hdf5-test
id: cache-hdf5-test
uses: actions/cache@v2
with:
path: ~/hdf5
key: hdf5-${{ runner.os }}-1.10.7-test
- name: build-hdf5
if: steps.cache-hdf5-test.outputs.cache-hit != 'true'
run: |
set -x
wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.7/src/hdf5-1.10.7.tar.gz
tar -xzf hdf5-1.10.7.tar.gz
pushd hdf5-1.10.7
./configure --prefix=/home/runner/hdf5 --disable-tools --disable-fortran --disable-cxx
make check
sudo make install
popd
- name: autoreconf
run: autoreconf -i --force
- name: configure
run: ./configure --enable-nczarr --disable-nczarr-s3 --disable-filter-testing
- name: make
run: make
- name: make check
run: make check
- name: make distcheck
run: make distcheck

View File

@ -1,23 +0,0 @@
name: C/C++ CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: configure
run: ./configure
- name: make
run: make
- name: make check
run: make check
- name: make distcheck
run: make distcheck