更改构建方式

This commit is contained in:
wszqkzqk 2022-07-24 16:32:10 +08:00
parent 9b79db8de4
commit 3b8a0fb309
2 changed files with 6 additions and 4 deletions

View File

@ -127,15 +127,16 @@ jobs:
- name: Build pypvz with Nuitka
run: |
yes | python -m nuitka --standalone \
yes | python -m nuitka \
--show-progress \
--follow-imports \
--show-memory \
--output-dir=out \
--linux-onefile-icon=pypvz.ico \
--include-data-dir=resources=resources \
-o ./out/pypvz \
--remove-output \
main.py
cp ./resources ./out/resources
tar -cvpaf -C ./out out pypvz-with-python${{ matrix.python_version }}-nuitka-linux-x64.tar.zst
- name: Release the version built by nuitka

View File

@ -129,15 +129,16 @@ jobs:
- name: Build pypvz with Nuitka
run: |
yes | python -m nuitka --standalone \
yes | python -m nuitka \
--show-progress \
--follow-imports \
--show-memory \
--output-dir=out \
--linux-onefile-icon=pypvz.ico \
--include-data-dir=resources=resources \
-o ./out/pypvz \
--remove-output \
main.py
cp ./resources ./out/resources
tar -cvpaf -C ./out out pypvz-with-python${{ matrix.python_version }}-nuitka-linux-x64.tar.zst
- name: Release the version built by nuitka