-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (45 loc) · 1.45 KB
/
classy-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: ClassyHDF-Tests
on:
pull_request:
branches: main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: refs/heads/${{ github.head_ref }}
- name: Download HDF5
run: |
wget "https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.12/hdf5-1.12.0/src/hdf5-1.12.0.tar.gz"
tar -zxvf hdf5-1.12.0.tar.gz
- name: Build HDF5
run: |
cd hdf5-1.12.0
./configure --prefix=$(pwd)/../hdf5-1.12.0-install
make install
cd ..
- name: Build ClassyHDF Tests
run: |
cd Tests/classy_hdf5_interface
make HDF5_HOME=../../hdf5-1.12.0-install EXTRA_LIBS=""
- name: Run ClassyHDF Test - Append
run: |
cd Tests/classy_hdf5_interface
export LD_LIBRARY_PATH="../../hdf5-1.12.0-install/lib:$LD_LIBRARY_PATH"
./append.exe
- name: Run ClassyHDF Test - Get Last N
run: |
cd Tests/classy_hdf5_interface
export LD_LIBRARY_PATH="../../hdf5-1.12.0-install/lib:$LD_LIBRARY_PATH"
./get_last_N.exe
- name: Run ClassyHDF Test - Resize
run: |
cd Tests/classy_hdf5_interface
export LD_LIBRARY_PATH="../../hdf5-1.12.0-install/lib:$LD_LIBRARY_PATH"
./resize.exe
- name: Run ClassyHDF Test - Search
run: |
cd Tests/classy_hdf5_interface
export LD_LIBRARY_PATH="../../hdf5-1.12.0-install/lib:$LD_LIBRARY_PATH"
./search.exe