更新 .github/workflows/build_win_mono.yaml

This commit is contained in:
2025-06-04 03:10:31 +08:00
parent c082f8a184
commit 26a99446f1

View File

@ -21,7 +21,6 @@ jobs:
cd mingw
tar xvf mingw.tar.xz
pipx install scons
pipx ensurepath
- name: 拉取项目
run: |
cd ${{ github.workspace }}
@ -29,7 +28,7 @@ jobs:
- name: 🚀构建🚀
run: |
cd ${{ github.workspace }}/godot
MINGW_PREFIX=${{ github.workspace }}/mingw/llvm-mingw-20241217-ucrt-ubuntu-20.04-x86_64 scons platform=windows target=editor arch=x86_64 use_mingw=yes use_llvm=yes module_mono_enabled=yes
MINGW_PREFIX=${{ github.workspace }}/mingw/llvm-mingw-20241217-ucrt-ubuntu-20.04-x86_64 ~/.local/bin/scons platform=windows target=editor arch=x86_64 use_mingw=yes use_llvm=yes module_mono_enabled=yes
ls -al ./bin/
wine ${{ github.workspace }}/godot/bin/godot.windows.editor.x86_64.llvm.mono.exe --headless --generate-mono-glue modules/mono/glue
./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin --godot-platform=windows