forked from HDFGroup/hdf5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a CVE regression test action (HDFGroup#3445)
*
- Loading branch information
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
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