Skip to content

Commit

Permalink
Use PFFDTD_ENGINE env variable in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiashienzsch committed Sep 1, 2024
1 parent c2028fa commit 1f99cd0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
env:
CMAKE_PREFIX_PATH: ${{ matrix.cmake_prefix_path }}
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.osx_target }}
PFFDTD_ENGINE: ${{ matrix.pffdtd_engine }}
strategy:
fail-fast: false
matrix:
Expand All @@ -31,6 +32,7 @@ jobs:
cmake_flags: ""
cxx_flags: "-march=x86-64-v2"
python_version: "3.12"
pffdtd_engine: "build/src/cpp/main_3d/pffdtd_3d"

- name: macOS-X64
os: macos-13
Expand All @@ -39,6 +41,7 @@ jobs:
cmake_flags: '-D OpenMP_ROOT=`brew list libomp | grep libomp.a | sed -E "s/\/lib\/.*//"`'
cxx_flags: "-march=x86-64-v2"
python_version: "3.12"
pffdtd_engine: "build/src/cpp/main_3d/pffdtd_3d"

- name: macOS-ARM64
os: macos-14
Expand All @@ -47,13 +50,15 @@ jobs:
cmake_flags: '-D OpenMP_ROOT=`brew list libomp | grep libomp.a | sed -E "s/\/lib\/.*//"`'
cxx_flags: ""
python_version: "3.12"
pffdtd_engine: "build/src/cpp/main_3d/pffdtd_3d"

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

steps:
- name: Checkout code
Expand Down

0 comments on commit 1f99cd0

Please sign in to comment.