Commit graph

31 commits

Author SHA1 Message Date
totlmstr
cae1844c5c
[3.x] Add option modules_enabled_by_default and minimal CI build
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: aaronfranke <arnfranke@yahoo.com>
2024-04-18 15:54:54 -07:00
Rémi Verschelde
cb0ee90fde
CI: Bump version for actions/checkout@v4
(cherry picked from commit de14f1d295)
2023-10-30 14:49:13 +01:00
Rémi Verschelde
b08e61640f
CI: Free disk space on Linux runners
Removing the Android toolchain saves 14 GiB, which gives us more room
for growth and to avoid running into out-of-space errors in the Linux
sanitizers + debug symbols builds.

Related to #79919, though the caches were just one part of the problem,
the real issue is that our Linux sanitizers builds take 12 GiB, and
adding godot-cpp on top with 2 GiB leaves only a few GiB left for the
cache itself.

(cherry picked from commit 611123f7fd)
2023-08-29 12:42:10 +02:00
yedpodtrzitko
886cc22e9b
ci: wait for static check results before starting builds
(cherry picked from commit 93b7bcb33d)
2023-08-29 12:42:08 +02:00
Raul Santos
72b6c4062a Add GCC problem matcher to CI
(cherry picked from commit d3641c9d0d)
2022-12-12 13:52:38 +08:00
Rémi Verschelde
abaa76fcf9 CI: Sync configuration with master branch
Updates various actions to latest versions:

actions/cache@v3
actions/checkout@v3
actions/upload-artifact@v3
actions/setup-dotnet@v2
actions/setup-java@v3
actions/setup-python@v4
mymindstorm/setup-emsdk@v11
2022-08-25 14:11:54 +02:00
Rémi Verschelde
0bed7ea63f
Merge pull request #61316 from bruvzg/tts_3x
[3.x] Backport text-to-speech support.
2022-08-05 23:45:51 +02:00
Rémi Verschelde
5bb3063eec SCons: Refactor Linux linker options with linker=<bfd|gold|lld|mold>
The new option is `linker` and lets the user specify the argument to
the`-fuse_ld=` linker flag directly. The supported options are:

- `default`: No change, typically uses GNU ld (bfd) unless the user or
  distro picked a different default `/usr/bin/ld`.
- `bfd`: GNU ld from binutils
- `gold`: GNU gold from binutils
- `lld`: lld from LLVM
- `mold`: mold, an extremely fast modern linker, not (yet) intended for
  use in production but great for development speed. Provided by distro
  `mold` package or needs to be compiled from source and installed to
  `/usr` otherwise.

Deprecates the `use_lld=yes` option, and make lld actually usable with
GCC too.

Not all the above are compatible or recommend for LTO, we recommend
using GNU ld with GCC LTO, or lld with LLVM ThinLTO.

(cherry picked from commit 534f85add1daec0669a1f18edd2cc456f9a296ef)
2022-07-22 01:03:31 +02:00
bruvzg
6489fe890e
Backport text-to-speech support. 2022-07-01 11:04:50 +03:00
Rémi Verschelde
6475c676a8 CI: Use mono_static=yes for Mono builds
This removes the dependency on shared libmonosgen installed locally
and makes the artifacts usable as standalone for testing without
needing a full Mono install.
2022-02-22 13:10:17 +01:00
Rémi Verschelde
cf76e1e001
CI: Update links to regression test project and prebuilt SwiftShader
qarmin's repository has been moved to the godotengine organization.

(cherry picked from commit 94232dcb48)
2022-01-06 12:12:22 +01:00
Rémi Verschelde
e2b2319ee5
CI: Build test binaries with debug symbols, then strip
This allows having good stacktraces when the tests crash.

(cherry picked from commit c4fa301b6b)
2021-09-27 18:03:39 +02:00
Fabio Alessandrelli
8773b83773 [CI] Refactor CI actions, use sub-actions, matrices. 2021-09-14 19:19:13 +02:00
Gordon MacPherson
0a1cf70037
Fix github actions cache server being down failing builds
(cherry picked from commit 27da2e364e)
2021-08-18 23:08:21 +02:00
Rémi Verschelde
b388412270
CI: Add --doctool check to find missing classref updates
This will enforce that PRs properly sync the class reference templates to match
their changes to the public API, and help notice binding bugs in the process
(e.g. missing enum bindings, unexpected API changes or missing argument names).

This should also serve as a reminder to contributors that their changes impact
the scripting API and might warrant actually filling the descriptions for the
new methods/properties/etc.
2021-05-03 22:45:14 +02:00
Rémi Verschelde
173e9b765a
CI: Bump BASE_BRANCH from 3.2 to 3.x
This was forgotten when renaming 3.2.4 to 3.3.
Once 3.3-stable is out and we branch off to 3.3, the BASE_BRANCH should
be bumped to 3.3 in that branch.
2021-04-19 14:37:47 +02:00
Rafał Mikrut
3bf1495390 Use unique test projects for each branch 2021-03-22 18:26:18 +01:00
Rémi Verschelde
f50569a592 CI: Build without debug symbols to reduce cache size
We often hit "Too Many Requests" errors when uploading the cache with
`actions/cache` because there's a limit of 10 GB every 5 minutes, and we can
easily go over it when we amend or merge several PRs in a short timespan.

This will make the CI artifacts less useful for debugging crashes but there's
no real way around this.

(cherry picked from commit caea551d41)
2021-02-22 14:16:42 +01:00
Rémi Verschelde
986b1a9b18
CI: Mono glue generation sometimes crashes on exit, ignore it 2021-02-12 11:14:19 +01:00
Rémi Verschelde
72d7fab45e CI: Build full Mono version on Linux, with glue
This makes the artifacts from the Linux Mono build usable.
2021-02-05 14:25:27 +01:00
Rafał Mikrut
2e87a652a4 Avoid opening editor multiple times in CI 2021-01-12 13:16:15 +01:00
Hugo Locurcio
07cf8983bf
Use the Dummy audio driver in CI to prevent spurious error messages 2020-10-31 19:35:20 +01:00
Rafał Mikrut
35bfa0b292 Fix failing CI, due invalid importing of resources 2020-10-30 07:49:57 +01:00
Rafał Mikrut
79a6050bc1 Disable temporary exported build in CI 2020-10-28 12:13:22 +01:00
Rémi Verschelde
3ebd5a2301
CI: Sync configuration with master branch
- Factors out common arguments in SCONSFLAGS
- Upload artifacts
- Disable debug symbols for release templates
2020-10-22 14:04:37 +02:00
Rémi Verschelde
e5a43e8549
CI: Re-enable sanitizers build 2020-10-01 19:15:17 +02:00
Rémi Verschelde
a0e419b617
CI: Disable sanitizer builds until we fix them
Added in #40994 but without recent rebase, so they don't pass currently.
2020-10-01 15:25:06 +02:00
Rémi Verschelde
0c3e0ab194
Merge pull request #40994 from qarmin/sanitization32
[3.2] Added Linux sanitizer with xvfb to github workspace
2020-10-01 13:56:09 +02:00
Hugo Locurcio
30c4b1b67e
GitHub Actions: Prepend emoji to platform names for easy visual grepping
(cherry picked from commit 82b30f36cb)
2020-08-25 14:36:22 +02:00
Rafał Mikrut
abd7c1833e Added Linux sanitizer with xvfb to github workspace 2020-08-14 12:15:58 +02:00
Rémi Verschelde
4567eee79e CI: Backport GitHub Actions setup from master
Removes AppVeyor and all Travis jobs but the iOS one, which hasn't been ported
to GitHub Actions yet (should be done soon).

Backports new style scripts from `master` branch too to do the same checks.
2020-07-24 10:39:17 +02:00