summaryrefslogtreecommitdiff
path: root/.github/actions/godot-build
AgeCommit message (Collapse)Author
2022-07-17SCons: Default `num_jobs` to max CPUs minus 1 if not specifiedRémi Verschelde
This doesn't change the behavior when `--jobs`/`-j` is specified as a command-line argument or in `SCONSFLAGS`. The SCons hack used to know if `num_jobs` was set by the user is derived from the MongoDB setup. We use `os.cpu_count()` for portability (available since Python 3.4). With 4 CPUs or less, we use the max. With more than 4 we use max - 1 to preserve some bandwidth for the user's other programs.
2022-03-30CI: Reduce max cache to 7 GiB, remove Windows debug symbolsRémi Verschelde
GitHub Actions runners only have 14 GiB available, so we need to keep the cache constrained.
2022-03-28Remove last editor code dependencies in template buildRémi Verschelde
SConstruct change also makes it possible to outright delete the `editor` folder in a `tools=no` build, which we use in CI to ensure no invalid cross-dependencies are added.
2022-03-23CI: Update to actions/cache@v3, increase cache limit to 10 GiBRémi Verschelde
And force rebuild of Linux cache which got corrupted...
2021-09-14[CI] Refactor CI actions, use sub-actions, matrices.Fabio Alessandrelli