Skip to content
This repository was archived by the owner on Nov 12, 2022. It is now read-only.

Commit e35fdec

Browse files
authored
Auto merge of #561 - yvt:patch/ci-chore-python3p9, r=jdm
chore(ci): relink `python3` to `python3.9` on Homebrew Work around the other part of #559
2 parents fb1ec9f + ec6cb84 commit e35fdec

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/rust.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,18 @@ jobs:
3535
.\MozillaBuildSetup.exe /S | Out-Null
3636
iwr -useb get.scoop.sh -outfile 'install.ps1'
3737
.\install.ps1 -RunAsAdmin
38-
scoop install llvm@13.0.1 --global
38+
scoop install llvm@14.0.6 --global
3939
echo "C:\ProgramData\scoop\shims;C:\Users\runneradmin\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
40+
# TODO: Remove this step when the compatibility issue between mozjs and
41+
# Homebrew's Python 3.10 formula (servo/rust-mozjs#559) is truly fixed
42+
- name: Select Python 3.9
43+
if: startsWith(matrix.os, 'macOS')
44+
run: |
45+
brew install [email protected]
46+
cd $(dirname $(which python3.9))
47+
rm -f python3 pip3
48+
ln -s python3.9 python3
49+
ln -s pip3.9 pip3
4050
- uses: actions-rs/toolchain@v1
4151
with:
4252
profile: minimal

0 commit comments

Comments
 (0)