-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change way of installing py3.8 on macos-14 due to dyld error
- Loading branch information
Showing
1 changed file
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,12 +25,16 @@ jobs: | |
with: | ||
python-version: "3.x" | ||
|
||
- name: Setup Python (3.8 universal2 for macOS arm64) | ||
if: matrix.os == 'macos-14' | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.8' | ||
architecture: 'x64' | ||
- name: Setup Python 3.8 universal2 on macOS arm64 | ||
if: matrix.os == 'macos-14' && runner.arch == 'ARM64' | ||
run: | | ||
if [[ $(uname -m) == 'arm64' ]]; then | ||
brew install gettext | ||
brew link --force gettext | ||
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | ||
arch -x86_64 brew install [email protected] | ||
arch -x86_64 python3.8 -m pip install --upgrade pip | ||
fi | ||
- name: Install build deps | ||
run: | | ||
|