DNMTools build (Ubuntu) #105
Workflow file for this run
This file contains hidden or 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 build (Ubuntu) | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| jobs: | |
| build-with-gcc: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install dependencies | |
| run: sudo apt-get install -y tar bzip2 libgsl-dev | |
| - name: Install recent HTSLib | |
| run: | |
| wget https://github.com/samtools/htslib/releases/download/1.22.1/htslib-1.22.1.tar.bz2 && \ | |
| tar -xf htslib-1.22.1.tar.bz2 && \ | |
| cd htslib-1.22.1 && \ | |
| ./configure --with-libdeflate && \ | |
| make -j4 && \ | |
| make install | |
| - name: Generate configure script | |
| run: ./autogen.sh | |
| - name: Configure for GCC | |
| run: ./configure CXX="g++" | |
| - name: Build with g++ | |
| run: make -j4 | |
| - name: Test the g++ build | |
| run: make -j4 check-TESTS | |
| build-with-clang: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| 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 Clang | |
| run: ./configure CXX="clang++" | |
| - name: Build with clang++ | |
| run: make -j4 | |
| - name: Test the clang++ build | |
| run: make -j4 check-TESTS |