Skip to content

Commit e6b2f69

Browse files
committed
Adding Mac ARM github hosted runner.
1 parent 5afc2c9 commit e6b2f69

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
needs: lint
3535
strategy:
3636
matrix: #using macos-13 because pyenchant doesn't work on macos-latest (macos 14, arm64 architecture)
37-
os: [macos-13, windows-latest, ubuntu-latest]
37+
os: [macos-latest] # macos-13, windows-latest, ubuntu-latest]
3838
python-version: ['3.9', '3.12']
3939
runs-on: ${{ matrix.os }}
4040
steps:
@@ -81,6 +81,9 @@ jobs:
8181
if: steps.nbl.outputs.any_changed == 'true'
8282
env:
8383
SIMPLE_ITK_MEMORY_CONSTRAINED_ENVIRONMENT: 1
84+
if ${{ matrix.os }} != "macos-13"]
85+
env:
86+
PYENCHANT_LIBRARY_PATH=/opt/homebrew/lib/libenchant-2.dylib
8487
run: |
8588
test_files="${{ steps.nbl.outputs.all_changed_files }}"
8689
# on windows the paths use backslashes, so replace with forward slashes

.github/workflows/scheduled_or_manual.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
sudo apt-get update
6262
sudo apt-get install enchant-2
6363
elif [ "$RUNNER_OS" == "macOS" ]; then
64+
echo "runner is ${{ matrix.os }}"
6465
brew update-reset
6566
brew install enchant
6667
fi

0 commit comments

Comments
 (0)