Repository navigation
Building and Releasing
Mjwitz edited this page Nov 20, 2026
·
3 revisions
BlockGame uses GitHub Actions (.github/workflows/release.yml) to automatically compile and package release binaries for both Linux (x86_64) and Windows (x86_64).
Push a version tag starting with v to trigger the workflow and publish a GitHub Release with downloadable archives:
git tag v0.3.0
git push origin v0.3.0Once the workflow completes, the release will contain:
-
BlockGame-linux-x86_64.tar.gz(blockgame_client,blockgame_server,README.txt) -
BlockGame-windows-x86_64.zip(blockgame_client.exe,blockgame_server.exe,README.txt)
- Open the Actions tab on GitHub.
- Select Build and Release Executables.
- Click Run workflow.
- Download
BlockGame-linux-x86_64andBlockGame-windows-x86_64from the workflow run's Artifacts section.
The workspace Cargo.toml configures [profile.release] with:
opt-level = 3lto = "thin"codegen-units = 1strip = true
This keeps distributed client and server executables compact and fast.