169 Commits

Author SHA1 Message Date
bruvzg
a38ef2f71f [macOS] Use notarytool instead of deprecated altool.
(cherry picked from commit 7b9e4271f4)
2023-10-31 18:53:07 +01:00
Rémi Verschelde
21af2c7666 Add clean-release.sh script to remove only release artifacts 2023-07-11 16:05:45 +02:00
Rémi Verschelde
360fa39095 Add clean.sh script to removed past build artifacts 2023-06-26 19:42:46 +02:00
Rémi Verschelde
80ea8aadde Merge pull request #78 from m4gr3d/add_logic_to_upload_to_maven_central
Add logic to upload the Godot Android library to MavenCentral
2023-05-25 09:29:51 +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
e3827e123c build-release: Rename --publish-nuget option to -n
I can never remember the long form.
2022-11-16 13:44:30 +01:00
Rémi Verschelde
1dcd8b7985 Merge pull request #74 from bruvzg/win_wrapper 2022-11-04 11:07:37 +01:00
Rémi Verschelde
ef964dc2a3 Merge pull request #75 from godotengine/xcode-14.1 2022-11-04 10:10:42 +01:00
Rémi Verschelde
9ad27f9f92 Xcode: Update macOS and iOS scripts for to Xcode 14.1 (macOS 13.0, iOS 16.1) 2022-11-03 13:44:56 +01:00
bruvzg
b5240cd977 Add console wrapper app to handle console i/o redirection on Windows. 2022-10-17 11:20:16 +03:00
Rémi Verschelde
631c5d216e Merge pull request #73 from godotengine/build-release-publish-nuget-only 2022-10-13 15:29:11 +02:00
Rémi Verschelde
6d25f64f31 Merge pull request #72 from godotengine/unify-target-tools 2022-10-13 15:29:04 +02:00
Rémi Verschelde
eecf436ac7 build_release: Allow -b none --publish-nuget --no-cleanup --no-tarball
Useful when I forget to add `--publish-nuget` the first time and want to
bypass the builds already packaged, and only publish the nupkgs.
2022-10-13 15:26:42 +02:00
Rémi Verschelde
f95a42611b Unify target/tools arguments after upstream change 2022-10-13 14:10:59 +02:00
Rémi Verschelde
872c9bfe0e Fix wildcard expansion for bash in --publish-nuget
Apparently this worked under zsh but not under bash.
2022-09-14 15:54:40 +02:00
Rémi Verschelde
4e9ee976b2 Merge pull request #70 from raulsntos/publish-nuget 2022-09-14 12:00:29 +02:00
Raul Santos
e244d6f9e3 Add support for publishing NuGet packages 2022-09-10 03:45:12 +02:00
Rémi Verschelde
9080ead63c Merge pull request #69 from godotengine/dotnet-working-desktop-builds 2022-09-09 12:55:25 +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
4a37b8e5cb Merge pull request #68 from godotengine/android-fix-arch 2022-09-07 11:56:16 +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
41f2a836cf Merge pull request #66 from godotengine/web-parallel-builds-full-lto 2022-09-07 11:12:45 +02:00
Rémi Verschelde
f37caa728a Web: Refactor build script to run in parallel with full LTO
Fabio found that full LTO produces smaller binaries than ThinLTO,
and that's quite important for the Web platform.

But for an obscure reason LLVM's full LTO cannot linking with multiple
threads, and so it's slow as heck (10-15 min per build).

So we work it around by starting all builds in parallel so that they
can all link at the same time.

The code to do so is pretty ugly, could be refactored further.
2022-09-07 11:07:21 +02:00
Rémi Verschelde
9aa0cb9d3b Merge pull request #67 from godotengine/web-templates-rename 2022-09-07 11:05:43 +02:00
Rémi Verschelde
0bd0362372 Web: Handle new template names and dlink_enabled=yes
Follow-up to https://github.com/godotengine/godot/pull/65094.

Also reverts LTO change from #62, we found that while it's much slower
to link, full LTO still produces smaller binaries and that's quite
important for the Web platform.
2022-09-07 10:28:28 +02:00
Rémi Verschelde
12627036d2 Merge pull request #64 from godotengine/godot4-dotnet 2022-08-30 10:14:49 +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
36fc7fca83 Merge pull request #65 from godotengine/js-is-web 2022-08-30 09:57:42 +02:00
Rémi Verschelde
2c6469a904 Web: Rename javascript to web 2022-08-29 15:09:39 +02:00
Rémi Verschelde
ccb6b90e0b Merge pull request #62 from godotengine/godot4-enable-web 2022-08-29 09:14:20 +02:00
Rémi Verschelde
dd1128fea0 JavaScript: Re-enable build for 4.0 now that WebGL 2 works 2022-08-26 14:44:05 +02:00
Rémi Verschelde
409efd043a Merge pull request #38 from godotengine/godot4 2022-08-26 14:43:47 +02:00
Rémi Verschelde
0bcbc8fca2 Merge pull request #60 from aaronfranke/use-arch-btw 2022-08-25 17:09:35 +02:00
Aaron Franke
d68cf1a26e CPU architecture name changes for Windows/Linux outputs from SCons 2022-08-25 09:28:45 -05:00
Rémi Verschelde
83b71cbf8b macOS: Change option for Vulkan SDK 2022-07-26 12:06:23 +02:00
Aaron Franke
9973556e65 CPU architecture name changes for Windows, Mac, and Linux templates 2022-07-26 12:05:43 +02:00
Aaron Franke
e544bb91dc CPU architecture folder name changes 2022-07-22 18:30:56 -05:00
bruvzg
0dc9509c1f Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 12:23:09 +02:00
Rémi Verschelde
0fe855cc72 macOS: Disable volk to link MoltenVK statically 2022-07-21 12:23:09 +02:00
Rémi Verschelde
edd1194d3f macOS and iOS: Link MoltenVK statically
Also move angle to a 'deps' folder for all downloaded or manually copied
deps used by the builds.
2022-07-21 12:23:09 +02:00
Rémi Verschelde
6463e8b60a Port scripts to Godot 4.0.dev, remove server build
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.
2022-07-21 12:23:09 +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
b2aef95606 Merge pull request #56 from godotengine/img-update 2022-06-27 12:22:12 +02:00
Rémi Verschelde
4c9e58d98f Use new containers with Mono 6.12.0.182, Android NDK r23, Emscripten 3.1.14 2022-06-27 12:19:24 +02:00
Rémi Verschelde
135ad22e07 Merge pull request #55 from godotengine/windows-mono-bat-console
Windows: Add .cmd script to run Mono editor with console
2022-06-10 12:19:07 +02:00
Rémi Verschelde
26bb927614 Windows: Add .cmd script to run Mono editor with console
Same as done for non-Mono builds already.
Fixes https://github.com/godotengine/godot/issues/61672.
2022-06-10 12:17:13 +02:00
Rémi Verschelde
81c1fa10ef Merge pull request #54 from godotengine/img-f36-xcode13
Use new containers with Fedora 36, Mono 6.12.0.179, Xcode 13.3.1
2022-05-24 10:41:18 +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
6ebf52fda5 Merge pull request #53 from godotengine/osslsigncode-from-PATH 2022-05-10 13:41:13 +02:00