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.

(cherry picked from commit 6475c676a8)
This commit is contained in:
Rémi Verschelde 2022-02-22 13:10:12 +01:00
parent c82740e101
commit df9392c4c7
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ jobs:
cache-name: linux-editor-mono cache-name: linux-editor-mono
target: release_debug target: release_debug
tools: true tools: true
sconsflags: module_mono_enabled=yes mono_glue=no sconsflags: module_mono_enabled=yes mono_static=yes mono_glue=no
bin: "./bin/godot.x11.opt.tools.64.mono" bin: "./bin/godot.x11.opt.tools.64.mono"
build-mono: true build-mono: true
artifact: true artifact: true
@ -42,7 +42,7 @@ jobs:
cache-name: linux-template-mono cache-name: linux-template-mono
target: release target: release
tools: false tools: 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 build-mono: false
artifact: true artifact: true

View File

@ -4,7 +4,7 @@ on: [push, pull_request]
# Global Settings # Global Settings
env: env:
GODOT_BASE_BRANCH: 3.4 GODOT_BASE_BRANCH: 3.4
SCONSFLAGS: verbose=yes warnings=all werror=yes debug_symbols=no module_mono_enabled=yes mono_glue=no SCONSFLAGS: verbose=yes warnings=all werror=yes debug_symbols=no module_mono_enabled=yes mono_static=yes mono_glue=no
concurrency: concurrency:
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-server group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-server