DNMTools builds on Ubuntu #3
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: DNMTools builds on Ubuntu | |
on: | |
workflow_dispatch: | |
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 libgsl-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 g++ | |
run: make distclean | |
- name: install Clang dependencies | |
run: sudo apt-get install -y libomp-dev | |
- name: configure for GCC | |
run: ./configure CXX="clang++" | |
- name: make with Clang | |
run: make | |
- name: cleanup after clang++ | |
run: make distclean |