Skip to content

Commit

Permalink
macos workflow debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
oulap committed Sep 24, 2024
1 parent 6f7dba9 commit 079fc87
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ jobs:
- name: Detect if arm and set build variables
if: runner.arch == 'ARM64' || runner.arch == 'ARM64'
run: |
IS_ARM=ON
APPLE_ARM64=ON
MACOSX_DEPLOYMENT_TARGET="14.0"
_PYTHON_HOST_PLATFORM="macosx-14.0-arm64"
ARCHFLAGS="-arch arm64"
- name: Detect if x64 and set build variables
if: runner.arch == 'x64'
run: |
IS_ARM=OFF
APPLE_ARM64=OFF
MACOSX_DEPLOYMENT_TARGET="13.0"
_PYTHON_HOST_PLATFORM="macosx-13.0-x86_64"
ARCHFLAGS="-arch x86_64"
Expand All @@ -79,16 +79,12 @@ jobs:
ITK_DIR: ITK-install
ZLIB_INCLUDE_DIR: zlib-install/include
ZLIB_LIBRARY: zlib-install/lib/libz.a
APPLE_ARM64: $IS_ARM

- name: Install the wheel and test dependencies
run: |
python -m pip install samseg -f ./dist
python -m pip install pytest
python -m pip install tensorflow
- name: Test the installation
run: |
python -m pytest samseg/tests
- name: Upload artifact
Expand Down

0 comments on commit 079fc87

Please sign in to comment.