Skip to content

Convert CVE GitHub action to use cmake #4235

Convert CVE GitHub action to use cmake

Convert CVE GitHub action to use cmake #4235

Workflow file for this run

name: cve dev
# Triggers the workflow on push or pull request or on demand
on:
workflow_dispatch:
push:
pull_request:
branches: [ develop ]
paths-ignore:
- '.github/CODEOWNERS'
- '.github/FUNDING.yml'
- 'doc/**'
- 'release_docs/**'
- 'ACKNOWLEDGEMENTS'
- 'LICENSE**'
- '**.md'
# 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 HDF5
run: |
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
uses: actions/[email protected]
with:
repository: HDFGroup/cve_hdf5
path: cve_hdf5
- name: Run regression tests
run: |
cd cve_hdf5
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
./test_hdf5_cve.sh /usr/local/bin ./cve_out