Skip to content

Commit

Permalink
Be explicit with OS settings. Also try to workaround Homebrew/homebre…
Browse files Browse the repository at this point in the history
  • Loading branch information
asl committed Apr 30, 2024
1 parent 115859c commit 7e78300
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/release.yml
Expand Up @@ -115,7 +115,11 @@ jobs:
build-mac:
strategy:
matrix:
os: [macos-13, macos-14]
include:
- os: macos-13
arch: x86_64
- os: macos-14
arch: aarch64

name: '🍎 Build SPAdes for macOS'
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -147,8 +151,10 @@ jobs:
-B $BUILD_DIR
-S $SRC_DIR
-DSPADES_USE_NCBISDK=ON -DSPADES_ENABLE_PROJECTS=all
-DSPADES_STATIC_BUILD=ON
-DCMAKE_C_COMPILER=$(brew --prefix llvm)/bin/clang
-DCMAKE_CXX_COMPILER=$(brew --prefix llvm)/bin/clang++
-DCMAKE_EXE_LINKER_FLAGS=-L$(brew --prefix llvm)/lib/c++
- name: '🚧 Build'
run: >
Expand All @@ -168,10 +174,14 @@ jobs:
name: '🚬 E. coli 1k smoke checks'
strategy:
matrix:
os: [macos-13, macos-14]
include:
- os: macos-13
arch: x86_64
- os: macos-14
arch: aarch64

runs-on: ${{ matrix.os }}

needs: build-mac

steps:
Expand Down

0 comments on commit 7e78300

Please sign in to comment.