CI: Add GitHub Actions workflow #481

Closed
github-bot wants to merge 6 commits from gh-pr/481/head into gh-pr/481/base
Owner

@⁠LazyHatGuy on GitHub · 2026-11-24 03:55 UTC · original
LazyHatGuy:ci → main · +47 −33 · 2 files · 6 commits · closed without merging

To help with the influx of PRs I think it would be a good idea to have tests running in GitHub Actions

Ubuntu-Latest tests will fail until #112 or #235 are merged in.
Lint will fail without #502
A successful test run can be found here: https://github.com/LazyHatGuy/VIctory/actions/runs/45323833084

**@⁠LazyHatGuy** on GitHub · 2026-11-24 03:55 UTC · [original](https://github.com/Marvisak/VIctory/pull/481) `LazyHatGuy:ci` → `main` · +47 −33 · 2 files · 6 commits · closed without merging To help with the influx of PRs I think it would be a good idea to have tests running in GitHub Actions Ubuntu-Latest tests will fail until #112 or #235 are merged in. Lint will fail without #502 A successful test run can be found here: https://github.com/LazyHatGuy/VIctory/actions/runs/45323833084
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:05:35 +00:00
github-bot closed this pull request 2026-11-26 04:05:35 +00:00
Author
Owner

@⁠NolanCotter on GitHub · 2026-11-24 04:11 UTC · original

Heads-up from a tooling pass: as written this will be red on main for two independent reasons.

  • cargo fmt --all -- --check fails today: 30 files have drift (victory-formats, victory-gpu, victory-hle, victory-loader — e.g. crates/victory-loader/src/lib.rs use ordering, threads.rs import ordering). A maintainer-level cargo fmt pass is needed before this lands, or every PR goes red behind it.
  • cargo test --workspace on ubuntu-latest fails to build: victory-gpu still has Windows-only paths ungated (view_format calls #[cfg(windows)]-only host_resource, E0425). Needs something in the shape of #235's gating first.

cargo xtask policy in the linux job is fine — the policy path works gitless and on any platform.

**@⁠NolanCotter** on GitHub · 2026-11-24 04:11 UTC · [original](https://github.com/Marvisak/VIctory/pull/481#issuecomment-7121790719) Heads-up from a tooling pass: as written this will be red on `main` for two independent reasons. - `cargo fmt --all -- --check` fails today: 30 files have drift (victory-formats, victory-gpu, victory-hle, victory-loader — e.g. `crates/victory-loader/src/lib.rs` use ordering, `threads.rs` import ordering). A maintainer-level `cargo fmt` pass is needed before this lands, or every PR goes red behind it. - `cargo test --workspace` on `ubuntu-latest` fails to build: `victory-gpu` still has Windows-only paths ungated (`view_format` calls `#[cfg(windows)]`-only `host_resource`, E0425). Needs something in the shape of #235's gating first. `cargo xtask policy` in the linux job is fine — the policy path works gitless and on any platform.
Author
Owner

@⁠LazyHatGuy on GitHub · 2026-11-24 04:18 UTC · original

Heads-up from a tooling pass: as written this will be red on main for two independent reasons.

Just opened a PR for the lint issue
If it is needed, ubuntu-latest can be removed from the test matrix until #235 is merged in.

I'll wait for @⁠Marvisak to reply to make a decission

**@⁠LazyHatGuy** on GitHub · 2026-11-24 04:18 UTC · [original](https://github.com/Marvisak/VIctory/pull/481#issuecomment-7121903877) > Heads-up from a tooling pass: as written this will be red on `main` for two independent reasons. Just opened a PR for the lint issue If it is needed, `ubuntu-latest` can be removed from the `test` matrix until #235 is merged in. I'll wait for @⁠Marvisak to reply to make a decission

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!481
No description provided.