From 099f24d1ab58b2649e4631870d3fe4c84bbf00ff Mon Sep 17 00:00:00 2001 From: Oula Date: Mon, 23 Sep 2024 10:52:37 -0400 Subject: [PATCH] Added a arm64 flag --- .github/workflows/macos.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 754a4ae..eb8d67e 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -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 @@ -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