There is a recent pull request that using the new --shuffle option fo… #153
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: build-tests | |
on: | |
push: | |
branches: [ master, develop ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
inputs: | |
git-ref: | |
description: Git SHA-1 commit hash (optional) | |
required: false | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-20.04, ubuntu-latest ] | |
compiler: [ clang, gcc ] | |
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 | |
git clone --depth=1 https://github.com/ANGSD/smallBam.git | |
git clone --depth=1 --recursive https://github.com/samtools/htslib | |
- name: Compile dependencies (htslib) | |
run: | | |
cd htslib;make | |
- name: Compile main program (angsd and misc/*) | |
run: | | |
make HTSSRC=htslib/ | |
- name: Run Unit tests | |
run: | | |
make test BAMDIR=./smallBam/ |