1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-01 18:51:18 +00:00
Commit Graph

275 Commits

Author SHA1 Message Date
Thaddeus Crews
adc63c6149 CI: Replace pytest with pre-commit hook 2025-03-29 11:40:36 -05:00
Michael Alexsander
5ad414d046 Allow to compile templates without physics servers 2025-03-28 11:00:44 -03:00
LuoZhihao
4b9650f54e CI: Fix godot regression project test
Fix crash and memory leak in `SpringBoneSimulator3D`
Fix crash in `GraphEdit`
2025-03-26 17:33:18 +08:00
Rémi Verschelde
b84828bca7 CI: Build macOS binary without Vulkan if Vulkan SDK fails installing
It's not rare for this step to fail, either due to network errors,
or occasional changes in how the Vulkan SDK is distributed which require
editing our script.
2025-03-18 12:45:18 +01:00
Rémi Verschelde
1e5b075f48 CI: Set explicit write permission for cache cleanup token 2025-03-16 09:23:18 +01:00
Thaddeus Crews
87f897ae0a Merge pull request #104080 from Repiteo/ci/cache-trim
CI: Trim cache before saving
2025-03-14 14:11:31 -05:00
Thaddeus Crews
de33bd2b7c CI: Trim cache before saving 2025-03-14 14:05:02 -05:00
Rémi Verschelde
fd96ba48c6 CI: Add workflow to cleanup PR caches when closed
This is pretty much copied from the GitHub Actions documentation:
https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/caching-dependencies-to-speed-up-workflows#force-deleting-cache-entries
2025-03-13 16:54:44 +01:00
Thaddeus Crews
0b9871590c CI: Ensure default branch cache persists 2025-03-05 10:32:19 -06:00
Rémi Verschelde
a3dcd98032 Merge pull request #103514 from dsnopek/github-actions-godot-cpp
CI: Use correct godot-cpp branch
2025-03-04 01:02:40 +01:00
Rémi Verschelde
e8c555b002 Merge pull request #103409 from darksylinc/matias-swappy-2025-01
Update to latest version of Swappy
2025-03-04 01:02:14 +01:00
Matias N. Goldberg
89ea5b3d00 Update to latest version of Swappy
Fixes #103294
2025-03-03 20:43:14 -03:00
David Snopek
70bace7482 CI: Use correct godot-cpp branch 2025-03-03 12:08:55 -06:00
Rémi Verschelde
826a0354fb CI: Run apt install before installing libxml2-utils, GHA cache got flaky 2025-03-02 22:34:34 +01:00
Rémi Verschelde
bb7834390c CI: Remove outdated reference to ubuntu-20.04 2025-02-11 18:05:22 +01:00
Thaddeus Crews
46bc07540d CI: Separate Android editor artifacts 2025-02-07 10:16:10 -06:00
Rémi Verschelde
327e5d3a4c CI: Add a Linux job for template_debug 2025-02-04 18:54:53 +01:00
Thaddeus Crews
b8480ffa21 CI: Change godot-cpp from workflow to action 2025-01-20 13:36:14 -06:00
Thaddeus Crews
32563011e1 CI: Tighten timeout period for all jobs 2025-01-17 14:36:10 -06:00
Rémi Verschelde
b7c0a0fbd1 Merge pull request #101387 from picoxr/add-picoos-immersivemode
Add PICO OS Immersive Mode
2025-01-13 20:22:11 +01:00
ygz-bd
a2bfb7cff2 Enable XR Preview Mode for PICO OS
Supported features in the immersive preview mode
- Passthrough
- Hand tracking
Notes:
- Multi-window is only available for internal apps on PICO OS, therefore launching adjacent windows is not possible currently.
- Passthrough splash screen is not supported on PICO OS
2025-01-13 16:34:22 +00:00
Rémi Verschelde
829ad307f8 CI: Install apt dependencies directly, works around issue with awalsh128/cache-apt-pkgs-action 2025-01-09 19:56:30 +01:00
Rémi Verschelde
16a4919a51 Merge pull request #100912 from Repiteo/ci/single-concurrency
CI: Fix GHA bug by defining a single concurrency
2025-01-03 00:49:25 +01:00
Thaddeus Crews
4f7e04a959 CI: Only define single concurrency 2024-12-29 21:27:31 -06:00
Thaddeus Crews
048f8442e3 Style: Minor pre-commit & yaml adjustments 2024-12-29 10:51:11 -06:00
Thaddeus Crews
8642e970c5 C#: Add option to treat warnings as errors 2024-12-18 10:23:41 -06:00
Rémi Verschelde
4047e4b894 .NET: Downgrade Microsoft.CodeAnalysis.CSharp to 4.8.0 for compat with SDK 8.0.1xy
And for CI, set up .NET SDK 8.0.100 explicitly to test our min supported version.
2024-12-17 15:56:56 +01:00
HP van Braam
70dbc311d1 Exclude known thirdparty/ ubsan errors
In my quest to make ubsan failures a build failure I've added all
current ubsan errors by type to a new suppression file which we will
then also use with CI.

The idea is to only add known ubsan errors to this file, so this is not
a blanket exclusion of thirdparty/ this means that if we get new or
unexpected ubsan in thirdparty/ builds would fail.
2024-12-13 23:11:35 +01:00
Rémi Verschelde
82d51a3902 Merge pull request #99709 from AThousandShips/cache_size_improve
[Buildsystem] Tweak cache sizes for CI
2024-12-12 14:10:04 +01:00
Thaddeus Crews
be65514c11 Merge pull request #100042 from Calinou/ci-xmllint-quiet
GitHub Actions: Use quiet xmllint output to only print error lines
2024-12-11 17:35:49 -06:00
Thaddeus Crews
57d08dbec3 C#: Fix warnings caught by new problem-matchers
• Restore MSVC problem matcher for Linux builds
2024-12-10 14:04:35 -06:00
Hugo Locurcio
cec037b1a8 GitHub Actions: Use quiet xmllint output to only print error lines
Success lines are no longer printed, making the CI log shorter
and faster to read.
2024-12-05 14:03:19 +01:00
Thaddeus Crews
357679ceb8 CI: Add explicit problem matchers 2024-11-27 16:47:34 -06:00
A Thousand Ships
344d678bbe [Buildsystem] Tweak cache sizes for CI 2024-11-26 14:50:55 +01:00
Thaddeus Crews
0e4a4e3c4d SCons: Improve cache purging logic
• Implement caching via SCons arguments, rather than environment variables
2024-11-15 08:29:58 -06:00
Thaddeus Crews
66fe2c8b44 SCons: Bump minimum SCons & Python versions
SCons: 3.1.2 → 4.0
Python: 3.6 → 3.8
2024-11-12 11:30:24 -06:00
Thaddeus Crews
8d1462c748 CI: Update Linux runners to Ubuntu 24.04 2024-11-10 14:05:27 -06:00
A Thousand Ships
9923268d74 [Web] Don't cache emsdk
Due to how caches are accessed this cache is almost useless, it only
matters if it is from the same branch or a base branch, and is identical
between branches, so caching it just clutters the build cache
2024-11-09 16:16:15 +01:00
David Snopek
09e09d9335 Patch the OpenXR headers to get EGL from GLAD if we're using it 2024-11-04 10:43:07 -06:00
Clay John
748f4079e3 Merge pull request #96439 from darksylinc/matias-TheForge-pr03-rebased
Add Swappy & Pre-Transformed Swapchain
2024-10-29 12:34:40 -07:00
Matias N. Goldberg
aaa0e2fddf Add Swappy & Pre-Transformed Swapchain
- Adds Swappy for Android for stable frame pacing
- Implements pre-transformed Swapchain so that Godot's compositor is in
charge of rotating the screen instead of Android's compositor
(performance optimization for phones that don't have HW rotator)

============================

The work was performed by collaboration of TheForge and Google. I am
merely splitting it up into smaller PRs and cleaning it up.

Changes from original PR:

- Removed "display/window/frame_pacing/android/target_frame_rate" option
to use Engine::get_max_fps instead.
- Target framerate can be changed at runtime using Engine::set_max_fps.
- Swappy is enabled by default.
- Added documentation.
- enable_auto_swap setting is replaced with swappy_mode.
2024-10-28 18:55:37 -03:00
Thaddeus Crews
07e759b74a Merge pull request #97771 from dsnopek/openxr-linux-egl
OpenXR: Add support for Wayland on Linux
2024-10-25 13:04:08 -05:00
Thaddeus Crews
a44f691fc7 CI: Add MinGW/GCC build to Windows GHA 2024-10-10 10:10:55 -05:00
David Snopek
256699ee31 OpenXR: Add support for Wayland on Linux 2024-10-04 11:44:05 -05:00
Thaddeus Crews
cb9a457153 CI: Support merge queues with default runner 2024-09-26 11:49:34 -05:00
Thaddeus Crews
593744b733 CI: Improve godot-cpp actions 2024-09-19 08:37:42 -05:00
Rémi Verschelde
7174e2192b Merge pull request #96967 from m4gr3d/update_android_editor_flavors
[Android editor] Update the Android editor flavors
2024-09-16 13:35:28 +02:00
Fredia Huya-Kouadio
741efa632a Update the Android editor flavors to avoid vendor-specific references 2024-09-13 08:53:29 -07:00
Thaddeus Crews
41a81f5360 Style: Format yaml files 2024-09-13 08:06:53 -05:00
A Thousand Ships
df29cc696f [Core] Optionally delete Ref nullptr comparisons
Adds an optional (default false) compile option to enable comparing
`Ref` to `nullptr` to ensure correct use, as well as future expandsion
for more general dev checks (enabled with `dev_mode`)
2024-09-12 11:26:49 +02:00