CI: a Linux job for the crates that build there (shader translator, formats, pipelines, PE, game data, xtask) #193

Open
github-bot wants to merge 3 commits from github-bot/gh-193 into main AGit
Owner

@⁠HamudL on GitHub · 2026-11-26 11:06 UTC · original
HamudL:ci/linux-job → main · +43 −8 · 4 files · 3 commits · open

A Linux job beside the Windows jobs, required by check. It runs Clippy (all targets, all features, -D warnings) and the tests of the seven crates that build on Linux: victory-core, victory-pe, victory-formats, victory-pipeline, victory-game, victory-shader and xtask, 316 tests in all, the translator's 209 among them. Many people test under Proton on Linux, and the job reports minutes before the Windows runners do.

Needed for it:

  • victory-pe: the four tests that read the test binary as a PE image run on Windows only, since on Linux the test binary is not a PE image.
  • victory-shader: test bindings that only Windows code reads (the dxil.dll validator, the D3D12 host) are gated or allowed elsewhere.

Nothing changes on Windows. Checked locally on Linux: Clippy with -D warnings clean, all 316 tests pass. Windows-target Clippy for victory-shader and victory-pe is still clean.

**@⁠HamudL** on GitHub · 2026-11-26 11:06 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/193) `HamudL:ci/linux-job` → `main` · +43 −8 · 4 files · 3 commits · open A Linux job beside the Windows jobs, required by `check`. It runs Clippy (all targets, all features, `-D warnings`) and the tests of the seven crates that build on Linux: victory-core, victory-pe, victory-formats, victory-pipeline, victory-game, victory-shader and xtask, 316 tests in all, the translator's 209 among them. Many people test under Proton on Linux, and the job reports minutes before the Windows runners do. Needed for it: - victory-pe: the four tests that read the test binary as a PE image run on Windows only, since on Linux the test binary is not a PE image. - victory-shader: test bindings that only Windows code reads (the dxil.dll validator, the D3D12 host) are gated or allowed elsewhere. Nothing changes on Windows. Checked locally on Linux: Clippy with `-D warnings` clean, all 316 tests pass. Windows-target Clippy for victory-shader and victory-pe is still clean.
Clippy (all targets, all features, -D warnings) and the tests of the seven
crates on ubuntu-latest, beside the Windows jobs, and required by check: the
platform of many who test under Proton, and minutes sooner than the Windows
runners. 316 tests run there, the translator's 209 among them.

For it: the four tests of victory-pe that read the test binary as a PE
image run on Windows only (elsewhere it is not one), and the test bindings
of emit that only Windows code reads (dxil.dll's validator, the D3D12 host)
are left out or allowed elsewhere. Nothing changes on Windows.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 11:22:11 +00:00
The same one-line change as in #173, so that this pull request's Clippy job
passes on its own; the two merge in either order.
Author
Owner

@⁠illuminatedfellow on GitHub · 2026-11-26 16:37 UTC · original

Ran this PR's Linux job on Linux (Linux Mint, x86_64), with both commits applied on top of current main (c9c932c; emit/mod.rs auto-merges):

  • cargo clippy $CRATES --all-targets --all-features --locked -- -D warnings: passes.
  • cargo test $CRATES --locked: all pass — victory-core 13, victory-formats 41 (5 ignored), victory-game 3, victory-pe 32, victory-pipeline 7, victory-shader 209 (2 ignored), xtask 9.

One caveat: I could only run Rust 1.97 here, not the pinned 1.98.1, so rustup toolchain install itself wasn't exercised (1.97 also warns that clippy::chunks_exact_to_as_chunks is unknown; 1.98.1 knows it).

Merge note: the descriptor_sites.rs transmute fix is also in #169 (and #229), so whichever lands second will conflict on that one line.

(Written with Claude Opus 5.5.)

**@⁠illuminatedfellow** on GitHub · 2026-11-26 16:37 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/193#issuecomment-7197888263) Ran this PR's Linux job on Linux (Linux Mint, x86_64), with both commits applied on top of current `main` (c9c932c; `emit/mod.rs` auto-merges): - `cargo clippy $CRATES --all-targets --all-features --locked -- -D warnings`: passes. - `cargo test $CRATES --locked`: all pass — victory-core 13, victory-formats 41 (5 ignored), victory-game 3, victory-pe 32, victory-pipeline 7, victory-shader 209 (2 ignored), xtask 9. One caveat: I could only run Rust 1.97 here, not the pinned 1.98.1, so `rustup toolchain install` itself wasn't exercised (1.97 also warns that `clippy::chunks_exact_to_as_chunks` is unknown; 1.98.1 knows it). Merge note: the `descriptor_sites.rs` transmute fix is also in #169 (and #229), so whichever lands second will conflict on that one line. (Written with Claude Opus 5.5.)
#169 keeps the (F, F) annotation and breaks the line; the same text here
leaves nothing to resolve whichever of the two lands first, and once #169 is
in main this pull request no longer touches the file.
Author
Owner

@⁠HamudL on GitHub · 2026-11-26 18:29 UTC · original

Thanks for running it. On the merge note: the transmute line here (and in #173, #184 and #192) is now written exactly as #169 writes it (0ad3dd6 in this PR), so #169 and these merge in either order, and once #169 is in main this PR no longer touches that file. The warning with 1.97 is expected: the pinned 1.98.1 knows chunks_exact_to_as_chunks.

**@⁠HamudL** on GitHub · 2026-11-26 18:29 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/193#issuecomment-7200525990) Thanks for running it. On the merge note: the transmute line here (and in #173, #184 and #192) is now written exactly as #169 writes it (0ad3dd6 in this PR), so #169 and these merge in either order, and once #169 is in main this PR no longer touches that file. The warning with 1.97 is expected: the pinned 1.98.1 knows `chunks_exact_to_as_chunks`.
Author
Owner

@⁠illuminatedfellow on GitHub · 2026-11-26 18:33 UTC · original

Thanks — confirmed: with 0ad3dd6 the line in descriptor_sites.rs is byte-for-byte #169's, and this PR merges cleanly with #169 in either order. That resolves my merge note.

**@⁠illuminatedfellow** on GitHub · 2026-11-26 18:33 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/193#issuecomment-7200597810) Thanks — confirmed: with 0ad3dd6 the line in `descriptor_sites.rs` is byte-for-byte #169's, and this PR merges cleanly with #169 in either order. That resolves my merge note.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/193/head:github-bot/gh-193'
git switch 'github-bot/gh-193'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-193'
git switch 'github-bot/gh-193'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-193'
git switch 'github-bot/gh-193'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-193'
git switch 'main'
git merge --squash 'github-bot/gh-193'
git switch 'main'
git merge --ff-only 'github-bot/gh-193'
git switch 'main'
git merge 'github-bot/gh-193'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.