-
Notifications
You must be signed in to change notification settings - Fork 11
35 lines (27 loc) · 860 Bytes
/
build.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
name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: |
sudo apt install libboost-program-options-dev libboost-iostreams-dev libboost-serialization-dev libcurl4-openssl-dev liblzma-dev libdeflate-dev git -y
wget https://github.com/samtools/htslib/releases/download/1.16/htslib-1.16.tar.bz2
tar -xf htslib-1.16.tar.bz2
mv htslib-1.16 htslib
cd htslib
autoheader; autoconf; ./configure; #optional
make -j$(nproc)
sudo make install
- name: Update submodules
run: git submodule update --init --recursive
- name: Build
run: make -j$(nproc)
# - name: Build Static EXE
# run: make static_exe -j$(nproc)