ci: Automated GitHub Actions Build Workflow #2135
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!2135
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@7d4d9e33 on GitHub · 2026-11-25 05:49 UTC · original
7d4d9e33:build-artifacts→main· +89 −0 · 1 files · 5 commits · openSummary
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
@Marvisak on GitHub · 2026-11-25 10:50 UTC · original · edited 2026-11-25 16:47 UTC
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
@7d4d9e33 on GitHub · 2026-11-25 12:35 UTC · original
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.