Changed comment style to avoid long line issue. #153
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
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/checkout@v4.1.7 | |
- 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/checkout@v4.1.7 | |
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 |