Skip to content

Commit 5853f38

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

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/main.yml

Lines changed: 5 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:
@@ -64,6 +64,10 @@ jobs:
6464
brew update-reset
6565
brew install enchant
6666
fi
67+
- name Set enviornment variable for pyenchant on macOS ARM64
68+
if: ${{ matrix.os != "macos-13" }}
69+
run: |
70+
echo "PYENCHANT_LIBRARY_PATH=/opt/homebrew/lib/libenchant-2.dylib" >> $GITHUB_ENV
6771
- name: Install dependencies
6872
run: |
6973
python -m pip install --upgrade pip

.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)