This commit is contained in:
Mateusz Faderewski 2023-02-24 18:46:45 +01:00
parent 5fff8fa65f
commit cded34c773

View File

@ -41,8 +41,7 @@ jobs:
strategy: strategy:
matrix: matrix:
# os: [windows-latest, ubuntu-latest, macos-latest] # os: [windows-latest, ubuntu-latest, macos-latest]
# os: [ubuntu-latest] os: [windows-latest, 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
@ -50,10 +49,10 @@ jobs:
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
@ -64,7 +63,7 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- name: Git checkout - name: Download SummerCart64 repository
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Setup python - name: Setup python
@ -79,11 +78,9 @@ jobs:
ref: 'v5.8.0' ref: 'v5.8.0'
path: pyinstaller path: pyinstaller
- name: Install pyinstaller requirements
run: pip3 install wheel
- name: Compile and install pyinstaller - name: Compile and install pyinstaller
run: | run: |
pip3 install wheel
pushd bootloader pushd bootloader
python3 ./waf all python3 ./waf all
popd popd
@ -93,8 +90,6 @@ jobs:
- name: Install sc64.py requirements - name: Install sc64.py requirements
run: pip3 install -r requirements.txt run: pip3 install -r requirements.txt
working-directory: sw/pc working-directory: sw/pc
# env:
# PYINSTALLER_COMPILE_BOOTLOADER: true
- name: Create sc64 executable - name: Create sc64 executable
run: python3 -m PyInstaller --clean --onefile ${{ matrix.pyinstaller-options }} sc64.py run: python3 -m PyInstaller --clean --onefile ${{ matrix.pyinstaller-options }} sc64.py