Leroy Hopson
46f3aa12bf
chore(ci): enable debug symbols for debug builds
...
Exclude Windows as it leads to a "warning LNK4099: PDB '' was not found
with 'constants.windows.template_debug.x86_64.obj' or at ''" error on
subsequent runs.
2024-03-02 22:49:42 +13:00
Leroy Hopson
52a259b019
Run all test types on single runner
2024-02-25 17:21:13 +13:00
Leroy Hopson
f901d18052
Modify matrix
2024-02-25 17:21:09 +13:00
Leroy Hopson
1514f42b54
feat(pty): add initial pty node
2024-02-25 11:48:47 +13:00
Leroy Hopson
d223a458cd
Use matrix.os only for runs-on
...
Otherwise use matrix.platform.
2024-02-24 19:53:50 +13:00
Leroy Hopson
6e74b1508b
Merge multiple artifacts
2024-02-24 16:29:57 +13:00
Leroy Hopson
fa238465f8
Don't delay spinning up test runners
2024-02-24 16:20:17 +13:00
Leroy Hopson
b3ea3d4482
Detect rendering driver to use with macos runner
2024-02-24 16:18:50 +13:00
Leroy Hopson
60054e7ee0
Remove asset import job
2024-02-24 15:59:16 +13:00
Leroy Hopson
5c175d9192
Move test-type after platform and arch
2024-02-24 15:45:06 +13:00
Leroy Hopson
0bc4d8b5a2
Enable tests for macos
2024-02-24 12:04:21 +13:00
Leroy Hopson
22e0b4e484
Update remaining upload/download artifact actions
2024-02-24 10:11:51 +13:00
Leroy Hopson
11e42a820a
Partially update upload/download artifact action
2024-02-24 00:06:10 +13:00
Leroy Hopson
4771a3c9a7
Fix rendering according to test
2024-02-18 20:31:08 +13:00
Leroy Hopson
db3564f0cc
Setup tests
...
- Install Gut using gd-plug.
- Add some basic tests.
- Update workflow to run tests.
- Add test and gd-plug install/uninstall recipes to Justfile.
- Re-enable debug builds as these are used by editor when testing.
2024-02-18 14:06:25 +13:00
Leroy Hopson
c8ff3aa87d
Build only for release
2024-02-13 23:09:04 +13:00
Leroy Hopson
969c20197a
Run test job
...
But tests still disabled.
2024-02-13 22:56:43 +13:00
Leroy Hopson
420c774a43
Re-enable native builds
2024-02-13 20:34:47 +13:00
Leroy Hopson
4b7408a4d1
Disable tests until they are fixed
2024-02-13 15:11:39 +13:00
Leroy Hopson
aa2b93248e
Perform GDScript format checks using pre-commit
2024-02-13 11:27:07 +13:00
Leroy Hopson
8f08945df2
Update workflow dependencies
2024-02-13 11:15:32 +13:00
Leroy Hopson
83c181e1c8
Make 'Check Archive' job list hidden files
2024-02-13 11:10:14 +13:00
Leroy Hopson
d6ca4f2817
Merge remote-tracking branch 'origin/master' into godot4
2024-02-13 11:02:24 +13:00
dependabot[bot]
b6f1ec00fb
chore(deps): 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>
2024-02-13 10:58:42 +13:00
Leroy Hopson
002e7aacc7
Auto-format files using new pre-commit config
2024-02-13 10:52:22 +13:00
dependabot[bot]
306f07f137
chore(deps): bump jpribyl/action-docker-layer-caching
...
Bumps [jpribyl/action-docker-layer-caching](https://github.com/jpribyl/action-docker-layer-caching ) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/jpribyl/action-docker-layer-caching/releases )
- [Commits](https://github.com/jpribyl/action-docker-layer-caching/compare/v0.1.0...v0.1.1 )
---
updated-dependencies:
- dependency-name: jpribyl/action-docker-layer-caching
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-13 10:39:42 +13:00
dependabot[bot]
ad82ae452b
chore(deps): bump actions/cache from 3 to 4
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-13 10:38:08 +13:00
dependabot[bot]
b7fe98ab8d
chore(deps): 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>
2024-02-13 10:29:21 +13:00
dependabot[bot]
e3100b1994
chore(deps): bump nick-fields/retry from 2 to 3
...
Bumps [nick-fields/retry](https://github.com/nick-fields/retry ) from 2 to 3.
- [Release notes](https://github.com/nick-fields/retry/releases )
- [Changelog](https://github.com/nick-fields/retry/blob/master/.releaserc.js )
- [Commits](https://github.com/nick-fields/retry/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: nick-fields/retry
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-13 10:29:06 +13:00
dependabot[bot]
715c2f3bc6
chore(deps): bump jwlawson/actions-setup-cmake from 1 to 2
...
Bumps [jwlawson/actions-setup-cmake](https://github.com/jwlawson/actions-setup-cmake ) from 1 to 2.
- [Release notes](https://github.com/jwlawson/actions-setup-cmake/releases )
- [Commits](https://github.com/jwlawson/actions-setup-cmake/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: jwlawson/actions-setup-cmake
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-13 10:29:02 +13:00
dependabot[bot]
469ecafd6d
chore(deps): bump actions/setup-node from 3 to 4
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-13 10:28:57 +13:00
Leroy Hopson
bd817eb0ce
Add pre-commit config and auto-format files
2024-02-13 09:53:55 +13:00
Leroy Hopson
fac6361898
Upgrade min compatible Godot version to 4.2.1
2024-01-06 23:22:34 +13:00
Leroy Hopson
893c768f75
Update gdtoolkit to version 4.2.2
2024-01-06 23:11:04 +13:00
Leroy Hopson
b575895aa7
Update gdtoolkit to version 3.5.0
2024-01-06 22:59:48 +13:00
Leroy Hopson
1367133b25
Wait for asset import before build
...
Generally asset import will finish before build.
2023-01-26 08:30:17 +13:00
Leroy Hopson
cbc13fa32c
Use wait-for rather than needs
...
Allows test jobs to start long-running steps before other jobs on which
it depends have completed.
2023-01-26 08:21:47 +13:00
Leroy Hopson
26aa4765d1
Create separate job to import assets
...
Uses upload-artifact to share them with other jobs but deletes them when
done.
2023-01-26 08:21:47 +13:00
Leroy Hopson
2ba480b4da
Update build files and GitHub Actions workflow
2023-01-26 08:21:43 +13:00
Leroy Hopson
cf0a64dc09
Use non-specific version of CMake on macOS
...
Although this results in a warning of multiple matches due to the
existence of 3.23.2-macos-universal.dmg and 3.23.2-macos10.10-universal.dmg
the setup-cmake action doesn't work if we try to specify a more specific
version.
2023-01-11 08:35:03 +13:00
Leroy Hopson
7796afa3c0
Update workflow to address warnings
...
- Upgrades actions using Node.js 12 to versions using Node.js 16.
- Updates deprecated set-output command.
- Specifies more specific version of CMake on macOS runner.
2023-01-11 08:19:10 +13:00
Leroy Hopson
8b5caafbc7
Pin GitHub-hosted runner versions
...
- ubuntu-latest -> ubuntu-22.04
- macos-latest -> macos-12
- windows-latest -> windows-2022
2022-08-27 20:49:48 +12:00
Leroy Hopson
6fce61364d
Use non-pinned major versions of actions
2022-08-27 20:49:17 +12:00
Leroy Hopson
66f656bda5
Retry import and export commands
2022-08-27 20:39:54 +12:00
Leroy Hopson
cceffd4edf
Use load() rather than preload() for terminal icon
...
Allows the plugin to load even if resources have not been imported yet.
For example, if someone has opened a project with the plugin for the
first time. Otherwise, the plugin will fail to load and be disable in
the `project.godot` file.
2022-08-27 10:32:27 +12:00
Leroy Hopson
10b9764fb3
Use default export templates for HTML5
...
Changes Emscripten SDK version to match that used to compile the default export
templates used by Godot 3.5 (in this case 3.1.14 as can be seen here:
https://github.com/godotengine/build-containers/blob/3.5/Dockerfile.javascript ).
This means we no longer need to compile custom export templates when
exporting HTML5 for Godot 3.5. Exports from other Godot versions may
requiring compiling the GDNative library with a different version of the
Emscripten SDK.
- Changes renderer from GLES3 -> GLES2 and reduces MSAA level to better
support HTML5 export.
- Updates GitHub Action to export HTML5 and upload as a build artifact.
- Adds Cypress test to smoke test HTML5 export.
2022-08-27 10:32:22 +12:00
Leroy Hopson
2fa2322d7c
Double max test attempts
2022-08-26 22:58:23 +12:00
Leroy Hopson
9765e94889
Change target Godot version to v3.5-stable
...
Upgrade setup-godot action from v1 -> v2 which changes default Godot
version from 3.4 -> 3.5.
2022-08-26 16:53:02 +12:00
Leroy Hopson
aee3efd8de
Update 3.4.x target version to 3.4.5
2022-08-25 12:37:41 +12:00
Leroy Hopson
b22343a05f
Retry tests
...
Tests sometimes fail on Ubuntu due to a race condition with the pulse
audio process and on macOS due to timing issues. These tests usually
pass on subsequent runs, so use the retry action to retry them in a
single run.
2022-08-24 09:54:14 +12:00