This is eventually meant to be unified with the "classical" builds,
but for the initial testing we start with a dedicated "dotnet" build.
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Follow-up to https://github.com/godotengine/build-containers/pull/128.
Also reverts #88 since these new images include JDK 17, and the closure
compiler issue was fixed upstream.
And removes the manual install of gettext which is now also part of the
images.
X11 libs should not be needed to generate the Mono glue anymore (they've been
unnecessary for a while already).
This enables compiling the PO files to smaller binary MO files,
reducing the size of the editor binary which embeds them.
gettext will be added to the base container but I haven't done it
yet, so for now adding it manually here.
The `server` platform has now been replaced by the "headless" `DisplayServer`
which is registered on all desktop platforms.
Disable JavaScript and UWP builds which are not currently supported in 4.0.
Cf. https://github.com/godotengine/build-containers/pull/84
- Linux builds are now done on Fedora using a custom Godot SDK instead of
relying on an old Ubuntu version for portability.
Removes need for various workarounds.
- macOS Mono builds now include support for Apple Silicon / arm64, both
architectures are concatenated in universal binaries.
This new config is compatible with the `3.x` branch for Godot 3.4.
It might or might not work as is for `master` / Godot 4.0. Porting it will
be the next step.
Equivalent to debug_symbols=no use_lto=yes use_static_cpp=yes.
We keep LTO disabled for iOS as users need to relink on deploy, and that's very slow
and memory hungry with LTO.
Using the dotnet CLI can be a valid workaround, but it's not available
for 32-bit Linux.
Instead, we build the Godot API and GodotTools solutions (CIL) on Fedora
in the mono-glue container, and copy them to the Ubuntu-based Linux
containers.
The in-container build scripts now get passed CLASSICAL and MONO env
variables which can be used to build one or the other, or both
(default).
`build.sh`, `build-release.sh` and `build-templates.sh` now all expect
command line switches to specify the version details, and optionally
which flavor to build.
For example to build Mono only:
./build.sh -v 3.2-beta4 -g master -b mono
./build-release.sh -v 3.2-beta4 -b mono
./build-templates.sh -v 3.2-beta4 -t 3.2.beta4 -b mono
Also took the opportunity to do some extra cleanup, like removing
unnecessary `builtin_*` options since they all default to True, even
for Linux in 3.2, as well as `use_lto` and `use_static_cpp` options
on platforms which don't implement them.
And I improved the `build-release.sh` script to be a bit easier to
read, and avoid having too many stray folders to cleanup.
The build scripts should now generate the final structure that we'd use
on the official mirrors, with the `mono` distribution as a subfolder of
the main release folder.
- Add Mono builds for Android.
- Remove now unused `MONO*_PREFIX` env variables (replaced by `mono_prefix`
command line option).
- Update iOS to SDK 12.4 and darwin17 for proper ARKit support.
- Drop 32-bit support for iOS (armv7, x86).