Convert CVE GitHub action to use cmake (#5225)

This commit is contained in:
Dana Robinson 2025-01-13 05:38:10 -08:00 committed by GitHub
parent 58ae0ae200
commit 544f4022b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,14 +30,11 @@ jobs:
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 HDF5
run: |
./autogen.sh
./configure --prefix=/usr/local --disable-tests
mkdir "${{ runner.workspace }}/build"
cd "${{ runner.workspace }}/build"
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_TESTING:BOOL=OFF $GITHUB_WORKSPACE
make
sudo make install
- name: Checkout CVE test repository