mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2025-01-07 10:18:13 +01:00
test
This commit is contained in:
parent
9c8d215f33
commit
1e50980b21
25
.github/workflows/build.yml
vendored
25
.github/workflows/build.yml
vendored
@ -40,8 +40,7 @@ jobs:
|
||||
build-apps:
|
||||
strategy:
|
||||
matrix:
|
||||
# os: [windows-latest, ubuntu-latest, macos-latest]
|
||||
os: [windows-latest, ubuntu-latest]
|
||||
os: [windows-latest, ubuntu-latest, macos-latest]
|
||||
include:
|
||||
- os: windows-latest
|
||||
pyinstaller-build-options: --target-arch=64bit
|
||||
@ -55,11 +54,11 @@ jobs:
|
||||
package-options: -czf
|
||||
package-extension: tgz
|
||||
|
||||
# - os: macos-latest
|
||||
# pyinstaller-options: --console --icon ../../assets/sc64_logo_256_256.png
|
||||
# package-name: sc64-macos
|
||||
# package-options: -czf
|
||||
# package-extension: tgz
|
||||
- os: macos-latest
|
||||
pyinstaller-options: --console --icon ../../assets/sc64_logo_256_256.png
|
||||
package-name: sc64-macos
|
||||
package-options: -czf
|
||||
package-extension: tgz
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
@ -93,7 +92,7 @@ jobs:
|
||||
run: pip3 install -r requirements.txt
|
||||
working-directory: sw/pc
|
||||
|
||||
- name: Create sc64 executable
|
||||
- name: Create sc64.py executable
|
||||
run: python3 -m PyInstaller --clean --onefile ${{ matrix.pyinstaller-options }} sc64.py
|
||||
working-directory: sw/pc
|
||||
|
||||
@ -111,8 +110,8 @@ jobs:
|
||||
name: ${{ matrix.package-name }}
|
||||
path: sw/pc/package/${{ matrix.package-name }}.${{ matrix.package-extension }}
|
||||
|
||||
# - name: Upload release assets
|
||||
# if: github.event_name == 'release' && github.event.action == 'created'
|
||||
# uses: softprops/action-gh-release@v0.1.15
|
||||
# with:
|
||||
# files: sw/pc/package/${{ matrix.package-name }}.${{ matrix.package-extension }}
|
||||
- name: Upload release assets
|
||||
if: github.event_name == 'release' && github.event.action == 'created'
|
||||
uses: softprops/action-gh-release@v0.1.15
|
||||
with:
|
||||
files: sw/pc/package/${{ matrix.package-name }}.${{ matrix.package-extension }}
|
||||
|
Loading…
Reference in New Issue
Block a user