mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
chore(ci): relink python3
to python3.9
on Homebrew
Implements a work-around for the compatibility issue between mozjs and Homebrew's Python 3.10 formula.
This commit is contained in:
parent
5bebdeadbe
commit
f47a53f3b1
2 changed files with 18 additions and 0 deletions
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
|
@ -104,6 +104,15 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 2
|
||||
# TODO: Remove this step when the compatibility issue between mozjs and
|
||||
# Homebrew's Python 3.10 formula (servo/rust-mozjs#559) is fixed
|
||||
- name: Select Python 3.9
|
||||
run: |
|
||||
brew install python@3.9
|
||||
cd $(dirname $(which python3.9))
|
||||
rm -f python3 pip3
|
||||
ln -s python3.9 python3
|
||||
ln -s pip3.9 pip3
|
||||
- name: Bootstrap
|
||||
run: |
|
||||
python3 -m pip install --upgrade pip virtualenv
|
||||
|
|
9
.github/workflows/nightly.yml
vendored
9
.github/workflows/nightly.yml
vendored
|
@ -39,6 +39,15 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 2
|
||||
# TODO: Remove this step when the compatibility issue between mozjs and
|
||||
# Homebrew's Python 3.10 formula (servo/rust-mozjs#559) is fixed
|
||||
- name: Select Python 3.9
|
||||
run: |
|
||||
brew install python@3.9
|
||||
cd $(dirname $(which python3.9))
|
||||
rm -f python3 pip3
|
||||
ln -s python3.9 python3
|
||||
ln -s pip3.9 pip3
|
||||
- name: Bootstrap
|
||||
run: |
|
||||
python3 -m pip install --upgrade pip virtualenv
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue