summaryrefslogtreecommitdiff
path: root/.github/workflows
AgeCommit message (Collapse)Author
2021-10-09Update Android CI to use JDK 11.Marcel Admiraal
2021-09-22CI: Build test binaries with debug symbols, then stripRémi Verschelde
This allows having good stacktraces when the tests crash.
2021-09-14[CI] Refactor CI actions, use sub-actions, matrices.Fabio Alessandrelli
2021-08-25Fix CI after concurrencyMax Hilbrunner
2021-08-25CI: Cancel previous builds if new commit is pushedMax Hilbrunner
2021-08-18Fix github actions cache server being down failing buildsGordon MacPherson
2021-08-18[CI] Upgrade Emscripten to 2.0.27.Fabio Alessandrelli
Update Godot Javascript FS library to manually depend on ERRNO_CODES.
2021-08-06HTML5: Fix warnings and re-enable `werror=yes` on CIRémi Verschelde
Add a missing call to disable warnings on a forked env for freetype's `sfnt.c`.
2021-07-31Fix 'Attempted to remove invalid ID' errorsRafał Mikrut
2021-07-17Re-enable building WebXR in GitHub ActionsDavid Snopek
2021-07-15Re-enable JavaScript CI (with no WebXR until fixed).Fabio Alessandrelli
2021-07-14Check if there are new docs missing on CIYuri Sizov
2021-06-20Add "Keep screen on" feature to `DisplayServerX11`Niklas Higi
2021-06-07Don't install Android NDK in CIMarcel Admiraal
2021-05-20Fix typos with codespellRémi Verschelde
Using codespell 2.0.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick fave findn GIRD leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2021-05-19CI: Install Android NDK 21.4.7075529Rémi Verschelde
This is the version mandated by Godot's gradle setup anyway so it would get installed when running gradlew. Now we pre-install the correct version.
2021-05-19pywin32 is no longer necessary for SCons installBartłomiej T. Listwon
https://github.com/SCons/scons/releases/tag/4.1.0
2021-05-03CI: Add `--doctool` check to find missing classref updatesRémi Verschelde
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-04-15Test Godot with Vulkan in CIRafał Mikrut
2021-02-26[HTML5] Add jsdoc2rst tool.Fabio Alessandrelli
A template for `jsdoc` that generat the HTML5 public classref. The script can be run via `npm run docs` to print to stdout. You can dry run via `npm run docs -- --d dry-run` or write to file via `npm run docs -- -d /path/to/file.rst` Also update Makefile in `doc/` and add dry run test to CI.
2021-02-22CI: Build without debug symbols to reduce cache sizeRémi Verschelde
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.
2021-02-13Use github actions cache not my own one.Gordon MacPherson
2021-02-05CI: Build Linux editor without Mono, sanitizers with MonoRémi Verschelde
The Mono builds are with mono_glue=no so they're not usable, and it would be convenient if the main tools=yes target=release_debug artifacts could actually be used.
2021-01-12CI: Update to clang-format 11 and apply ternary operator changesRémi Verschelde
2021-01-12CI: Pin Android NDK r21 as we don't support r22 yetRémi Verschelde
2020-12-29CI: Force building TextServer fallbackRémi Verschelde
It's normally opt-in as the advanced one (CTL support) is the default, but we need to build it to catch potential build issues.
2020-12-04CI: Shrink Windows cache to 3GB, we run out of disk spaceRémi Verschelde
2020-11-23[HTML5] Enforce JavaScript style with eslint.Fabio Alessandrelli
Applies to javascript files inside the platform library folder, the exposed Engine code, and any javascript files in modules. Files ending with ".externs.js" will be ignored, you can create a ".eslintignore" file to specify extra files to be ignored.
2020-11-09CI: Build with warnings=extra to catch 'em allRémi Verschelde
... on all platforms but MSVC, as it still has a number of unsolved warnings in its `/Wall` level. Some of it might be valid, others might be overkill, this needs further assessment and fixes. (We could also change the `extra` level to `/W4` on MSVC if that's more meaningful.)
2020-10-22CI: Refactor Android workflow, use pre-installed SDK and NDKRémi Verschelde
No need to waste time downloading all this when it's readily available :) Also use the official action to setup Java 8. Also build both architectures (armv7 and arm64v8) and generate the APK, so we can upload it. Remove now unused and outdated `misc/ci/android-tools-linux.sh`.
2020-10-22CI: Set debug_symbols=no for template buildsRémi Verschelde
This keeps their size small and allows to compare size changes on templates in PRs, as the template size is what is most relevant to users. For editor builds we keep debug symbols so they can be used to debug crashes.
2020-10-20CI: Don't upload linux-sanitizers artifactsRémi Verschelde
It's 1.5 GB, that's maybe a bit overkill.
2020-10-16CI: Refactor build workflows to use `SCONSFLAGS`Andrii Doroshenko (Xrayez)
2020-10-16ci: do not use set-envumarcor
2020-10-15CI: upload artifactsumarcor
Set retention-days of all artifacts to 14.
2020-10-15CI: List contents of bin/ after buildRémi Verschelde
This can be used to compare impacts on the generated files and especially their size in PRs.
2020-09-25Style: Fix black formatting after #42332Rémi Verschelde
Somehow it did not run CI checks so we missed that one. Also pin `black` version to latest upstream release.
2020-08-23GitHub Actions: Prepend emoji to platform names for easy visual greppingHugo Locurcio
2020-08-16Add Linux sanitizer build to github workspaceRafał Mikrut
2020-08-13Rename javascript_builds.yml to javascript_builds.disabledGordon MacPherson
2020-08-11CI: Properly exclude Azure repositories on UbuntuRémi Verschelde
Nuke all the pre-defined repos, we just need stock Ubuntu.
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