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>
iOS builds now use the godot-embedded build container, like visionOS
(and eventually tvOS).
Refactored iOS build script to be easier to maintain and duplicate
for visionOS.
Co-authored-by: Rémi Verschelde <rverschelde@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.
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.
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).
- Drop unused mandatory -t argument in build.sh.
- Remove infinite retries for OSX and iOS, builds now seem to
succeed right away and it prevents exiting the script.
- Factor out iOS SDK version.
- Make build order consistent in build.sh and build-release.sh
- Removing trailing whitespace.