Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove autotools support for next generation library #4961

Draft
wants to merge 10 commits into
base: feature/develop-2.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .autom4te.cfg

This file was deleted.

112 changes: 0 additions & 112 deletions .github/workflows/aocc-auto.yml

This file was deleted.

116 changes: 0 additions & 116 deletions .github/workflows/autotools.yml

This file was deleted.

50 changes: 39 additions & 11 deletions .github/workflows/cve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,36 +15,64 @@ on:
- 'COPYING**'
- '**.md'

permissions:
contents: read

# Using concurrency to cancel any in-progress job or run
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
cancel-in-progress: true

permissions:
contents: read

jobs:
build:
name: CVE regression
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Install System dependencies
run: |
sudo apt-get update
sudo apt-get install ninja-build
sudo apt install libssl3 libssl-dev libcurl4
sudo apt install -y libaec-dev zlib1g-dev libcurl4-openssl-dev wget curl bzip2 flex bison cmake libzip-dev openssl

- name: Install Autotools Dependencies (Linux)
- name: Checkout HDF5
uses: actions/[email protected]

- name: CMake Configure
run: |
sudo apt update
sudo apt install automake autoconf libtool libtool-bin
mkdir "${{ runner.workspace }}/build"
cd "${{ runner.workspace }}/build"
cmake -C $GITHUB_WORKSPACE/config/cmake/cacheinit.cmake \
-G Ninja \
-DCMAKE_BUILD_TYPE=Debug \
-DHDF5_ENABLE_PARALLEL:BOOL=OFF \
-DHDF5_BUILD_CPP_LIB:BOOL=OFF \
-DHDF5_BUILD_FORTRAN=OFF \
-DHDF5_BUILD_JAVA=OFF \
-DHDF5_BUILD_DOC=OFF \
-DLIBAEC_USE_LOCALCONTENT=OFF \
-DZLIB_USE_LOCALCONTENT=OFF \
-DH5_NO_DEPRECATED_SYMBOLS:BOOL=OFF \
-DBUILD_TESTING:BOOL=OFF \
-DCMAKE_INSTALL_PREFIX:PATH=/usr/local \
$GITHUB_WORKSPACE
shell: bash

- name: CMake Build
run: cmake --build . --parallel 3 --config Debug
working-directory: ${{ runner.workspace }}/build

- name: Install HDF5
run: |
./autogen.sh
./configure --prefix=/usr/local --disable-tests
make
sudo make install
sudo cmake --install . --config Debug --prefix="/usr/local"
working-directory: ${{ runner.workspace }}/build

- name: Checkout CVE test repository
uses: actions/[email protected]
with:
repository: HDFGroup/cve_hdf5
path: cve_hdf5

- name: Run regression tests
run: |
cd cve_hdf5
Expand Down
64 changes: 0 additions & 64 deletions .github/workflows/cygwin-auto.yml

This file was deleted.

Loading