summaryrefslogtreecommitdiff
path: root/.github/workflows
AgeCommit message (Collapse)Author
2020-07-31CI: Pin Emscripten version for reproducible buildsRémi Verschelde
Emscripten is a fast-moving target which gets tons of improvements all the time, but it's not rare that some regressions affect us and make our CI builds fail. (See e.g. #33728, #35237, #39168, #40563, and #40914.) Let's pin to a stable version to avoid having external factors impact our CI, and update this version manually regularly in a PR to ensure that the new version works well for us.
2020-07-30CI: Show `tests=yes` for builds which run testsAndrii Doroshenko (Xrayez)
2020-07-26CI: Install master version of psf/blackRémi Verschelde
Until https://github.com/psf/black/pull/1328 makes it in a stable release, we have to use the latest from Git. Apply new style fixes done by latest black.
2020-07-25CI: Add iOS build on GitHub ActionsRémi Verschelde
2020-07-25SCons: Add `tests` option to enable or disable unit testsAndrii Doroshenko (Xrayez)
2020-07-24t Add unit testing to Godot using DocTest and added to GitHub Actions CIRevoluPowered
Implements exit codes into the engine so tests can return their statuses. Ideally we don't do this, and we use FIXUP logic to 'begin' and 'end' the engine execution for tests specifically. Since realistically we're initialising the engine here we don't want to do that, since String should not require an engine startup to test a single header. This lowers the complexity of running the unit tests and even for physics should be possible to implement such a fix.
2020-07-24CI: Fix cache key and include base branchRémi Verschelde
The base branch is hardcoded as an env variable as I couldn't find a simple way to just get either `3.2` or `master`. But it's easy to change when we branch off from `master` to a new stable branch, which doesn't happen often. (There's `{{github.base_ref}}` but it's probably more verbose like `ref/heads/master`, and only valid for PRs.)
2020-07-24Improve the cache keys to prevent clashes for the wrong type of buildGordon MacPherson
2020-07-24Clamp scons cache to 4096 MBGordon MacPherson
2020-07-24CI: Add Mono support to Linux builds on GitHub ActionsRémi Verschelde
Mono seems to be preinstalled in the build environment \o/
2020-07-24CI: Add GitHub Action build for JavaScriptRémi Verschelde
Uses mymindstorm/setup-emsdk to install Emscripten and set up caching for Emscripten's generated system libraries.
2020-07-23CI: Added Android GitHub Actionthebestnom
2020-07-21Split CI builds into workflows for each OSAaron Franke
2020-07-20CI: Drop AppVeyor and desktop Travis buildsRémi Verschelde
These have been replaced by GitHub Actions. The remaining Travis builds will also be ported eventually.
2020-07-20fix CI builds on linux by using ubuntu default apt repositoriesRevoluPowered
2020-07-15added MacOS and Linux to GitHub ActionsGordon MacPherson
2020-07-14Globally install Python libraries in GitHub ActionsAaron Franke
Otherwise it uses ~/.local/bin which GitHub doesn't include in PATH
2020-07-13Commit other files changed by file_format.shAaron Franke
2020-07-13Add static formatting checks for GitHub ActionsAaron Franke
2020-07-12Use GitHub Actions instead of AppVeyor for Windows platformGordon MacPherson
This was based on quarmin's initial configuration, we had compile issues with AppVeyor being super slow and GitHub actions will take less time and also manage a full rebuild in 30 minutes. This adds cache handling and will work with MSVC and scons 4.0, it will build for every PR submitted to the Godot Engine, and also for the branches specified. I have tested the caching and it seems to be working. I left the 'publish artefacts' disabled until we can request more storage from Microsoft, 5 GB is far to low for us and we would eat this limit very fast. (it is tested and works fine) Co-authored-by: Rafał Mikrut <mikrutrafal54@gmail.com>