更改构建方式
This commit is contained in:
parent
9b79db8de4
commit
3b8a0fb309
5
.github/workflows/build-pr.yml
vendored
5
.github/workflows/build-pr.yml
vendored
@ -127,15 +127,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Build pypvz with Nuitka
|
- name: Build pypvz with Nuitka
|
||||||
run: |
|
run: |
|
||||||
yes | python -m nuitka --standalone \
|
yes | python -m nuitka \
|
||||||
--show-progress \
|
--show-progress \
|
||||||
|
--follow-imports \
|
||||||
--show-memory \
|
--show-memory \
|
||||||
--output-dir=out \
|
--output-dir=out \
|
||||||
--linux-onefile-icon=pypvz.ico \
|
--linux-onefile-icon=pypvz.ico \
|
||||||
--include-data-dir=resources=resources \
|
|
||||||
-o ./out/pypvz \
|
-o ./out/pypvz \
|
||||||
--remove-output \
|
--remove-output \
|
||||||
main.py
|
main.py
|
||||||
|
cp ./resources ./out/resources
|
||||||
tar -cvpaf -C ./out out pypvz-with-python${{ matrix.python_version }}-nuitka-linux-x64.tar.zst
|
tar -cvpaf -C ./out out pypvz-with-python${{ matrix.python_version }}-nuitka-linux-x64.tar.zst
|
||||||
|
|
||||||
- name: Release the version built by nuitka
|
- name: Release the version built by nuitka
|
||||||
|
|||||||
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -129,15 +129,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Build pypvz with Nuitka
|
- name: Build pypvz with Nuitka
|
||||||
run: |
|
run: |
|
||||||
yes | python -m nuitka --standalone \
|
yes | python -m nuitka \
|
||||||
--show-progress \
|
--show-progress \
|
||||||
|
--follow-imports \
|
||||||
--show-memory \
|
--show-memory \
|
||||||
--output-dir=out \
|
--output-dir=out \
|
||||||
--linux-onefile-icon=pypvz.ico \
|
--linux-onefile-icon=pypvz.ico \
|
||||||
--include-data-dir=resources=resources \
|
|
||||||
-o ./out/pypvz \
|
-o ./out/pypvz \
|
||||||
--remove-output \
|
--remove-output \
|
||||||
main.py
|
main.py
|
||||||
|
cp ./resources ./out/resources
|
||||||
tar -cvpaf -C ./out out pypvz-with-python${{ matrix.python_version }}-nuitka-linux-x64.tar.zst
|
tar -cvpaf -C ./out out pypvz-with-python${{ matrix.python_version }}-nuitka-linux-x64.tar.zst
|
||||||
|
|
||||||
- name: Release the version built by nuitka
|
- name: Release the version built by nuitka
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user