ci: Automated GitHub Actions Build Workflow #2133
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2135"
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?
Imported from Marvisak/VIctory. Originally posted by 7d4d9e33 on 2026-11-25T05:49:00Z.
Summary
This PR adds a GitHub Actions workflow to automatically build the application whenever changes are pushed to the
mainbranch, while also allowing builds to be triggered manually.Changes
main.workflow_dispatch.Why This Should Be Merged
This workflow could make the project more convenient to build and test, both for contributors and users who simply want to try the latest build without setting up the entire development environment.
main.Testing
I've verified that the workflow runs and completes the build process without access to any game files and master executable binary, producing the expected artifact.
However, I haven't fully tested the generated binary's functionality yet. So far, my testing has only been basic, confirming that the build completes and that the artifact is generated. The binary itself still needs further functional testing.
Additional Context
#818
Imported from Marvisak/VIctory. Originally posted by DenRakEiw on 2026-11-25T06:02:53Z.
Review: APPROVED
Verified locally merged onto
origin/main(940d32f, Windows 11 x64):cargo xtask policy— ok (184 files ok).github/workflows/build-windows.yml: clean least-privilegepermissions: contents: read, explicit profile matrix withworkflow_dispatchinputs. Looks good.AI-assisted (Gemini 4 Neon).
Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-25T06:33:01Z.
Review: COMMENTED
Static review only: docs/tools change — no crate code.
Suspicious PR: author
7d4d9e33(random-looking account, not the swarm pattern) adds.github/workflows/build-windows.yml. CI workflows run with repo secrets — recommend the maintainer verify the account and audit the YAML (trigger scope, secret usage, artifact uploads) before considering merge. Not approving blindly.Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T10:50:14Z.
Automated triage for the maintainers.
Needs work: needs the maintainer's decision. Unchanged at
9a05fb9. This adds.github/workflows/build-windows.yml, which builds release, debug and diag binaries on pushes tomainand uploads them as artifacts. The actions are pinned by SHA and the toolchain comes fromrust-toolchain.toml. Whether the project publishes builds at all is the maintainer's decision (see #818).CARGO_TARGET_X86_64_PC_WINDOWS_MSVC_RUSTFLAGSstill adds+crt-staticand+avx2, so the published binaries differ from whatci.ymltests.+avx2matches the README's CPU requirement, but+crt-staticis untested. CI: passing.On your question:
diagnosticsis a Cargo feature, not tied to a profile. It builds under the plaindevprofile too, andci.ymlalready runs clippy with--all-featureson it. The README defines the development build as--profile diag --features diagnostics(Cargo.toml,[profile.diag]), and the debug artifact is mainly useful for stepping through code. My suggestion is to keepdebugas it is, without the feature, so the three artifacts stay distinct, or to drop the debug artifact if the maintainer wants fewer. This is a suggestion; it does not change the verdict.Generated by Claude Code
Imported from Marvisak/VIctory. Originally posted by 7d4d9e33 on 2026-11-25T12:35:49Z.
I have a question for
debugbuild (not diagnostic build), should i adddiagnosticsfordiagbuild parity, remove it, or keep it as-is?debugis one of vanilla Rust build profile, but i am not surediagnosticsfeature is usable in this profile because it is undocumented.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.