Skip to content

Always use local htslib #332

Always use local htslib

Always use local htslib #332

Workflow file for this run

name: Install deps, make,make test, makes upload folder
on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get update;sudo apt-get install -y libbz2-dev liblzma-dev libcurl4-openssl-dev libgsl-dev samtools
- name: Compile htslib
run: |
git clone --branch=develop --recursive https://github.com/samtools/htslib.git
cd htslib
make
cd ../
- name: make
run: |
export CPATH=`pwd`/htslib:${CPATH}
export LD_LIBRARY_PATH=`pwd`/htslib:${LD_LIBRARY_PATH}
export LIBRARY_PATH=`pwd`/htslib:${LIBRARY_PATH}
make
- name: make test
run: make test
- name: Upload test/output folder
uses: actions/upload-artifact@v4
with:
name: test-output
path: |
test/output
test/testAll.sh
test/testAll.sh.log