mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-05 15:42:32 +08:00
41b61bfe53
Changes concurrency group for hdfeos5 workflow so that it is separate from the concurrency group for the CI workflow
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
name: hdfeos5
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
pull_request:
|
|
branches: [ develop ]
|
|
paths-ignore:
|
|
- '.github/CODEOWNERS'
|
|
- '.github/FUNDING.yml'
|
|
- 'doc/**'
|
|
- 'release_docs/**'
|
|
- 'ACKNOWLEDGEMENTS'
|
|
- 'COPYING**'
|
|
- '**.md'
|
|
|
|
# Using concurrency to cancel any in-progress job or run
|
|
concurrency:
|
|
group: hdfeos5-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
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
|