Enhance CI workflows: multi-platform build, Rust quality gates, Windows release#75
Merged
Merged
Conversation
…ws release target - build.yml: add rust-quality job (cargo fmt + clippy), matrix for Linux x86_64 and macOS ARM64 - test.yml: add cargo fmt, clippy checks to rust-tests job - release.yml: add Windows x86_64 target with .exe sidecar handling Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Remove -D warnings from clippy (codebase has pre-existing lint violations) - Touch .env at both repo root and app/ for E2E build script Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Handle empty exports array to avoid 'unbound variable' error when .env exists but contains no key-value pairs (e.g. CI touch-created). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The Tauri build script validates sidecar resource paths even during clippy checks. Core crate clippy still runs; Tauri shell is validated during the actual build step. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Yarn v1 strips one -- layer, so -- -- --bin OpenHuman is needed to pass --bin to cargo through tauri build. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
CI build doesn't need updater artifacts or signing. Disable both createUpdaterArtifacts and the updater plugin to avoid requiring TAURI_SIGNING_PRIVATE_KEY. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
rust-qualityjob (cargo fmt + clippy) as a gate before builds; added macOS ARM64 to the build matrix (was Linux-only)x86_64-pc-windows-msvc) to the release build matrix with proper.exesidecar handlingTest plan
build.ymlrust-quality job passes (fmt + clippy)test.ymlruns Rust quality checks before testsrelease.ymlWindows matrix entry builds correctly (manual dispatch)🤖 Generated with Claude Code