280 Commits

Author SHA1 Message Date
Rémi Verschelde
78d64f285a macOS: Disable LDID fake signing for arm64
It doesn't work and makes it impossible to sign binaries properly
without using --force.
2021-03-28 01:26:44 +01:00
Rémi Verschelde
e0d7b61e0e Strip Linux and macOS binaries in addition to Windows ones
For other platforms:

- Android is stripped by gradle already.
- HTML5 already has stripped release builds.
  Debug builds could be stripped with fastcomp's wasm-strip but it might be
  deprecated?
- iOS is a static lib and shouldn't be stripped.
- UWP can't be stripped by default GNU strip it seems.
2021-03-28 01:26:44 +01:00
Rémi Verschelde
55373a69fb macOS: Make notarization waiting loop more reliable
The previous one would sometime return early even though it's still 'in progress'.
Hopefully this command is more reliable.
2021-03-28 01:26:44 +01:00
Rémi Verschelde
e4c94535c7 Merge pull request #28 from Faless/js/editor_zip
[HTML5] Produce the editor zip in release folder.
2021-03-14 12:25:39 +01:00
Fabio Alessandrelli
236efef7aa [HTML5] Produce the editor zip in release folder.
It's time we start distributing the web editor as self-hostable
application if so desired.
2021-03-14 12:00:15 +01:00
Rémi Verschelde
365596d3f0 Fix Mono Windows signing after #24 2021-03-09 08:35:06 +01:00
Rémi Verschelde
38be71ef26 Merge pull request #27 from bruvzg/macos_gdn_load
Add `Disable Library Validation` entitlement.
2021-03-09 08:33:23 +01:00
bruvzg
6e1556cf2b Add Disable Library Validation entitlement to allow loading GDNative plug-ins, without requiring code signing. 2021-03-09 08:14:29 +02:00
Rémi Verschelde
8d9ed90058 Merge pull request #26 from goostengine/gitignore-angle
Add `angle.7z` to `.gitignore`
2021-03-06 18:14:03 +01:00
Rémi Verschelde
2e2fa65c67 Merge pull request #25 from goostengine/config-build-name
Make `BUILD_NAME` globally configurable
2021-03-06 16:21:59 +01:00
Andrii Doroshenko (Xrayez)
f40716e53e Make BUILD_NAME globally configurable 2021-03-06 17:16:24 +02:00
Andrii Doroshenko (Xrayez)
33c8511a37 Add angle.7z to .gitignore
Generated by UWP build scripts.
2021-03-06 17:03:18 +02:00
Rémi Verschelde
f3a5097159 Merge pull request #24 from godotengine/macos-mono-codesign
Mono/macOS: Change .app packaging and codesign editor binary
2021-03-04 15:55:25 +01:00
Rémi Verschelde
c371cddcb5 Mono/macOS: Codesign the editor binary
Using --deep to also sign the AOT cross-compilers.
2021-03-04 15:19:10 +01:00
Rémi Verschelde
a5d0f200b2 Mono/macOS: Change .app packaging following https://github.com/godotengine/godot/pull/43768
This allows signing the editor .app (will be done in next commit) and should
let users sign their macOS exports.

Co-authored-by: Shane Liesegang <shane@techie.net>
2021-03-04 15:19:10 +01:00
Rémi Verschelde
e0da42acd5 Merge pull request #23 from naithar/fix/macos-editor-entitlements
macOS editor entitlements
2021-03-02 13:25:44 +01:00
Sergey Minakov
6499c248c1 macOS runtime entitlements
Enables permission request to camera and microphone for signed .app
2021-02-28 03:55:09 +03:00
Rémi Verschelde
abe22bbfcb Fix permissions on generated files/folders when running as sudo 2021-02-24 12:01:06 +01:00
Rémi Verschelde
5bc7435255 Merge pull request #22 from godotengine/production-settings
Use new production=yes option
2021-02-22 14:43:23 +01: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
37ecf63e62 Merge pull request #19 from godotengine/linux32-use-gcc4.8
Linux: Use GCC 4.8 for 32-bit x86
2021-02-22 12:13:04 +01:00
Rémi Verschelde
0a5547b12c Linux: Use GCC 4.8 for 32-bit x86
Also remove the definition of use_static_cpp as this is now done
automatically in the SCons script.
2021-02-22 12:09:31 +01:00
Rémi Verschelde
02510df163 Merge pull request #20 from Faless/js/editor
[HTML5] Add tools builds to release scripts.
2021-02-12 20:24:16 +01:00
Fabio Alessandrelli
21da21455b [HTML5] Add tools builds to release scripts.
Will unpack the zip, compress each file with brotli, and place them into
the `web` folder (to be uploaded to the web editor host server).
2021-02-12 19:15:13 +01:00
Hein-Pieter van Braam-Stewart
1dddb1fb3a Add support for signing OSX binaries
Note this requires a real mac (for now)
2021-02-12 17:52:15 +01:00
Rémi Verschelde
7024ac71f9 Merge pull request #18 from godotengine/ios-plugins-3.2.4
iOS: arkit and camera no longer built here as of 3.2.4
2021-01-27 21:09:25 +01:00
Rémi Verschelde
6bee8dec2e iOS: arkit and camera no longer built here as of 3.2.4 2021-01-27 21:08:23 +01:00
Rémi Verschelde
cab5d6f3c8 Merge pull request #17 from godotengine/versions-update
Mono 6.12.0.114, EMSDK values now defined in container
2021-01-27 21:07:01 +01:00
Rémi Verschelde
8eae1668f5 Mono 6.12.0.114, EMSDK values now defined in container 2021-01-27 21:05:01 +01:00
Rémi Verschelde
74cc8c712c macOS: Temporarily build Mono without ARM64
We don't have containers with ARM64 Mono yet.
This can be reverted once we do.
2020-12-10 21:20:33 +01:00
Rémi Verschelde
0d85e09ebd Merge pull request #14 from godotengine/js-threads-gdnative
JS: Build with threads and gdnative where supported + re-enable LTO
2020-12-10 14:26:20 +01:00
Rémi Verschelde
1bd06975a9 JS: Build with threads and gdnative where supported
Classical builds now use Emscripten 2.0.10 and have threads and gdnative
templates.

Mono builds still use Emscripten 1.39.9 for compatibility with Mono 6.12.x, so
they cannot have GDNative support which requires 2.0.10+. And threads build
triggers wasm-ld errors without LTO, and wasm-ld crash with LTO, so no dice
there either.

Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
2020-12-10 12:28:33 +01:00
Rémi Verschelde
37d7666b7b JS: Re-enable LTO for classical builds
I had done this locally already but somehow forgot to commit and lost the changes,
so re-doing.

Not enabling it for Mono builds as it causes errors (or crashes with threads enabled)
with Emscripten 1.39.9.
2020-12-10 12:27:51 +01:00
Rémi Verschelde
fe6e7b1e4e Use GCC 9 on Linux 2020-12-10 10:15:30 +01:00
Rémi Verschelde
744b520910 Skip download by default 2020-11-26 16:21:11 +01:00
Rémi Verschelde
463b957716 Merge pull request #10 from godotengine/macos-arm64
OSX: Build universal binaries with ARM64
2020-11-20 17:18:08 +01:00
Rémi Verschelde
c44015dcec OSX: Build universal binaries with ARM64 2020-11-19 13:09:49 +01:00
Rémi Verschelde
9ddda05e01 Build against containers with Xcode 12.0.1 2020-11-19 13:07:35 +01:00
Rémi Verschelde
046ad85d00 Bump image version to 3.2-mono-6.12.0.111 2020-11-19 13:06:11 +01:00
Rémi Verschelde
279085ccce JS: Disable LTO again, doesn't work with emscripten 1.38.47-upstream
I'll re-enable it later once I find time to upgrade the containers for a more recent Mono
version and the matching Emscripten version.
2020-09-01 13:30:50 +02:00
Rémi Verschelde
4797f217f0 Merge pull request #12 from Faless/js/lto
JavaScript: Enable lto.
2020-08-27 23:51:20 +02:00
Fabio Alessandrelli
964f9ca78f JavaScript: Enable lto. 2020-08-27 22:26:46 +01:00
Rémi Verschelde
7a413ea5ec UWP: Use NUM_CORES instead of hardcoding -j4, it seems to work 2020-07-31 13:30:10 +02:00
Rémi Verschelde
4b05de4339 build.sh: Validation version in Git repo to prevent mismatch 2020-07-31 13:29:23 +02:00
Rémi Verschelde
3a3777b4db Merge pull request #9 from godotengine/android-aar-mono
Android: Add .mono suffix for the Mono-enabled AAR
2020-06-22 08:47:35 +02:00
Rémi Verschelde
e365a856d3 Merge pull request #8 from godotengine/mono-ubuntu-cil
Mono: Workaround segfault issue with Mono MSBuild on Ubuntu 14.04
2020-06-22 08:47:26 +02:00
Rémi Verschelde
5167633b6a Android: Add .mono suffix for the Mono-enabled AAR 2020-06-22 08:45:39 +02:00
Rémi Verschelde
5a7ffb3722 Mono: Workaround segfault issue with Mono MSBuild on Ubuntu 14.04
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.
2020-06-05 13:47:37 +02:00
Rémi Verschelde
4d8e6dcb49 Android: Include 'status' in AAR lib name
Follow-up to https://github.com/godotengine/godot-build-scripts/issues/6#issuecomment-635962906.
2020-06-05 13:32:09 +02:00
Rémi Verschelde
7b2cf596dc Merge pull request #7 from godotengine/android-lib-standalone
Android: Provide godot-lib.release.aar in download folder
2020-05-22 11:30:42 +02:00