mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2025-02-18 13:06:19 +01:00
test
This commit is contained in:
parent
bf935f3827
commit
0203cbc530
68
.github/workflows/build.yml
vendored
68
.github/workflows/build.yml
vendored
@ -13,27 +13,27 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-fw-hw-sw:
|
# build-fw-hw-sw:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
# steps:
|
||||||
- name: Git checkout
|
# - name: Git checkout
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build script
|
# - name: Build script
|
||||||
run: ./docker_build.sh release --force-clean
|
# run: ./docker_build.sh release --force-clean
|
||||||
|
|
||||||
- name: Upload artifact
|
# - name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
# uses: actions/upload-artifact@v3
|
||||||
with:
|
# with:
|
||||||
name: SC64
|
# name: SC64
|
||||||
path: SC64.zip
|
# path: SC64.zip
|
||||||
|
|
||||||
- name: Upload release assets
|
# - name: Upload release assets
|
||||||
if: github.event_name == 'release' && github.event.action == 'created'
|
# if: github.event_name == 'release' && github.event.action == 'created'
|
||||||
uses: softprops/action-gh-release@v0.1.15
|
# uses: softprops/action-gh-release@v0.1.15
|
||||||
with:
|
# with:
|
||||||
files: SC64.zip
|
# files: SC64.zip
|
||||||
|
|
||||||
build-apps:
|
build-apps:
|
||||||
strategy:
|
strategy:
|
||||||
@ -42,13 +42,15 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
name: Apps-Windows
|
name: Apps-Windows
|
||||||
zip: tar.exe -a -c -f
|
options: --console
|
||||||
|
# zip: tar.exe -a -c -f
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
name: Apps-Linux
|
name: Apps-Linux
|
||||||
zip: zip -r
|
# zip: zip -r
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
name: Apps-macOS
|
name: Apps-macOS
|
||||||
zip: zip -r
|
options: --console
|
||||||
|
# zip: zip -r
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
@ -66,12 +68,12 @@ jobs:
|
|||||||
working-directory: sw/pc
|
working-directory: sw/pc
|
||||||
|
|
||||||
- name: Create sc64 executable
|
- name: Create sc64 executable
|
||||||
run: pyinstaller --onefile sc64.py
|
run: pyinstaller --clean --onefile ${{ matrix.options }} sc64.py
|
||||||
working-directory: sw/pc
|
working-directory: sw/pc
|
||||||
|
|
||||||
- name: Create primer executable
|
# - name: Create primer executable
|
||||||
run: pyinstaller --onefile primer.py
|
# run: pyinstaller --onefile primer.py
|
||||||
working-directory: sw/pc
|
# working-directory: sw/pc
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
@ -79,13 +81,13 @@ jobs:
|
|||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.name }}
|
||||||
path: sw/pc/dist/*
|
path: sw/pc/dist/*
|
||||||
|
|
||||||
- name: Zip release executables
|
# - name: Zip release executables
|
||||||
if: github.event_name == 'release' && github.event.action == 'created'
|
# if: github.event_name == 'release' && github.event.action == 'created'
|
||||||
run: ${{ matrix.zip }} ${{ matrix.name }}.zip *
|
# run: ${{ matrix.zip }} ${{ matrix.name }}.zip *
|
||||||
working-directory: sw/pc/dist
|
# working-directory: sw/pc/dist
|
||||||
|
|
||||||
- name: Upload release assets
|
# - name: Upload release assets
|
||||||
if: github.event_name == 'release' && github.event.action == 'created'
|
# if: github.event_name == 'release' && github.event.action == 'created'
|
||||||
uses: softprops/action-gh-release@v0.1.15
|
# uses: softprops/action-gh-release@v0.1.15
|
||||||
with:
|
# with:
|
||||||
files: sw/pc/dist/${{ matrix.name }}.zip
|
# files: sw/pc/dist/${{ matrix.name }}.zip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user