summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorH. Joe Lee <hyoklee@hdfgroup.org>2023-04-11 19:20:10 (GMT)
committerGitHub <noreply@github.com>2023-04-11 19:20:10 (GMT)
commit3bca79c7aa9a03264b9aa370286a1dfaaf4172e1 (patch)
tree4ca76f0cbae5d98bdae8efc1200c9d3e2f1f730c /.github
parent027ee7c63389a6587acdd30fe386043ce7d78bad (diff)
downloadhdf5-3bca79c7aa9a03264b9aa370286a1dfaaf4172e1.zip
hdf5-3bca79c7aa9a03264b9aa370286a1dfaaf4172e1.tar.gz
hdf5-3bca79c7aa9a03264b9aa370286a1dfaaf4172e1.tar.bz2
ci: add HDF-EOS5 test action (#2415) (#2625)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/hdfeos5.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/hdfeos5.yml b/.github/workflows/hdfeos5.yml
new file mode 100644
index 0000000..8378b4c
--- /dev/null
+++ b/.github/workflows/hdfeos5.yml
@@ -0,0 +1,30 @@
+name: hdfeos5
+
+on: [push, pull_request]
+
+jobs:
+ build:
+ name: Build hdfeos5
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: Install Autotools Dependencies (Linux)
+ run: |
+ sudo apt update
+ sudo apt install automake autoconf libtool libtool-bin
+ - name: Install HDF5
+ run: |
+ ./autogen.sh
+ ./configure --prefix=/usr/local --with-default-api-version=v16
+ make
+ sudo make install
+ - name: Install HDF-EOS5
+ run: |
+ wget -O HDF-EOS5.2.0.tar.gz "https://git.earthdata.nasa.gov/projects/DAS/repos/hdfeos5/raw/hdf-eos5-2.0-src.tar.gz?at=refs%2Fheads%2FHDFEOS5_2.0"
+ tar zxvf HDF-EOS5.2.0.tar.gz
+ cd hdf-eos5-2.0
+ ./configure CC=/usr/local/bin/h5cc --prefix=/usr/local/ --enable-install-include
+ make
+ make check
+ sudo make install