Skip to content

Commit

Permalink
Merge pull request #226 from smithlabcode/adding-tests-to-ubuntu-build
Browse files Browse the repository at this point in the history
Adding tests to Ubuntu build workflow
  • Loading branch information
andrewdavidsmith authored Jun 7, 2024
2 parents 9ff872c + 6596cbe commit 7db5194
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/ubuntu-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,30 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- 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 GCC
- name: Configure for g++
run: ./configure CXX="g++"
- name: make with g++
- name: Build with g++
run: make
- name: cleanup after g++
- name: Test the g++ build
run: make check-TESTS
- name: Cleanup after the g++ build
run: make distclean
- name: install Clang dependencies
- name: Install Clang/LLVM dependencies
run: sudo apt-get install -y libomp-dev
- name: configure for GCC
- name: Configure for clang++
run: ./configure CXX="clang++"
- name: make with Clang
- name: Build with clang++
run: make
- name: Test the clang++ build
run: make
- name: cleanup after clang++
- name: Cleanup after the clang++ build
run: make distclean

0 comments on commit 7db5194

Please sign in to comment.