Adding a workflow for macos builds #9
Workflow file for this run
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: Abismal builds on Ubuntu | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install dependencies | |
run: sudo apt-get install -y libhts-dev | |
- name: Generate configure script | |
run: ./autogen.sh | |
- name: configure | |
run: ./configure | |
- name: make with g++ | |
run: make CXX="g++" | |
- name: cleanup after g++ | |
run: make clean | |
- name: install clang dependencies | |
run: sudo apt-get install -y libomp-dev | |
- name: make with clang++ | |
run: make CXX="clang++" CXXFLAGS="-fopenmp=libomp" | |
- name: cleanup after clang++ | |
run: make clean |