Skip to content

Commit

Permalink
Bump Python to 3.12, allow manual app build
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed May 25, 2024
1 parent f688748 commit febb7a7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/buildapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
tags:
- "v*"
workflow_dispatch: # allow manual trigger

jobs:
build:
Expand All @@ -23,22 +24,22 @@ jobs:
rm -fr *.p12
# security find-identity -v -p codesigning
- name: Set up Python 3.9
- name: Set up Python from python.org
run: |
curl https://www.python.org/ftp/python/3.9.13/python-3.9.13-macosx10.9.pkg --output pythonInstaller.pkg
curl https://www.python.org/ftp/python/3.12.3/python-3.12.3-macosx10.9.pkg --output pythonInstaller.pkg
sudo installer -pkg pythonInstaller.pkg -target /
- name: Check Python
run: |
python3 --version
python3 -c "import platform; print('macOS version:', platform.mac_ver()[0])"
python3-intel64 --version
python3-intel64 -c "import platform; print('macOS version:', platform.mac_ver()[0])"
- name: Checkout
uses: actions/checkout@v1

- name: Setup Virtual Environment
run: |
python3 -m venv venv
python3-intel64 -m venv venv
source venv/bin/activate
python -c "import sys; print('\n'.join(sys.path))"
Expand Down

0 comments on commit febb7a7

Please sign in to comment.