-
Notifications
You must be signed in to change notification settings - Fork 3
46 lines (37 loc) · 973 Bytes
/
linux.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
name: Linux
on:
push:
branches: [ main, doc ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: install dependency
run: |
sudo apt update
sudo apt-get update
sudo apt-get -qy install build-essential zlib1g zlib1g-dev curl libcurl4-openssl-dev lzma-dev liblzma-dev libeigen3-dev
- name: install htslib
run: |
git clone --recursive https://github.com/samtools/htslib.git
cd htslib && autoreconf -i && ./configure --enable-libcurl
sudo make -j6 install
sudo ldconfig
cd -
- name: unit test
run: |
cd test
# export ASAN_OPTIONS=alloc_dealloc_mismatch=0
make
make test
# find . -name "*.bin" -exec '{}' --success ';'
- name: tools test
run: |
cd tools
make -j6
make test