2023-08-30 20:38:24 +08:00
|
|
|
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:
|
2023-10-26 23:49:50 +08:00
|
|
|
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
|
2023-08-30 20:38:24 +08:00
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: CVE regression
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-12-14 04:02:24 +08:00
|
|
|
- uses: actions/checkout@v4.1.1
|
2023-08-30 20:38:24 +08:00
|
|
|
|
|
|
|
- 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
|
2023-12-14 04:02:24 +08:00
|
|
|
uses: actions/checkout@v4.1.1
|
2023-08-30 20:38:24 +08:00
|
|
|
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
|