27 Commits

Author SHA1 Message Date
Rémi Verschelde
5b340cb483 CI: Fix MinGW install error by pinning to earlier version
Works around https://github.com/egor-tensin/setup-mingw/issues/14.

(cherry picked from commit 0369f6fea0)
2023-10-04 15:21:23 +02:00
Rémi Verschelde
4212e9e38b CI: Update all images and actions
(cherry picked from commit 5f401ad88a)
2023-09-26 23:01:33 +02:00
Aaron Franke
745d7a2d1a Bump Ubuntu version on CI from 18.04 to 20.04
(cherry picked from commit 102e3c8d16)
2023-09-26 23:01:16 +02:00
Aaron Franke
62714899ff Upgrade 3.x CI to Godot 3.5-stable 2022-09-07 22:30:09 -05:00
Fabio Alessandrelli
02333f8dae [CI] Fix Android builds after GH container update.
(cherry picked from commit 0943dfc34a)
2022-08-07 15:46:39 +02:00
Rémi Verschelde
dac7dc2a35 CI: Use setup-python@v4
(cherry picked from commit c7a30aec03)
2022-07-22 11:06:30 +02:00
dependabot[bot]
a930046796 Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 4963e6f3fc)
2022-07-22 11:06:30 +02:00
Rémi Verschelde
e7ebeccd25 SCons: Default num_jobs to max CPUs minus 1 if not specified
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.

Makefile: Dehardcode -j4, SCons defaults to max - 1

(cherry picked from commits cdcd473371 and
c2b35fb226)
2022-07-18 13:00:17 +02:00
Fabio Alessandrelli
9451c184b1 [CI] Matrix build for all platforms.
Test is only run on macOS and Linux.
2022-04-14 05:22:50 +02:00
Rémi Verschelde
3427c97f24 CI: Install MinGW via egor-tensin/setup-mingw
Scoop install is being problematic since their 0.1.0 release.

(cherry picked from commit 3846201fbb)
2022-04-04 12:31:26 +02:00
Rémi Verschelde
a0f2ab1f31 CI: Update Godot binary to 3.4-stable for tests 2021-12-02 10:32:56 +01:00
Fabio Alessandrelli
de89011ca4 [CI] Use MacOS universal build instead of 2 builds.
Switch to the now available macOS 11 for building.
2021-10-02 14:01:13 +02:00
Rémi Verschelde
d9477fd0aa CI: Run tests with Godot 3.3.3 2021-09-26 12:43:41 +02:00
Rémi Verschelde
4b6ab10c5d CI: Update Linux runner to Ubuntu 18.04
Also cleanup needlessly specific dependencies.
2021-09-26 12:15:19 +02:00
Fabio Alessandrelli
5b8bcb7164 Add OSX arm64 build target.
New "macos_arch" to specify the desired arch, and "macos_sdk_path" to
override the default SDK path.
2021-07-07 11:08:33 +02:00
dependabot[bot]
dbf3a13d0f Bump actions/upload-artifact from 2.2.3 to 2.2.4 (#571)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.2.3 to 2.2.4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.3...v2.2.4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-16 21:41:21 +02:00
dependabot[bot]
eb8ae9dd51 Bump actions/upload-artifact from 2.2.2 to 2.2.3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.2...v2.2.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 05:48:34 +00:00
Rémi Verschelde
55c0a2ea03 Merge pull request #525 from vnen/update-clang-format
Update clang-format to version 11
2021-03-01 16:28:58 +01:00
dependabot[bot]
ba526df7bd Bump actions/upload-artifact from v2.2.1 to v2.2.2
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.1 to v2.2.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.1...e448a9b857ee2131e752b06002bf0e093c65e571)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 12:46:57 +00:00
George Marques
cba90d6301 Update clang-format to version 11
This is taken from the Godot repository, so formatting is similar. This
updates the style rules as well.

Also fix style in files to conform with this version.
2021-02-28 16:57:34 -03:00
O01eg
279d63d6c5 Run script test 2021-02-07 00:13:58 +03:00
O01eg
c55ef5adcf Disable Windows compilation. 2021-02-06 23:19:40 +03:00
O01eg
d6101538e6 Test build GNnative library in CI 2021-02-06 23:08:13 +03:00
Marc
925a47f65b Merge pull request #502 from Zylann/clang_format_ci
Re-added clang-format checks to the CI
2021-02-03 22:13:03 +00:00
Marc Gilleron
1f7f66d09e Re-added clang-format checks to the CI 2021-02-03 22:04:45 +00:00
Marc Gilleron
612ac0c123 Fix MacOS CI using an available runner 2021-02-03 20:06:16 +00:00
Hugo Locurcio
610c42f219 Switch from Travis CI to GitHub Actions
GitHub Actions should be significantly faster than Travis CI.
2020-12-23 22:34:40 +01:00