Merge pull request #50 from smithlabcode/issue-templates #65
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@v4 | |
with: | |
submodules: recursive | |
- name: Update apt | |
run: sudo apt update | |
- name: Install dependencies | |
run: sudo apt-get install -y libhts-dev | |
- name: Generate configure script | |
run: ./autogen.sh | |
- name: configure for GCC | |
run: ./configure CXX="g++" | |
- name: make with g++ | |
run: make | |
- name: cleanup after GCC | |
run: make distclean | |
- name: install Clang dependencies | |
run: sudo apt-get install -y libomp-dev | |
- name: configure for Clang | |
run: ./configure CXX="clang++" | |
- name: make with clang++ | |
run: make | |
- name: cleanup after clang++ | |
run: make clean |