Skip to content

Commit

Permalink
ci: build python2 from source (#33798)
Browse files Browse the repository at this point in the history
* ci: add python2 to publish jobs

* chore: install python2 via circle

Co-authored-by: VerteDinde <vertedinde@electronjs.org>
  • Loading branch information
trop[bot] and VerteDinde committed Apr 15, 2022
1 parent 542b10d commit 1f99f5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .circleci/build_config.yml
Expand Up @@ -509,7 +509,8 @@ step-install-python2-on-mac: &step-install-python2-on-mac
name: Install python2 on macos
command: |
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
step-gn-gen-default: &step-gn-gen-default
Expand Down Expand Up @@ -1519,6 +1520,7 @@ commands:
- *step-depot-tools-get
- *step-depot-tools-add-to-path
- *step-restore-brew-cache
- *step-install-python2-on-mac
- *step-get-more-space-on-mac
- when:
condition: << parameters.checkout >>
Expand Down

0 comments on commit 1f99f5b

Please sign in to comment.