-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from thorrak/pyinstaller6
Update to PyInstaller 6
- Loading branch information
Showing
6 changed files
with
62 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
on: | ||
push: | ||
branches: | ||
- pyinstaller6 | ||
|
||
|
||
jobs: | ||
build: | ||
runs-on: 'windows-latest' | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
|
||
- run: pip install -r requirements.txt | ||
- name: rebuild bootloader | ||
run: | | ||
pip install wheel | ||
pip uninstall -y pyinstaller | ||
git clone https://github.com/pyinstaller/pyinstaller | ||
git checkout v6.1.0 | ||
cd pyinstaller | ||
cd bootloader | ||
python3 ./waf distclean all | ||
cd .. | ||
pip install . | ||
cd .. | ||
- name: compile locales | ||
run: python3 compile_languages.py locales | ||
- run: pyinstaller --log-level=DEBUG --noconfirm build-on-win.spec | ||
|
||
- name: upload artifact | ||
uses: actions/[email protected] | ||
with: | ||
path: dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
source ./venv/bin/activate | ||
|
||
git clone https://github.com/python-cffi/cffi.git | ||
cd cffi | ||
git checkout v1.16.0 | ||
|
||
python3 -m pip install build pytest | ||
|
||
# The proper SDKROOT can be found by running `xcrun --sdk macosx --show-sdk-path` -- right now, it's 14.0 | ||
MACOSX_DEPLOYMENT_TARGET='11.0' SDKROOT=macosx14.0 python3 -m build -w . | ||
python3 -m pip install dist/cffi-*universal2.whl --force-reinstall | ||
|
||
# python3 -m pytest . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters