43 Commits

Author SHA1 Message Date
David Snopek
7dca209db6 Automate publishing Android editor to Meta Horizon store (#138) 2025-12-12 15:02:26 +01:00
Rémi Verschelde
8a943c3f00 Add support for experimental .NET builds (GDExtension) (#136)
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>
2025-12-02 10:15:49 +01:00
Anish Kumar
38f2a5e351 Android Editor: Add release url to dev/beta/rc notes on Play Store (#134) 2025-10-27 18:29:54 +01:00
Rémi Verschelde
d72076547a Fix check for Play Store JSON upload key 2025-10-15 23:09:00 +02:00
Anish Mishra
33d44ce966 Publish Android Editor stable releases to open testing track (#130) 2025-10-14 01:01:34 +02:00
Anish Mishra
f17aad663b Automate Play Store uploads for the Android Editor (#128)
Co-authored-by: Rémi Verschelde <remi@godotengine.org>
2025-10-10 14:07:15 +02:00
Fredia Huya-Kouadio
2c4962d347 Fix native debug symbols generation 2025-06-26 00:15:51 -07:00
Rémi Verschelde
6d05bde764 Android: Clean build folder at some intermediate steps to reduce disk usage
With debug symbols, the full Android build can take around 100G currently.
2025-06-02 12:05:34 +02:00
Rémi Verschelde
8c9fd0328b Define redirect_build_objects=no to avoid copying GBs of bin/obj 2025-05-13 23:23:27 +02:00
Rémi Verschelde
7a89e9087d Merge pull request #112 from m4gr3d/enable_android_debug_symbols
Setup Android debug symbols
2025-05-13 15:48:43 +02:00
Fredia Huya-Kouadio
3a34cfa1bc Setup Android debug symbols 2025-04-22 10:49:47 -07:00
Fredia Huya-Kouadio
95ed6d23db Update the Android build scripts to allow exporting 'Godot Tools' Android library to MavenCentral 2025-03-30 19:11:43 -07:00
Rémi Verschelde
c9d351ab67 Add support for Android editor builds for PicoOS devices 2025-01-15 18:01:31 +01:00
Rémi Verschelde
8c176b460b Android: Download and copy swappy libraries 2024-11-08 14:39:11 +01:00
Rémi Verschelde
251cea182e Merge pull request #94 from raulsntos/dotnet/android-monovm
.NET: Build Android templates with 'mono' edition
2024-11-07 20:50:02 +01:00
Fredia Huya-Kouadio
5f48331f5d Update the Android editor build scripts to match the updated build flavors in https://github.com/godotengine/godot/pull/96967 2024-09-14 12:15:22 -07:00
Fredia Huya-Kouadio
fa404f8c17 Add support for Android editor builds for Meta devices (#100) 2024-09-08 23:07:07 +02:00
Raul Santos
232be2e47f .NET: Build Android templates with 'mono' edition
Build the Android templates for .NET using the 'mono' edition that contains additional dependencies required by .NET projects to support Android OS APIs (like crypto).
2024-04-29 03:56:22 +02:00
Rémi Verschelde
0f11496664 macOS/iOS: Update SDK versions to Xcode 15.2
Following merge of https://github.com/godotengine/build-containers/pull/138.
2024-03-13 22:04:40 +01:00
Rémi Verschelde
65cca8165a Update scripts for new Fedora 39 based images for 4.2-beta3 and later
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).
2023-10-24 11:45:29 +02:00
Rémi Verschelde
2c7419a7ed Android: Install JDK 17 needed for 4.2-beta2 and later
Temporary change until we switch to newer build containers with it.

Also temporarily disable closure compiler for Web editor, needed for
4.2 beta 1 and beta 2, should be fixed upstream afterwarads.
2023-10-19 10:45:43 +02:00
Rémi Verschelde
9f25ceccfb .NET: Add support for Android builds 2023-09-05 10:03:29 +02:00
Fredia Huya-Kouadio
0780ea4a4f Add logic to upload the Godot Android library to MavenCentral
Add environment variables to sign the release build for the Godot
Android editor and to publish the library to MavenCentral.
If the environment vars are not defined, we do a simple unsigned
`release_debug` build for the Android editor.

Change `config.sh.in` template to use single quotes by default, to
prevent expanding special characters in environment variables.

To publish to MavenCentral, a new `build-android/upload-mavencentral.sh`
script is added. It needs to run after the build using gradle, but we
still want it to be optional and used only when making an official
release, so we copy the compiled sources in the first step.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-05-25 09:28:43 +02:00
Rémi Verschelde
72cb40ffad Install gettext in all editor build containers
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.
2023-02-14 11:20:33 +01:00
Rémi Verschelde
f95a42611b Unify target/tools arguments after upstream change 2022-10-13 14:10:59 +02:00
Rémi Verschelde
c996282abe .NET 6: Further update build scripts for 4.0, works for desktop releases
Does not attempt to build Android, iOS and Web since it's not supported
currently.
2022-09-08 15:45:39 +02:00
Rémi Verschelde
46773439b7 Android: Fix still using android_arch over arch
Needed after https://github.com/godotengine/godot/pull/55778.
Not sure how alpha15 built properly without this :O
2022-09-07 11:52:57 +02:00
Rémi Verschelde
23187596fb .NET 6: Initial port of build scripts for 4.0
Not working yet but cleans up a lot of the Mono stuff we won't need anymore.
2022-08-30 10:12:58 +02:00
Rémi Verschelde
8405945b79 Android: Fix mono_prefix after godot-mono-builds NDK r23 support
The target options were renamed in https://github.com/godotengine/godot-mono-builds/pull/69.

Also removes the commented out code for Mono Android editor because it will
likely never be meaningful to build. There's no MSBuild on Android to compile C#.
2022-07-19 23:04:11 +02:00
Rémi Verschelde
a0675bb238 Use new containers with Fedora 36, Mono 6.12.0.179, Xcode 13.3.1
Remove ad-hoc java install from Android build script, it's now included
in the build container.
2022-05-24 10:38:22 +02:00
Rémi Verschelde
720b0fe6c0 Android: Also build editor for armv7/x86
It makes the APK twice as big but there's been some demand for it,
so let's give it a try for now.
2022-05-03 11:40:13 +02:00
Rémi Verschelde
59559971b5 Android: Add editor build for arm64v8/x86_64 (no Mono for now) 2022-03-30 15:44:10 +02:00
Rémi Verschelde
bcd0bd19bc Use new containers with mono 6.12.0.158
Also install java 11 ad hoc until new containers are built with it.
2021-10-18 23:04:08 +02:00
Andrii Doroshenko (Xrayez)
f40716e53e Make BUILD_NAME globally configurable 2021-03-06 17:16:24 +02:00
Rémi Verschelde
2190e23987 Use new production=yes option
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.
2021-02-22 12:13:13 +01:00
Rémi Verschelde
313cd37206 Android: Provide godot-lib.release.aar in download folder
Closes #6.
2020-05-22 10:53:47 +02:00
Rémi Verschelde
930cdb67c7 Mono: Add net_4_x_win and net_4_x BCLs to templates
Also accommodate recent change with mono-glue files.
2020-01-07 14:48:22 +01:00
Rémi Verschelde
340eba3966 Android: Fix packaging of Mono.Android with the bcl 2019-12-18 15:25:50 +01:00
Rémi Verschelde
067d3f3a49 Refactor build scripts to allow building only Classical or Mono
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.
2019-12-13 20:05:40 +01:00
Rémi Verschelde
77091a9872 Mono: WebAssembly and Server builds, pack BCL 2019-12-02 10:06:49 +01:00
Rémi Verschelde
0c2d825451 Port build scripts for Godot 3.2 / master branch
- 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).
2019-12-02 09:59:49 +01:00
Rémi Verschelde
09b605f7b9 Make number of build cores configurable in config.sh 2019-12-02 09:57:41 +01:00
Hein-Pieter van Braam-Stewart
8aba1f833a Initial commit 2019-10-01 22:06:35 +02:00