ci: run the PE side's tests under Wine #258

Open
github-bot wants to merge 2 commits from github-bot/gh-258 into main AGit
Owner

@⁠vktory6 on GitHub · 2026-12-02 17:11 UTC · original
vktory6:ci/pe-tests-under-wine → main · +13 −2 · 1 files · 2 commits · open

The Windows crates (victory-core, victory-formats, victory-gpu, victory-hle, victory-loader) are built and linted for Windows in CI, but their unit tests never ran there: #141's guard test only ever ran by hand. This adds a step that builds them for Windows and runs them under Wine, which is also how the PE runs in a game run.

Locally under Wine: 398 tests pass across the five crates. victory-shader's cfg(windows) tests need a GPU (the on-card tests) and stay out.

Opened as a PR so CI proves the step on the runner's Wine (Ubuntu's 9.0) before it lands.

**@⁠vktory6** on GitHub · 2026-12-02 17:11 UTC · [original](https://github.com/vktory6/VKtory/pull/258) `vktory6:ci/pe-tests-under-wine` → `main` · +13 −2 · 1 files · 2 commits · open The Windows crates (victory-core, victory-formats, victory-gpu, victory-hle, victory-loader) are built and linted for Windows in CI, but their unit tests never ran there: #141's guard test only ever ran by hand. This adds a step that builds them for Windows and runs them under Wine, which is also how the PE runs in a game run. Locally under Wine: 398 tests pass across the five crates. victory-shader's cfg(windows) tests need a GPU (the on-card tests) and stay out. Opened as a PR so CI proves the step on the runner's Wine (Ubuntu's 9.0) before it lands.
The Windows crates (victory-core, -formats, -gpu, -hle, -loader) were built and linted for Windows but
their unit tests never ran: #141's guard test ran only by hand. They now run under Wine, as the PE does in
a game run (398 tests, all passing locally under Wine).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 18:49:13 +00:00
This pull request has changes conflicting with the target branch.
  • .github/workflows/ci.yml
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

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

Merge

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