-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (40 loc) · 1.3 KB
/
test-h3client.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
name: Test h3client
on:
push:
branches:
- "**"
paths:
- h3client/**
- .github/workflows/test-h3client.yml
defaults:
run:
working-directory: h3client
jobs:
test:
name: Test on ${{matrix.os}}
runs-on: ${{matrix.os}}
env:
PREFIX: ${{github.workspace}}/deps
C_INCLUDE_PATH: ${{github.workspace}}/deps/include
LIBRARY_PATH: ${{github.workspace}}/deps/lib
strategy:
matrix:
os: [ubuntu-22.04, macos-12]
steps:
- uses: actions/checkout@v4
- name: download & extract nng
run: wget https://github.com/nanomsg/nng/archive/refs/tags/v1.5.2.tar.gz && tar xzf v1.5.2.tar.gz
- name: build & install nng
run: mkdir nng-1.5.2/build && cd nng-1.5.2/build && cmake -DCMAKE_INSTALL_PREFIX:PATH=${{github.workspace}}/deps .. && make && make install
- name: clone lite-pack
run: git clone --depth 1 https://github.com/EBI-Metagenomics/lip.git lip
- name: build & install lite-pack
run: cd lip && make && make install
- name: build & install lite-pack-io
run: cd lip/ext && make && make install
- name: build & install h3result
run: cd ../h3result && make && make install
- name: make
run: make
- name: make check
run: make check