Skip to content
Merged
46 changes: 46 additions & 0 deletions .github/workflows/abismal_build_macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Abismal build (macOS)

on:
workflow_dispatch:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build-on-x86:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Update Homebrew
run: brew update
- name: Install automake
run: brew install automake
- name: Install dependencies
run: brew install htslib
- name: Generate configure script
run: ./autogen.sh
- name: configure with g++-14
run: ./configure CXX="g++-14" CPPFLAGS="-I$(brew --prefix)/include" LDFLAGS="-L$(brew --prefix)/lib"
- name: Build with g++-14
run: make -j4
build-on-arm64:
runs-on: macos-15
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Update Homebrew
run: brew update
- name: Install automake
run: brew install automake
- name: Install dependencies
run: brew install htslib
- name: Generate configure script
run: ./autogen.sh
- name: configure with g++-14
run: ./configure CXX="g++-14" CPPFLAGS="-I$(brew --prefix)/include" LDFLAGS="-L$(brew --prefix)/lib"
- name: Build with g++-14
run: make -j4
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Abismal builds on Ubuntu
name: Abismal build (Ubuntu)

on:
workflow_dispatch:
Expand All @@ -8,10 +8,8 @@ on:
branches: [ "master" ]

jobs:
build:

build-with-gcc:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
Expand All @@ -25,14 +23,20 @@ jobs:
- 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
run: make -j4
build-with-clang:
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 libomp-dev
- name: Generate configure script
run: ./autogen.sh
- name: configure for Clang
run: ./configure CXX="clang++"
- name: make with clang++
run: make
- name: cleanup after clang++
run: make clean
run: make -j4
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Abismal distribution check on Ubuntu
name: Abismal distcheck (Ubuntu)

on:
workflow_dispatch:
Expand All @@ -9,11 +9,9 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Update packages
Expand All @@ -22,9 +20,7 @@ jobs:
run: sudo apt-get install -y libhts-dev
- name: Generate configure script
run: ./autogen.sh
- name: configure
- name: Generate the Makefile
run: ./configure
- name: make check with two threads
run: make -j2 check
- name: make distcheck
run: make distcheck
- name: Distcheck
run: make -j4 distcheck
28 changes: 0 additions & 28 deletions .github/workflows/macos-builds.yml

This file was deleted.