1
0
Fork 0
Commit Graph

11 Commits

Author SHA1 Message Date
Lukas Tenbrink e0f8943d1e Make it possible to run CI manually if `DISABLE_GODOT_CI` is set. 2025-05-15 13:45:22 +02:00
Thaddeus Crews b8480ffa21
CI: Change godot-cpp from workflow to action 2025-01-20 13:36:14 -06: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 cb9a457153
CI: Support merge queues with default runner 2024-09-26 11:49:34 -05:00
Thaddeus Crews 41a81f5360
Style: Format yaml files 2024-09-13 08:06:53 -05:00
Rémi Verschelde 4646762c81
CI: Allow skipping our GHA workflows with `DISABLE_GODOT_CI` variable
Useful for custom forks of Godot which don't want to run our CI for any
reason.

This is configured in `settings/variables/actions` for the repository,
setting it to any value aside from an empty string will skip all jobs.
2023-08-02 17:48:47 +02:00
Yuri Sizov deb6025781 CI: Extract godot-cpp testing into its own job
This ensures that the godot-cpp job has plenty of resources
to run its build and avoid being affected by the main build.

Additionally:
- Extract test tasks into dedicated actions.
- Upload artifacts as early as possible.
- Ensure that we check master cache before random cache.
2023-08-01 20:41:45 +02:00
Rémi Verschelde 068f893072
CI: Speed up static checks by checking only changed files
- file_format, header_guards and clang-format benefit from this short list.
- dotnet-format, Python and JS checks don't, but they're only relevant for
  PRs changing a specific set of files, so we skip them when those files
  aren't modified.

The logic to get changed files only works reliably for:
- Pull request events
- Non-force pushed push events

So when force pushing a branch in your fork, or creating a new branch,
it will still scan all files as fallback.

Upgraded CI runner to Ubuntu 22.04 so we get clang-format 14 out of the box,
so we don't need to install a custom version (saves ~15 s). We also cache
the APT dependencies to speed up the build and avoid flaky Ubuntu/Microsoft
repos.
2023-04-20 11:40:09 +02:00
yedpodtrzitko 93b7bcb33d ci: wait for static check results before starting builds 2023-04-04 22:05:15 +07:00