aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkraibse <33869366+kraibse@users.noreply.github.com>2026-11-03 14:51:22 +0100
committerkraibse <33869366+kraibse@users.noreply.github.com>2026-11-03 14:51:22 +0100
commit0c6f441b1abd756e326f2a6316b5272c75c9a166 (patch)
tree5e00634064c44b48777afdd44ac7dfa6f650a453
parent46967a1b84e857a783ace6dcbabffddd008463ff (diff)
ci: skip the release binaries for test-only pushes
The release build configures with BUILD_TESTING=OFF and YUZU_TESTS=OFF, so a push that only touches src/tests produces the same binaries on all seven platforms. Exclude that directory from the path filter so it does not queue a rebuild; a push that also touches a build input still runs. Assisted-by: DeepSeek V4.1 Flash (diagnosis and patch)
-rw-r--r--.github/workflows/release-binaries.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 8233a74c94..36b69d029e 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -14,6 +14,9 @@ on:
# A binary only changes when build inputs change; docs-only pushes skip the build.
paths:
- "src/**"
+ # Test-only changes cannot change a binary: the build configures with BUILD_TESTING=OFF and
+ # YUZU_TESTS=OFF below, so a push that only touches src/tests has nothing to rebuild.
+ - "!src/tests/**"
- "CMakeLists.txt"
- "CMakeModules/**"
- "externals/**"