更改构建命令
This commit is contained in:
parent
3d70794b9d
commit
3593bebf9e
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -18,6 +18,7 @@ jobs:
|
||||
matrix:
|
||||
python_version:
|
||||
- '3.10'
|
||||
- '3.11'
|
||||
name: Windows Python ${{ matrix.python_version }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@ -43,7 +44,7 @@ jobs:
|
||||
|
||||
- name: Build pypvz package
|
||||
run: |
|
||||
echo y | python -m nuitka --standalone --onefile --show-progress --show-memory --output-dir=out --windows-icon-from-ico=pypvz.ico --include-data-dir=resources=resources --include-data-file=c:\hostedtoolcache\windows\python\3.10.4\x64\lib\site-packages\pygame\libogg-0.dll=libogg-0.dll --include-data-file=c:\hostedtoolcache\windows\python\3.10.4\x64\lib\site-packages\pygame\libopus-0.dll=libopus-0.dll --include-data-file=c:\hostedtoolcache\windows\python\3.10.4\x64\lib\site-packages\pygame\libopusfile-0.dll=libopusfile-0.dll --include-data-file=c:\hostedtoolcache\windows\python\3.10.4\x64\lib\site-packages\pygame\libvorbisfile-3.dll=libvorbisfile-3.dll --include-data-file=c:\hostedtoolcache\windows\python\3.10.4\x64\lib\site-packages\pygame\libvorbis-0.dll=libvorbis-0.dll --windows-disable-console main.py
|
||||
echo y | python -m nuitka --standalone --onefile --show-progress --show-memory --output-dir=out --windows-icon-from-ico=pypvz.ico --include-data-dir=resources=resources --include-data-file=c:\hostedtoolcache\windows\python\${{ matrix.python_version }}*\x64\lib\site-packages\pygame\libogg-0.dll=libogg-0.dll --include-data-file=c:\hostedtoolcache\windows\python\${{ matrix.python_version }}*\x64\lib\site-packages\pygame\libopus-0.dll=libopus-0.dll --include-data-file=c:\hostedtoolcache\windows\python\${{ matrix.python_version }}*\x64\lib\site-packages\pygame\libopusfile-0.dll=libopusfile-0.dll --include-data-file=c:\hostedtoolcache\windows\python\${{ matrix.python_version }}*\x64\lib\site-packages\pygame\libvorbisfile-3.dll=libvorbisfile-3.dll --include-data-file=c:\hostedtoolcache\windows\python\${{ matrix.python_version }}*\x64\lib\site-packages\pygame\libvorbis-0.dll=libvorbis-0.dll --windows-disable-console main.py
|
||||
mv ./out/main.exe ./out/pypvz-with-python${{ matrix.python_version }}-windows-msvc-x64.exe
|
||||
|
||||
# artifact压缩包处上传包含exe和运行环境的文件夹
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user