feat: show progress in nuitka buid
This commit is contained in:
parent
00890b6e31
commit
873705bace
9
.github/workflows/nuitka.yml
vendored
9
.github/workflows/nuitka.yml
vendored
@ -33,7 +33,7 @@ jobs:
|
|||||||
id: get_short_sha
|
id: get_short_sha
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
$short_sha = echo $`{GITHUB_SHA`}
|
$short_sha = Write-Output $`{GITHUB_SHA`}
|
||||||
$short_sha = $short_sha.substring(1,7)
|
$short_sha = $short_sha.substring(1,7)
|
||||||
Write-Output "short_sha=$short_sha" >> $GITHUB_OUTPUT
|
Write-Output "short_sha=$short_sha" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
@ -63,6 +63,7 @@ jobs:
|
|||||||
$arg = @()
|
$arg = @()
|
||||||
$arg += @("--standalone")
|
$arg += @("--standalone")
|
||||||
$arg += @("--assume-yes-for-download")
|
$arg += @("--assume-yes-for-download")
|
||||||
|
$arg += @("--show-progress")
|
||||||
$arg += @("--msvc=latest")
|
$arg += @("--msvc=latest")
|
||||||
$arg += @("--clang")
|
$arg += @("--clang")
|
||||||
$arg += @("--lto=no")
|
$arg += @("--lto=no")
|
||||||
@ -79,7 +80,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
arg="--standalone --assume-yes-for-download --output-dir=build "
|
arg="--standalone --assume-yes-for-download --output-dir=build "
|
||||||
arg+="--clang --lto=no "
|
arg+="--clang --lto=no --show-progress "
|
||||||
arg+="--nofollow-import-to=objprint,numpy,pillow,cffi,PIL,pyglet "
|
arg+="--nofollow-import-to=objprint,numpy,pillow,cffi,PIL,pyglet "
|
||||||
arg+="--include-data-dir=./libs/pyglet=./pyglet "
|
arg+="--include-data-dir=./libs/pyglet=./pyglet "
|
||||||
arg+="--include-data-dir=./libs/fonts=./libs/fonts "
|
arg+="--include-data-dir=./libs/fonts=./libs/fonts "
|
||||||
@ -91,9 +92,9 @@ jobs:
|
|||||||
run: python after_compile.py
|
run: python after_compile.py
|
||||||
|
|
||||||
# Uploads artifact
|
# Uploads artifact
|
||||||
- name: Upload Artifact (powershell)
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ runner.os }} Build.${{ github.run_number}}+${{ steps.get_short_sha.outputs.short_sha }}
|
name: ${{ runner.os }}-${{ matrix.python-version }}-Build.${{ github.run_number}}+${{ steps.get_short_sha.outputs.short_sha }}
|
||||||
path: |
|
path: |
|
||||||
build/*.zip
|
build/*.zip
|
Loading…
Reference in New Issue
Block a user