mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-27 08:01:04 +08:00
184445f4a4
Bumps the github-actions group with 4 updates: [actions/checkout](https://github.com/actions/checkout), [ossf/scorecard-action](https://github.com/ossf/scorecard-action), [github/codeql-action](https://github.com/github/codeql-action) and [actions/setup-python](https://github.com/actions/setup-python). Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
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.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.1
|
|
|
|
- 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@v4.1.1
|
|
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
|