From 5de5e069a7b45ca9cf3a41361b6c7bba3c9853c6 Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Fri, 7 Jun 2024 18:52:05 -0700 Subject: [PATCH] Update macos-builds.yml --- .github/workflows/macos-builds.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/macos-builds.yml b/.github/workflows/macos-builds.yml index 2f95b20..eaac3e6 100644 --- a/.github/workflows/macos-builds.yml +++ b/.github/workflows/macos-builds.yml @@ -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"