update tests #204
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux | |
on: | |
push: | |
branches: [ main, dev ] | |
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 -j 4 install | |
sudo ldconfig | |
cd - | |
- name: build | |
run: | | |
make -j4 | |
- name: test | |
run: | | |
cd tests | |
make -j4 | |
make test |