Skip to content

[build] Remove install -D to support osx build #146

[build] Remove install -D to support osx build

[build] Remove install -D to support osx build #146

Workflow file for this run

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/