-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "The code can't be downloaded due to changes that put it behin…
- Loading branch information
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: hdfeos | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
pull_request: | ||
branches: [ master ] | ||
paths-ignore: | ||
- '.github/CODEOWNERS' | ||
- 'doc/**' | ||
- 'release_docs/**' | ||
- 'COPYING' | ||
- '**.md' | ||
|
||
jobs: | ||
build: | ||
name: Build hdfeos | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.7 | ||
|
||
- name: Install Autotools Dependencies (Linux) | ||
run: | | ||
sudo apt update | ||
sudo apt install automake autoconf libtool libtool-bin | ||
- name: Install HDF4 | ||
run: | | ||
./autogen.sh | ||
./configure --prefix=/usr/local --enable-shared --disable-fortran --disable-netcdf | ||
make | ||
sudo make install | ||
- name: Install HDF-EOS2 | ||
run: | | ||
wget -O hdfeos.tar.gz "https://git.earthdata.nasa.gov/projects/DAS/repos/hdfeos/raw/hdf-eos2-3.0-src.tar.gz?at=3128a738021501c821549955f6c78348e5f33850" | ||
tar zxvf hdfeos.tar.gz | ||
cd hdf-eos2-3.0 | ||
./configure LDFLAGS="-L/usr/local/lib -lmfhdf" --prefix=/usr/local/ --enable-shared --enable-install-include | ||
make | ||
make check | ||
sudo make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters