Skip to content

Commit

Permalink
Added a arm64 flag
Browse files Browse the repository at this point in the history
  • Loading branch information
oulap committed Sep 23, 2024
1 parent 0c279dc commit 099f24d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ jobs:
make install
cd ..
- name: Detect if arm and set build variable if yes
if: runner.arch == 'ARM64' || runner.arch == 'ARM64'
run: |
IS_ARM=ON
- name: Build samseg for python version ${{ matrix.python-version }} and test
run: |
python -m pip wheel . -w ./dist --no-deps
Expand All @@ -67,6 +72,7 @@ jobs:
ITK_DIR: ITK-install
ZLIB_INCLUDE_DIR: zlib-install/include
ZLIB_LIBRARY: zlib-install/lib/libz.a
APPLE_ARM64: $IS_ARM

- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 099f24d

Please sign in to comment.