Skip to content

Commit

Permalink
Update macos-builds.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdavidsmith authored Jun 8, 2024
1 parent 3c03c77 commit 5de5e06
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/macos-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,20 @@ on:

jobs:
build:
runs-on: macos-12
runs-on: macos-14
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Update Homebrew
run: brew update
- name: Install automake (autoconf and libtool assumed present)
- 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++-12
run: ./configure CXX="g++-12" CPPFLAGS="-I$(brew --prefix)/include" LDFLAGS="-L$(brew --prefix)/lib"
- name: make
run: make CXXFLAGS="-O2 -DNDEBUG"
- name: Run tests
run: make check
- name: Cleanup after build and test
run: make distclean
- name: configure with g++-13
run: ./configure CXX="g++-13" CPPFLAGS="-I$(brew --prefix)/include" LDFLAGS="-L$(brew --prefix)/lib"
- name: Build with g++
run: make CXXFLAGS="-O3 -DNDEBUG -Wl,-ld_classic"

0 comments on commit 5de5e06

Please sign in to comment.