mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2025-01-08 10:40:41 +01:00
test
This commit is contained in:
parent
978d7635f4
commit
da7d5f78a2
51
.github/workflows/build.yml
vendored
51
.github/workflows/build.yml
vendored
@ -41,18 +41,19 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# os: [windows-latest, ubuntu-latest, macos-latest]
|
# os: [windows-latest, ubuntu-latest, macos-latest]
|
||||||
os: [ubuntu-latest]
|
# os: [ubuntu-latest]
|
||||||
|
os: [windows-latest]
|
||||||
include:
|
include:
|
||||||
# - os: windows-latest
|
- os: windows-latest
|
||||||
# pyinstaller-options: --console --icon ../../assets/sc64_logo_256_256.png
|
pyinstaller-options: --console --icon ../../assets/sc64_logo_256_256.png
|
||||||
# package-name: sc64-windows
|
package-name: sc64-windows
|
||||||
# package-options: -c -a -f
|
package-options: -c -a -f
|
||||||
# package-extension: zip
|
package-extension: zip
|
||||||
|
|
||||||
- os: ubuntu-latest
|
# - os: ubuntu-latest
|
||||||
package-name: sc64-linux
|
# package-name: sc64-linux
|
||||||
package-options: -czf
|
# package-options: -czf
|
||||||
package-extension: tgz
|
# package-extension: tgz
|
||||||
|
|
||||||
# - os: macos-latest
|
# - os: macos-latest
|
||||||
# pyinstaller-options: --console --icon ../../assets/sc64_logo_256_256.png
|
# pyinstaller-options: --console --icon ../../assets/sc64_logo_256_256.png
|
||||||
@ -71,25 +72,29 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: 3.11
|
python-version: 3.11
|
||||||
|
|
||||||
# - name: Download pyinstaller repository
|
- name: Download pyinstaller repository
|
||||||
# user: actions/checkout@v3
|
user: actions/checkout@v3
|
||||||
# with:
|
with:
|
||||||
# repository: 'https://github.com/pyinstaller/pyinstaller.git'
|
repository: 'https://github.com/pyinstaller/pyinstaller.git'
|
||||||
# ref: 'v5.8.0'
|
ref: 'v5.8.0'
|
||||||
# path: pyinstaller
|
path: pyinstaller
|
||||||
|
|
||||||
# - name: Compile pyinstaller bootloader
|
- name: Compile and install pyinstaller
|
||||||
# run: python ./waf all
|
run: |
|
||||||
# working-directory: pyinstaller/bootloader
|
pushd bootloader
|
||||||
|
python3 ./waf all
|
||||||
|
popd
|
||||||
|
python3 setup.py install
|
||||||
|
working-directory: pyinstaller
|
||||||
|
|
||||||
- name: Install python requirements
|
- name: Install python requirements
|
||||||
run: pip install -r requirements.txt pyinstaller
|
run: pip install -r requirements.txt #pyinstaller
|
||||||
working-directory: sw/pc
|
working-directory: sw/pc
|
||||||
env:
|
# env:
|
||||||
PYINSTALLER_COMPILE_BOOTLOADER: true
|
# PYINSTALLER_COMPILE_BOOTLOADER: true
|
||||||
|
|
||||||
- name: Create sc64 executable
|
- name: Create sc64 executable
|
||||||
run: pyinstaller --clean --onefile ${{ matrix.pyinstaller-options }} sc64.py
|
run: python3 -m PyInstaller --clean --onefile ${{ matrix.pyinstaller-options }} sc64.py
|
||||||
working-directory: sw/pc
|
working-directory: sw/pc
|
||||||
|
|
||||||
- name: Package executable
|
- name: Package executable
|
||||||
|
Loading…
Reference in New Issue
Block a user