summaryrefslogtreecommitdiffstats
path: root/.github/workflows
Commit message (Collapse)AuthorAgeFilesLines
* Add "Keep screen on" feature to `DisplayServerX11`Niklas Higi2021-06-201-3/+3
|
* Don't install Android NDK in CIMarcel Admiraal2021-06-071-6/+0
|
* Fix typos with codespellRémi Verschelde2021-05-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ```
* CI: Install Android NDK 21.4.7075529Rémi Verschelde2021-05-191-2/+2
| | | | | 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.
* pywin32 is no longer necessary for SCons installBartłomiej T. Listwon2021-05-191-2/+2
| | | | https://github.com/SCons/scons/releases/tag/4.1.0
* CI: Add `--doctool` check to find missing classref updatesRémi Verschelde2021-05-031-0/+17
| | | | | | | | | | 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.
* Test Godot with Vulkan in CIRafał Mikrut2021-04-151-5/+36
|
* [HTML5] Add jsdoc2rst tool.Fabio Alessandrelli2021-02-261-1/+2
| | | | | | | | | | | 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.
* CI: Build without debug symbols to reduce cache sizeRémi Verschelde2021-02-226-9/+9
| | | | | | | | | 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.
* Use github actions cache not my own one.Gordon MacPherson2021-02-131-1/+1
|
* CI: Build Linux editor without Mono, sanitizers with MonoRémi Verschelde2021-02-051-8/+8
| | | | | | 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.
* CI: Update to clang-format 11 and apply ternary operator changesRémi Verschelde2021-01-121-1/+3
|
* CI: Pin Android NDK r21 as we don't support r22 yetRémi Verschelde2021-01-121-1/+6
|
* CI: Force building TextServer fallbackRémi Verschelde2020-12-295-5/+5
| | | | | 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.
* CI: Shrink Windows cache to 3GB, we run out of disk spaceRémi Verschelde2020-12-041-1/+1
|
* [HTML5] Enforce JavaScript style with eslint.Fabio Alessandrelli2020-11-231-1/+7
| | | | | | | | 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.
* CI: Build with warnings=extra to catch 'em allRémi Verschelde2020-11-095-5/+5
| | | | | | | ... 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.)
* CI: Refactor Android workflow, use pre-installed SDK and NDKRémi Verschelde2020-10-222-17/+11
| | | | | | | | | | 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`.
* CI: Set debug_symbols=no for template buildsRémi Verschelde2020-10-223-3/+3
| | | | | | | 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.
* CI: Don't upload linux-sanitizers artifactsRémi Verschelde2020-10-201-6/+0
| | | | It's 1.5 GB, that's maybe a bit overkill.
* CI: Refactor build workflows to use `SCONSFLAGS`Andrii Doroshenko (Xrayez)2020-10-166-16/+22
|
* ci: do not use set-envumarcor2020-10-161-4/+4
|
* CI: upload artifactsumarcor2020-10-156-18/+60
| | | | Set retention-days of all artifacts to 14.
* CI: List contents of bin/ after buildRémi Verschelde2020-10-156-0/+10
| | | | | This can be used to compare impacts on the generated files and especially their size in PRs.
* Style: Fix black formatting after #42332Rémi Verschelde2020-09-251-1/+1
| | | | | | Somehow it did not run CI checks so we missed that one. Also pin `black` version to latest upstream release.
* GitHub Actions: Prepend emoji to platform names for easy visual greppingHugo Locurcio2020-08-237-7/+7
|
* Add Linux sanitizer build to github workspaceRafał Mikrut2020-08-161-0/+61
|
* Rename javascript_builds.yml to javascript_builds.disabledGordon MacPherson2020-08-131-0/+0
|
* CI: Properly exclude Azure repositories on UbuntuRémi Verschelde2020-08-114-1/+11
| | | | Nuke all the pre-defined repos, we just need stock Ubuntu.
* CI: Pin Emscripten version for reproducible buildsRémi Verschelde2020-07-311-1/+1
| | | | | | | | | | 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.
* CI: Show `tests=yes` for builds which run testsAndrii Doroshenko (Xrayez)2020-07-303-3/+3
|
* CI: Install master version of psf/blackRémi Verschelde2020-07-261-1/+1
| | | | | | | 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.
* CI: Add iOS build on GitHub ActionsRémi Verschelde2020-07-252-1/+51
|
* SCons: Add `tests` option to enable or disable unit testsAndrii Doroshenko (Xrayez)2020-07-253-3/+3
|
* t Add unit testing to Godot using DocTest and added to GitHub Actions CIRevoluPowered2020-07-243-0/+15
| | | | | | | | | | 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.
* CI: Fix cache key and include base branchRémi Verschelde2020-07-245-53/+48
| | | | | | | | | 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.)
* Improve the cache keys to prevent clashes for the wrong type of buildGordon MacPherson2020-07-245-30/+31
|
* Clamp scons cache to 4096 MBGordon MacPherson2020-07-245-5/+5
|
* CI: Add Mono support to Linux builds on GitHub ActionsRémi Verschelde2020-07-241-8/+6
| | | | Mono seems to be preinstalled in the build environment \o/
* CI: Add GitHub Action build for JavaScriptRémi Verschelde2020-07-241-0/+76
| | | | | Uses mymindstorm/setup-emsdk to install Emscripten and set up caching for Emscripten's generated system libraries.
* CI: Added Android GitHub Actionthebestnom2020-07-231-0/+72
|
* Split CI builds into workflows for each OSAaron Franke2020-07-215-323/+336
|
* CI: Drop AppVeyor and desktop Travis buildsRémi Verschelde2020-07-201-2/+2
| | | | | These have been replaced by GitHub Actions. The remaining Travis builds will also be ported eventually.
* fix CI builds on linux by using ubuntu default apt repositoriesRevoluPowered2020-07-201-4/+16
|
* added MacOS and Linux to GitHub ActionsGordon MacPherson2020-07-152-12/+197
|
* Globally install Python libraries in GitHub ActionsAaron Franke2020-07-141-1/+1
| | | | Otherwise it uses ~/.local/bin which GitHub doesn't include in PATH
* Commit other files changed by file_format.shAaron Franke2020-07-131-4/+4
|
* Add static formatting checks for GitHub ActionsAaron Franke2020-07-131-0/+31
|
* Use GitHub Actions instead of AppVeyor for Windows platformGordon MacPherson2020-07-121-0/+126
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>