Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

fix(ci): the shading-mode count test names the last mode, the fetch names the full commit, and the pipeline tests get the Spine runtimes they read

yhh6c5b7b1565e2
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 34a78e563..e12293e98 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -450,6 +450,9 @@ jobs:
ssh-key: ${{ secrets.EDITOR_SSH_KEY }}
history: full
+ - name: Init the Spine runtimes whose exported skeletons the pipeline tests read
+ run: git submodule update --init --depth 1 third_party/spine-runtimes-3.8 third_party/spine-runtimes-4.2
+
- uses: ./.github/actions/setup
# Every static gate, from the one list in tools/gates.mjs. CI and the
@@ -818,7 +821,7 @@ jobs:
- uses: ./.github/actions/editor-host
- name: Fetch the commit the hand checks take their rigged character from
- run: git fetch --depth=1 origin 73ebaae9d
+ run: git fetch --depth=1 origin 73ebaae9d2eb8ced17cd106ef01dd716bec3d6b6
# Exit 2 is "this machine cannot answer", as in the script-failure step above:
# a check whose play realm never said hello measured nothing about the editor,
diff --git a/tests/renderer/test_view_shading.cpp b/tests/renderer/test_view_shading.cpp
index ec384a627..fcc724945 100644
--- a/tests/renderer/test_view_shading.cpp
+++ b/tests/renderer/test_view_shading.cpp
@@ -31,7 +31,7 @@ int main() {
CHECK(shading.get(7) == ShadingMode::Shaded, "asking for the authored look goes back to it");
CHECK(shading.count() == 1, "and leaves no entry behind, so nothing leaks over a session");
- CHECK(static_cast<u8>(ShadingMode::Wireframe) + 1 == kShadingModeCount, "the modes the bindings accept are the ones the enum declares");
+ CHECK(static_cast<u8>(ShadingMode::IndirectLighting) + 1 == kShadingModeCount, "the modes the bindings accept are the ones the enum declares");
if (g_failures) {
std::printf("%d failure(s)\n", g_failures);