diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-08-30 12:38:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-30 12:38:24 (GMT) |
commit | 54d19b0bcbaf52648c9e14e9094c156f8afbd124 (patch) | |
tree | b4511745a2088eee63b7b2e454bc5ed49347933c /.github/workflows/cve.yml | |
parent | 5bd65f7ebf10065b523a16858dd8a294c43d0389 (diff) | |
download | hdf5-54d19b0bcbaf52648c9e14e9094c156f8afbd124.zip hdf5-54d19b0bcbaf52648c9e14e9094c156f8afbd124.tar.gz hdf5-54d19b0bcbaf52648c9e14e9094c156f8afbd124.tar.bz2 |
Add a CVE regression test action (#3445)
*
Diffstat (limited to '.github/workflows/cve.yml')
-rw-r--r-- | .github/workflows/cve.yml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/.github/workflows/cve.yml b/.github/workflows/cve.yml new file mode 100644 index 0000000..4535a7a --- /dev/null +++ b/.github/workflows/cve.yml @@ -0,0 +1,51 @@ +name: cve dev + +on: + workflow_dispatch: + push: + pull_request: + branches: [ develop ] + paths-ignore: + - '.github/CODEOWNERS' + - '.github/FUNDING.yml' + - 'doc/**' + - 'release_docs/**' + - 'ACKNOWLEDGEMENTS' + - 'COPYING**' + - '**.md' + +# Using concurrency to cancel any in-progress job or run +concurrency: + group: ${{ github.workflow }}-${{ github.sha || github.event.pull_request.number }} + cancel-in-progress: true + +permissions: + contents: read + +jobs: + build: + name: CVE regression + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - 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 + make + sudo make install + - name: Checkout CVE test repository + uses: actions/checkout@v3 + 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 |