Skip to content

Commit 1c533b4

Browse files
authored
Update nuitka_package.yml
1 parent 33b5ac1 commit 1c533b4

1 file changed

Lines changed: 13 additions & 9 deletions

File tree

.github/workflows/nuitka_package.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,25 @@ jobs:
3535
python -m pip install --upgrade pip
3636
pip install nuitka pyyaml
3737
38-
- name: insatll mingw
39-
run: |
40-
mkdir C:\Users\%username%\AppData\Local\Nuitka\Nuitka\Cache\downloads\gcc\x86_64\14.2.0posix-19.1.1-12.0.0-msvcrt-r2
41-
curl -o C:\Users\%username%\AppData\Local\Nuitka\Nuitka\Cache\downloads\gcc\x86_64\14.2.0posix-19.1.1-12.0.0-msvcrt-r2\winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.1-mingw-w64msvcrt-12.0.0-r2.zip https://github.com/brechtsanders/winlibs_mingw/releases/download/14.2.0posix-19.1.1-12.0.0-msvcrt-r2/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.1-mingw-w64msvcrt-12.0.0-r2.zip
42-
tar -xf C:\Users\%username%\AppData\Local\Nuitka\Nuitka\Cache\downloads\gcc\x86_64\14.2.0posix-19.1.1-12.0.0-msvcrt-r2\winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.1-mingw-w64msvcrt-12.0.0-r2.zip -C C:\Users\%username%\AppData\Local\Nuitka\Nuitka\Cache\downloads\gcc\x86_64\14.2.0posix-19.1.1-12.0.0-msvcrt-r2\
38+
# - name: insatll mingw
39+
# run: |
40+
# mkdir C:\Users\%username%\AppData\Local\Nuitka\Nuitka\Cache\downloads\gcc\x86_64\14.2.0posix-19.1.1-12.0.0-msvcrt-r2
41+
# curl -o C:\Users\%username%\AppData\Local\Nuitka\Nuitka\Cache\downloads\gcc\x86_64\14.2.0posix-19.1.1-12.0.0-msvcrt-r2\winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.1-mingw-w64msvcrt-12.0.0-r2.zip https://github.com/brechtsanders/winlibs_mingw/releases/download/14.2.0posix-19.1.1-12.0.0-msvcrt-r2/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.1-mingw-w64msvcrt-12.0.0-r2.zip
42+
# tar -xf C:\Users\%username%\AppData\Local\Nuitka\Nuitka\Cache\downloads\gcc\x86_64\14.2.0posix-19.1.1-12.0.0-msvcrt-r2\winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.1-mingw-w64msvcrt-12.0.0-r2.zip -C C:\Users\%username%\AppData\Local\Nuitka\Nuitka\Cache\downloads\gcc\x86_64\14.2.0posix-19.1.1-12.0.0-msvcrt-r2\
43+
44+
# - name: Fix Python encoding (Windows)
45+
# run: |
46+
# # 设置Python使用UTF-8编码
47+
# [System.Environment]::SetEnvironmentVariable('PYTHONUTF8', '1', 'Process')
48+
# # 设置控制台编码为UTF-8
49+
# chcp.com 65001
4350

44-
- name: Fix Python encoding (Windows)
51+
- name: Run packaging script
4552
run: |
4653
# 设置Python使用UTF-8编码
4754
[System.Environment]::SetEnvironmentVariable('PYTHONUTF8', '1', 'Process')
4855
# 设置控制台编码为UTF-8
4956
chcp.com 65001
50-
51-
- name: Run packaging script
52-
run: |
5357
cd package
5458
python nuitka_build.py nuitka_config.yml
5559

0 commit comments

Comments
 (0)