Merge pull request #42 from smithlabcode/build-config-update #43
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 macOS | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Update Homebrew | |
run: brew update | |
- name: Install autotools | |
run: brew install autoconf automake libtool | |
- name: Install dependencies | |
run: brew install htslib gsl | |
- name: Generate configure script | |
run: ./autogen.sh | |
- name: configure with g++-12 | |
run: ./configure CXX="g++-12" CPPFLAGS="-I$(brew --prefix)/include" LDFLAGS="-L$(brew --prefix)/lib" | |
- name: make | |
run: make |