Skip to content

Commit ec38636

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

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
test:
3434
needs: lint
3535
strategy:
36-
matrix: #using macos-13 because pyenchant doesn't work on macos-latest (macos 14, arm64 architecture)
37-
os: [macos-13, windows-latest, ubuntu-latest]
36+
matrix: #using macos-13, last available intel architecture. macos-latest is arm64 architecture.
37+
os: [macos-13, windows-latest, ubuntu-latest, macos-latest]
3838
python-version: ['3.9', '3.12']
3939
runs-on: ${{ matrix.os }}
4040
steps:
@@ -82,6 +82,9 @@ jobs:
8282
env:
8383
SIMPLE_ITK_MEMORY_CONSTRAINED_ENVIRONMENT: 1
8484
run: |
85+
if [ "$RUNNER_OS" == "macOS" ] && [ "${{ matrix.os }}" != "macos-13" ]; then
86+
export PYENCHANT_LIBRARY_PATH=/opt/homebrew/lib/libenchant-2.dylib
87+
fi
8588
test_files="${{ steps.nbl.outputs.all_changed_files }}"
8689
# on windows the paths use backslashes, so replace with forward slashes
8790
if [ "$RUNNER_OS" == "Windows" ]; then

Python/00_Setup.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"\n",
99
"\n",
1010
"## Newcomers to Jupyter Notebooks:\n",
11-
"1. We use two types of cells, code and markdown.\n",
11+
"1. We use two types of cells, code and markdown.\n",
1212
"2. To run a code cell, select it (mouse or arrow key so that it is highlighted) and then press shift+enter which also moves focus to the next cell or ctrl+enter which doesn't.\n",
1313
"3. Closing the browser window does not close the Jupyter server. To close the server, go to the terminal where you ran it and press ctrl+c twice.\n",
1414
"\n",

0 commit comments

Comments
 (0)