Commit graph

105 commits

Author SHA1 Message Date
Leroy Hopson
f9f055f08e
fix(ci): make tests need builds to complete
The wait for action is not reliable, so tests are running before builds
have completed. By adding the explicit needs, tests will run at the
right time, but it will make workflow runs a bit slower.
2024-03-30 02:32:23 +13:00
dependabot[bot]
c4f0afc4f2 chore(deps): bump fountainhead/action-wait-for-check from 1.1.0 to 1.2.0
Bumps [fountainhead/action-wait-for-check](https://github.com/fountainhead/action-wait-for-check) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/fountainhead/action-wait-for-check/releases)
- [Commits](https://github.com/fountainhead/action-wait-for-check/compare/v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: fountainhead/action-wait-for-check
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-30 02:06:09 +13:00
dependabot[bot]
51e7fa651c 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-03-30 02:05:54 +13:00
Leroy Hopson
fc03595e29
fix(ci): fix additional gut test success condition
Was missing `grep -q`, also adds an additional check for when no tests
were run whatsoever.
2024-03-03 21:14:00 +13:00
Leroy Hopson
8255d8b3ce
fix(ci): exclude godot-cpp and libtsm from cache
The godot-cpp and libtsm dependecies are built via the SConstruct file
and therefore can be handled by the SCons cache. By caching the
seperately, changes to the submodules were being overwritten.
2024-03-03 21:04:40 +13:00
Leroy Hopson
c6609ebae5
feat(compat): make compatible with godot v4.2+
Previously the plugin could only be used with v4.2.1. This commit
extends support support back to v4.2.0.
2024-03-03 21:04:10 +13:00
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
af16cb8653
Add dependabot config 2024-02-11 21:57:23 +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