Repository navigation
Build improvements - #39
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves the build setup into the workspace, pins the Rust toolchain, and adds Linux to the release, with per-platform release files and checksums.
Build system
[workspace.lints]of the rootCargo.toml, so./run.sh check, CI and the IDE use the same set. The#![warn(...)]block inmain.rsand the flag lists inrun.sh/ CI are goneversion,edition,licenseandrust-versioncome from the workspace, so a release bumps the version in one place[profile.bench]is dropped)cargo packager --releasebuilds the app itself viabefore-packaging-command, no separatecargo buildneeded.rgbafiles (removed, along with their step inmake_icons.sh)build.rsonly reruns when it oricon.icochangesToolchain and CI
rust-toolchain.tomlpins the compiler (1.100, with rustfmt and clippy). CI and release install it withrustup toolchain installinstead ofdtolnay/rust-toolchain@stable, so the same tag always builds with the same compilerrust-version = "1.95"documents the minimum supported Rust--lockedRelease
ubuntu-22.04(oldest available runner, for older glibc):.deband AppImagehexcli_<version>_<platform>(.tar.gzon macOS / Linux so it stays executable,.zipon Windows)SHA256SUMS.txtfor all files is attached to the releasePackaging
%LOCALAPPDATA%\Hexalyzer), no admin rights needed. Releases up to v0.3.0 installed intoC:\Program Files\HexalyzerVersion 0.3.0, without cargo-packager's build timestamp (viaassets/Info.plist)DeveloperToolcategoryhexalyzer, so the desktop shows the right icon and name for the window