Vano
bf08ce7f84
CMake rewrite, reflecting default SCons variables
2024-09-20 21:26:56 +03:00
A Thousand Ships
76b38de01a
[CI] Upload build cache before running tests
2024-07-13 16:25:12 +02:00
Thaddeus Crews
e0d363aad8
Integrate `.pre-commit-config.yaml`
2024-06-24 15:43:55 -05:00
Fabio Alessandrelli
2dd8917508
[CI] Update macOS workers to macos-latest
...
GitHub actions no longer allow `macos-11` runners
2024-06-18 16:52:42 +02:00
David Snopek
f1b7ba3e06
Allow selecting Godot version to run the tests with
2024-06-14 11:20:50 -05:00
David Snopek
5bad5d6958
Attempt to fix recent CI failures on `master` branch
2024-05-09 11:21:45 -05:00
David Snopek
9ff49b7b1b
Merge pull request #1364 from Repiteo/non-verbose
...
Implement `verbose` toggle from godot repo
2024-04-17 10:42:40 -05:00
David Snopek
048f49af39
Merge pull request #1371 from godotengine/dependabot/github_actions/mymindstorm/setup-emsdk-14
...
Bump mymindstorm/setup-emsdk from 13 to 14
2024-04-17 10:42:11 -05:00
Thaddeus Crews
b05c21bb1d
Implement `verbose` toggle from godot repo
2024-04-09 21:13:02 -05:00
dependabot[bot]
32ca574f49
Bump mymindstorm/setup-emsdk from 13 to 14
...
Bumps [mymindstorm/setup-emsdk](https://github.com/mymindstorm/setup-emsdk ) from 13 to 14.
- [Release notes](https://github.com/mymindstorm/setup-emsdk/releases )
- [Commits](https://github.com/mymindstorm/setup-emsdk/compare/v13...v14 )
---
updated-dependencies:
- dependency-name: mymindstorm/setup-emsdk
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 19:23:26 +00:00
A Thousand Ships
cd5673bf2e
Use latest doc version in issue template
2024-01-20 14:28:40 +01:00
dependabot[bot]
a7becb43e6
Bump actions/setup-python from 4 to 5
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-06 19:33:16 +00:00
dependabot[bot]
78bf5a42ed
Bump mymindstorm/setup-emsdk from 12 to 13
...
Bumps [mymindstorm/setup-emsdk](https://github.com/mymindstorm/setup-emsdk ) from 12 to 13.
- [Release notes](https://github.com/mymindstorm/setup-emsdk/releases )
- [Commits](https://github.com/mymindstorm/setup-emsdk/compare/v12...v13 )
---
updated-dependencies:
- dependency-name: mymindstorm/setup-emsdk
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-22 19:10:15 +00:00
Rémi Verschelde
eea33b4133
CI: Install Android NDK r23c explicitly
...
It has just been removed from the Ubuntu 20.04 default install,
breaking our CI setup.
Also, sets Emscripten version to 3.1.39, as done upstream.
Newer versions actually break dynamic library support.
2023-11-20 23:43:58 +01:00
Rémi Verschelde
306774b5a4
CI: Workaround upstream issue with .NET editor build not exiting
...
We force closing the process after 10 s, which should be ample time to generate
the .godot folder.
2023-11-13 18:51:47 +01:00
David Snopek
59392bc1fa
Revert "Hack adding `--quit-after 100` to ensure extension_list.cfg gets generated"
...
This reverts commit 93260e1700
.
2023-11-07 15:48:25 -06:00
David Snopek
93260e1700
Hack adding `--quit-after 100` to ensure extension_list.cfg gets generated
2023-11-04 17:24:36 -05:00
Fabio Alessandrelli
18bfa133ab
[SCons] Rename javascript tool to web
...
And clean it up a bit.
2023-10-15 13:12:49 +02:00
David Snopek
96bec613a0
Merge pull request #1247 from nicholas-maltbie/nickmaltbie/javascript-wasm-fix
...
Javascript Web WASM Fix
2023-10-04 09:58:01 -05:00
Rémi Verschelde
0369f6fea0
CI: Fix MinGW install error by pinning to earlier version
...
Works around https://github.com/egor-tensin/setup-mingw/issues/14 .
2023-10-04 13:42:49 +02:00
Nick Maltbie
2b4bcbb0ce
Added fix for javascript build for godot 4.x
...
Added changes to tools/javascript.py to add PFlags to fix SharedArrayBuffer memory error.
Corrected some small errors in tools/javascript.py to support new target names.
Also updated ci to include validation for web build.
2023-10-01 13:43:19 -07:00
dependabot[bot]
5d4ff63930
Bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 19:13:12 +00:00
David Snopek
aef9ea7387
Merge pull request #1113 from Calinou/add-issue-template
...
Add issue template based on the main Godot repository
2023-05-26 17:00:25 -05:00
Hugo Locurcio
e7c57a39db
Add issue template based on the main Godot repository
2023-05-25 15:59:33 +02:00
David Snopek
1fd3f82d3a
Add automated tests that run a GDExtension (rather than just building it)
2023-05-17 14:08:12 -05:00
bruvzg
ba4b50118d
Fix incorrect memory allocation in release builds.
...
Co-authored-by: lightyears <lightyears1998@hotmail.com>
2023-02-21 15:32:26 +02:00
Rémi Verschelde
51c79565e0
CI: Use clang-format 15
...
Seems like there's a slight inconsistency for the formatting of the
`delete[](pointer)` syntax.
2023-01-10 16:24:14 +01:00
Ricardo Buring
47140cdad0
Rename float=64 build option to precision=double
...
This makes the build system consistent with Godot again.
Also fix CMake build to define REAL_T_IS_DOUBLE when precision=double.
2023-01-09 23:22:03 +01:00
Fabio Alessandrelli
c0eaadac86
Merge pull request #903 from PapyChacal/build_library
...
Make build_library=no usable at godot-cpp's root
2022-12-19 23:03:17 +01:00
Emilien Bauer
e52d4b6486
Remove gen from emitted files to solve circular dependency with build_library=no.
...
Use env variable to pass the output dir instead.
Add a CI step to guard regression on this. Clean the generated sources to avoid interfering with next steps.
2022-12-19 21:20:15 +00:00
Gilles Roudière
c02e644679
Rename GDNative to GDExtension
...
Non-exhaustive list of case-sensitive renames:
GDExtension -> GDNative
GDNATIVE -> GDEXTENSION
gdextension -> gdnative
ExtensionExtension -> Extension (for where there was GDNativeExtension)
EXTENSION_EXTENSION -> EXTENSION (for where there was GDNATIVE_EXTENSION)
gdnlib -> gdextension
gdn_interface -> gde_interface
gdni -> gde_interface
2022-12-12 11:06:38 +01:00
Rémi Verschelde
9fb5b764af
Add CODEOWNERS so GDExtension team gets assigned for reviews
2022-12-06 10:17:13 +01:00
Aaron Franke
bcfa3bf320
Add more static checks and move to separate file to match main repo
2022-10-09 01:46:28 -05:00
Fabio Alessandrelli
64b2c9be0b
[SCons] Refactor targets, symbols, optimizations.
...
Now matches Godot `master` target names and supports the same flags with
the following notable exceptions:
- The default target is "template_debug", since it's compatible with
editor builds (and TOOLS_ENABLED is never used internally).
- separate_debug_symbols is still not supported, and will be done in a
separate commit.
2022-10-04 16:05:40 +02:00
Fabio Alessandrelli
d5e8675fd6
[CI] Add concurrency options and scons caching.
2022-09-19 16:56:29 +02:00
Rémi Verschelde
bef1fa091c
Merge pull request #835 from Faless/build/4.x_opt_debug
2022-09-19 15:11:05 +02:00
Rémi Verschelde
7735ab48c4
CI: Make CMake builds use verbose output
2022-09-13 15:50:21 +02:00
Fabio Alessandrelli
2bf983e638
[SCons] Add "optimize" and "debug_symbols" options
...
optimize = auto|none|debug|speed|size|0|1|2|3
debug_symbol = True|False
optimize == "auto" will produce:
- "debug" for "debug" builds
- "speed" for "release" builds
2022-09-12 16:52:05 +02:00
Fabio Alessandrelli
c263b3e38c
Fix get_file_list not returning all generated files.
...
Adds a CI static check for it.
2022-09-11 21:39:06 +02:00
Aaron Franke
91fcde48d4
Add Godot 3.x ignores to the .gitignore file
2022-09-07 22:59:04 -05:00
Fabio Alessandrelli
0943dfc34a
[CI] Fix Android builds after GH container update.
2022-07-28 06:30:04 +02:00
bruvzg
0ee980abae
Rename OSX to macOS.
2022-07-20 11:01:47 +03:00
Rémi Verschelde
c7a30aec03
CI: Use setup-python@v4
2022-07-18 11:42:01 +02:00
Rémi Verschelde
cdcd473371
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.
2022-07-17 12:37:13 +02:00
Fabio Alessandrelli
7901986dcf
[SCons] Fix msvc, linux-clang, add version check.
2022-07-04 18:00:29 +02:00
Aaron Franke
e5c4351bc7
Unify bits, android_arch, macos_arch ios_arch into arch, support non-x86
...
Unify arguments and add support for ARM64 and RV64 Linux
2022-06-01 13:00:25 -05:00
bruvzg
e06d5cd414
Add double precision build support.
2022-05-04 15:56:35 +03:00
Fabio Alessandrelli
b47dfb6a5c
[CI] Add python file format to static checks.
...
Uses the same version of `black` as godot.
2022-05-02 21:13:56 +02:00
Fabio Alessandrelli
69aefe5c79
[CI] Remove duplicate builds.
...
Leftovers from the CI matrix PR.
2022-04-27 07:32:27 +02:00
dependabot[bot]
4963e6f3fc
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>
2022-04-08 19:14:25 +00:00