Skip to content

Commit

Permalink
Revert "The code can't be downloaded due to changes that put it behin…
Browse files Browse the repository at this point in the history
…d an (#751)"

This reverts commit 6c95621.
  • Loading branch information
hyoklee authored Oct 7, 2024
1 parent d7915df commit a7618b3
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/hdfeos2.yml
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ HDF version 4.3.1-1 currently under development
![HDF Logo](doc/img/HDF4.png)

[![master build status](https://img.shields.io/github/actions/workflow/status/HDFGroup/hdf4/main.yml?branch=master&label=master)](https://github.com/HDFGroup/hdf4/actions?query=branch%3Amaster)
[![HDF-EOS build status](https://img.shields.io/github/actions/workflow/status/HDFGroup/hdf4/hdfeos2.yml?branch=master&label=HDF-EOS)](https://github.com/HDFGroup/hdf4/actions?query=branch%3Amaster)
[![netCDF build status](https://img.shields.io/github/actions/workflow/status/HDFGroup/hdf4/netcdf.yml?branch=master&label=netCDF)](https://github.com/HDFGroup/hdf4/actions?query=branch%3Amaster)
[![BSD](https://img.shields.io/badge/License-BSD-blue.svg)](https://github.com/HDFGroup/hdf4/blob/master/COPYING)

Expand Down

0 comments on commit a7618b3

Please sign in to comment.