Skip to content

Commit

Permalink
Update GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiashienzsch committed Jul 4, 2024
1 parent a4d3448 commit 9e3fa1b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: macOS-X64
os: macos-13
osx_target: "10.15"
cmake_flags: "-D CMAKE_C_COMPILER=/opt/homebrew/opt/llvm/bin/clang -D CMAKE_CXX_COMPILER=/opt/homebrew/opt/llvm/bin/clang++"
cmake_flags: "-D CMAKE_C_COMPILER=/usr/local/opt/llvm/bin/clang -D CMAKE_CXX_COMPILER=/usr/local/opt/llvm/bin/clang++"
cxx_flags: "-march=x86-64-v2"

- name: macOS-ARM64
Expand All @@ -40,11 +40,11 @@ jobs:
cmake_flags: "-D CMAKE_C_COMPILER=/opt/homebrew/opt/llvm/bin/clang -D CMAKE_CXX_COMPILER=/opt/homebrew/opt/llvm/bin/clang++"
cxx_flags: ""

- name: Windows
os: windows-latest
osx_target: ""
cmake_flags: ""
cxx_flags: "-march=x86-64-v2"
# - name: Windows
# os: windows-latest
# osx_target: ""
# cmake_flags: ""
# cxx_flags: "-march=x86-64-v2"

steps:
- name: Checkout code
Expand All @@ -56,11 +56,11 @@ jobs:
if: runner.os == 'Linux'
run: |
sudo apt update -y
sudo apt install -y libomp-dev ninja-build
sudo apt install -y libomp-dev ninja-build libhdf5-dev
- name: Install dependencies (macOS)
if: runner.os == 'macOS'
run: brew install ninja llvm
run: brew install ninja llvm hd5

- name: Install dependencies (Windows)
if: runner.os == 'Windows'
Expand Down

0 comments on commit 9e3fa1b

Please sign in to comment.