CI on Linux: build, clippy without warnings, native tests #46
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/vktory6--VKtory!46
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-46"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Mhyster on GitHub · 2026-12-01 03:59 UTC · original
Mhyster:ci-linux→main· +784 −580 · 105 files · 8 commits · merged 2026-12-01 09:03 UTCCloses the TASKS.md item "Continuous integration on Linux". Pairs with #45 (a vkback test that fails about 1 run in 7 without it; independent otherwise).
What
.github/workflows/ci.yml(ubuntu-24.04, no GPU):tools/build.sh(the PE via cargo-xwin withdiagnostics, vkback-unix, vk-store, translate-dir, rect-gs), clippy with-D warningsin all five workspaces, and the native tests (victory-shader, victory-formats, victory-core, xtask, umem, frame, vkback lib + policy).[workspace.lints.clippy]; xtask's newlint_tables_matchtest fails when the copies drift (rule 3).Fixes are clippy's own except where they would change behaviour:
valu_tests.rs: clippy wants!(a < b) && !(a > b)style comparisons simplified; that changes the result for NaN, which the v_cmp_n*/v_cmp_lg reference depends on. Kept, with an allow and a comment saying why (rule 29, "suspicious but correct").cfg/cfg_attrinstead of being renamed or removed.dummy_buf(alwaysNone),warm_step's unreadstarted, xlate.rs's unusedbackground(), unsafe blocks around safe code.allow(dead_code)with a pointer to TASKS.md "Slim victory-gpu" rather than deleted here (its own topic).Verification (rule 27)
Every step of ci.yml run locally on this branch, rebased on current main (
73ee0ab, after #19-#34; the last commit fixes the two warnings those brought: a doc comment #34 left without its function, and anifclippy collapses), and on this branch merged with the three other open PRs of this series: all pass. The tests need no Vulkan driver (checked with the loader pointed at none). No Vulkan validation run (rule 30): the Vulkan calls and SPIR-V stay the same; the only removed state (dummy_buf) was never set.The PE side is linted with
--all-featuresonly: withoutdiagnostics, victory-gpu does not build (already TASKS.md "The renderer outside diagnostics").Findings outside this change, reported separately (rule 29): #40, #41.
🤖 Generated with Claude Code
@vktory6 on GitHub · 2026-12-01 09:03 UTC · original
Merged, thanks! This closes the CI task, and the lint-table check keeps the three workspaces from drifting apart.
What I did on the branch, as merge commits (no force-push):
ab.rs, which #53 deleted.stin #22'slane_loop_tests.rs. I also removed the leftoverlet _all = vk::ShaderStageFlags::ALL;in vkback'slib.rsinstead of keeping an underscored binding (rule 33).ci.ymlrun locally on the final tree: the PE clippy with all features, clippy in the root, greenfield, wine and translate workspaces, and the native tests. All clean. The house-scene validation run on the reference system shows no new error.From now on, PRs get these checks on GitHub before we look at them.