浏览代码

CI: Use mono_static=yes for Mono builds

This removes the dependency on shared libmonosgen installed locally
and makes the artifacts usable as standalone for testing without
needing a full Mono install.
Rémi Verschelde 3 年之前
父节点
当前提交
ce09a47db4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      .github/workflows/linux_builds.yml

+ 2 - 2
.github/workflows/linux_builds.yml

@@ -23,7 +23,7 @@ jobs:
             target: release_debug
             tools: true
             tests: false # Disabled due freeze caused by mix Mono build and CI
-            sconsflags: module_mono_enabled=yes mono_glue=no
+            sconsflags: module_mono_enabled=yes mono_static=yes mono_glue=no
             doc-test: true
             bin: "./bin/godot.linuxbsd.opt.tools.64.mono"
             build-mono: true
@@ -47,7 +47,7 @@ jobs:
             target: release
             tools: false
             tests: false
-            sconsflags: module_mono_enabled=yes mono_glue=no debug_symbols=no
+            sconsflags: module_mono_enabled=yes mono_static=yes mono_glue=no debug_symbols=no
             build-mono: false
             artifact: true