ci: build python2 from source (#33793)
* ci: add python2 to publish jobs * chore: install python2 via circle
This commit is contained in:
parent
f5e874cbcb
commit
8b0af86097
1 changed files with 3 additions and 1 deletions
|
@ -511,7 +511,8 @@ step-install-python2-on-mac: &step-install-python2-on-mac
|
||||||
name: Install python2 on macos
|
name: Install python2 on macos
|
||||||
command: |
|
command: |
|
||||||
if [ "`uname`" == "Darwin" ]; then
|
if [ "`uname`" == "Darwin" ]; then
|
||||||
brew install vertedinde/python2/python@2
|
curl -O https://www.python.org/ftp/python/2.7.18/python-2.7.18-macosx10.9.pkg
|
||||||
|
sudo installer -pkg python-2.7.18-macosx10.9.pkg -target /
|
||||||
fi
|
fi
|
||||||
|
|
||||||
step-gn-gen-default: &step-gn-gen-default
|
step-gn-gen-default: &step-gn-gen-default
|
||||||
|
@ -1532,6 +1533,7 @@ commands:
|
||||||
- *step-depot-tools-get
|
- *step-depot-tools-get
|
||||||
- *step-depot-tools-add-to-path
|
- *step-depot-tools-add-to-path
|
||||||
- *step-restore-brew-cache
|
- *step-restore-brew-cache
|
||||||
|
- *step-install-python2-on-mac
|
||||||
- *step-get-more-space-on-mac
|
- *step-get-more-space-on-mac
|
||||||
- when:
|
- when:
|
||||||
condition: << parameters.checkout >>
|
condition: << parameters.checkout >>
|
||||||
|
|
Loading…
Reference in a new issue