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