Skip to content

Commit 5e30b77

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

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,9 +34,12 @@ 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 }}
40+
if: matrix.os != "macos-13"
41+
env:
42+
PYENCHANT_LIBRARY_PATH=/opt/homebrew/lib/libenchant-2.dylib
4043
steps:
4144
- uses: actions/checkout@v4
4245
with:

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