fix: loop bug in query graph #16
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: Tests | |
on: | |
push: | |
branches: [ "master", "dev" ] | |
pull_request: | |
branches: [ "master", "dev" ] | |
jobs: | |
Tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref }} | |
- name: Install htslib | |
run: | | |
wget https://github.com/samtools/htslib/releases/download/1.17/htslib-1.17.tar.bz2 | |
tar -xvf htslib-1.17.tar.bz2 | |
cd htslib-1.17 | |
./configure --prefix=`pwd` | |
make | |
make install | |
echo LIBRARY_PATH=`pwd`:$LIBRARY_PATH >> $GITHUB_ENV | |
echo LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH >> $GITHUB_ENV | |
- name: Make vcfdist | |
run: | | |
cp -r htslib-1.17/htslib src | |
echo $LIBRARY_PATH | |
echo $LD_LIBRARY_PATH | |
cd src | |
make | |
./vcfdist -v | |
- name: Test vcfdist | |
run: | | |
sudo apt-get install -y libgtest-dev | |
cd tests | |
make | |
./test_vcfdist |