forked from HDFGroup/vol-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (42 loc) · 1.1 KB
/
rest.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
name: Test HDF5 REST VOL
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout vol-tests
uses: actions/checkout@v3
- name: Checkout HDF5
uses: actions/checkout@v3
with:
repository: HDFGroup/hdf5
path: hdf5
- name: Checkout REST VOL
uses: actions/checkout@v3
with:
repository: HDFGroup/vol-rest
path: vol-rest
submodules: recursive
- name: Install dependencies
run: |
sudo apt-get install ninja-build automake autoconf libtool libtool-bin
sudo apt-get update -y
sudo apt-get install -y libyajl-dev libcurl4-openssl-dev
- name: Install HDF5
run: |
mkdir hdf5/build
cd hdf5/build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_STATIC_LIBS=OFF ..
sudo make -j install
cd ..
git rev-parse HEAD > git.txt
- name: Install REST VOL
run: |
mkdir vol-rest/build
cd vol-rest/build
cmake ..
make
ctest -V