fix: did fix?
This commit is contained in:
parent
d01503cca5
commit
b9e405bc7d
21
.github/workflows/nuitka.yml
vendored
21
.github/workflows/nuitka.yml
vendored
@ -57,14 +57,15 @@ jobs:
|
|||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
$arg = "--standalone --assume-yes-for-download --output-dir=build "
|
action_build.ps1
|
||||||
$arg += "--msvc=latest --clang --lto=no "
|
# $arg = "--standalone --assume-yes-for-download "
|
||||||
$arg += "--nofollow-import-to=objprint,numpy,pillow,cffi,PIL,pyglet "
|
# $arg += "--msvc=latest --clang --lto=no --output-dir=build "
|
||||||
$arg += "--include-data-dir=./libs/pyglet=./pyglet "
|
# $arg += "--nofollow-import-to=objprint,numpy,pillow,cffi,PIL,pyglet "
|
||||||
$arg += "--include-data-dir=./libs/fonts=./libs/fonts "
|
# $arg += "--include-data-dir=./libs/pyglet=./pyglet "
|
||||||
$arg += "--include-data-dir=./textures=./textures "
|
# $arg += "--include-data-dir=./libs/fonts=./libs/fonts "
|
||||||
$arg += "--include-data-dir=./configs=./configs"
|
# $arg += "--include-data-dir=./textures=./textures "
|
||||||
python -m nuitka $arg DR.py
|
# $arg += "--include-data-dir=./configs=./configs "
|
||||||
|
# python -m nuitka $arg DR.py
|
||||||
|
|
||||||
- name: Build on MacOS / Linux
|
- name: Build on MacOS / Linux
|
||||||
if: ${{ runner.os == 'macOS' || runner.os == 'Linux' }}
|
if: ${{ runner.os == 'macOS' || runner.os == 'Linux' }}
|
||||||
@ -89,6 +90,4 @@ jobs:
|
|||||||
# with:
|
# with:
|
||||||
# name: ${{ runner.os }} Build
|
# name: ${{ runner.os }} Build
|
||||||
# path: |
|
# path: |
|
||||||
# build/*.exe
|
# build/*.zip
|
||||||
# build/*.bin
|
|
||||||
# build/*.app/**/*
|
|
1
action_build.ps1
Normal file
1
action_build.ps1
Normal file
@ -0,0 +1 @@
|
|||||||
|
python -m nuitka --standalone --assume-yes-for-download --msvc=latest --clang --lto=no --output-dir=build --nofollow-import-to=objprint,numpy,pillow,cffi,PIL,pyglet --include-data-dir=./libs/pyglet=./pyglet --include-data-dir=./libs/fonts=./libs/fonts --include-data-dir=./textures=./textures --include-data-dir=./configs=./configs DR.py
|
@ -1,11 +0,0 @@
|
|||||||
$start_time = Get-Uptime
|
|
||||||
Write-Output $start_time
|
|
||||||
python3.8.exe -m nuitka --jobs=24 --mingw64 --lto=no --show-memory --show-progress --output-dir=build/nuitka1 --include-data-dir=./configs=./configs --include-data-dir=./libs/fonts=./libs/fonts --include-data-dir=./textures=./textures --include-data-dir=./libs/pyglet=./pyglet --enable-plugin=numpy --nofollow-import-to=objprint,numpy,pillow,cffi,PIL,pyglet --standalone $args .\DR.py
|
|
||||||
$end_time = Get-Uptime
|
|
||||||
$out = $end_time.TotalMilliseconds - $start_time.TotalMilliseconds
|
|
||||||
Write-Output $end_time.TotalSeconds $start_time.TotalSeconds $out s
|
|
||||||
Write-Output $start_time $end_time
|
|
||||||
Write-Output "--jobs=24 --mingw64 --lto=no and $args"
|
|
||||||
# --include-data-dir=./libs/pyglet=./pyglet
|
|
||||||
# --run
|
|
||||||
# --disable-ccache
|
|
Loading…
Reference in New Issue
Block a user