Skip to content

Enhance CI workflows: multi-platform build, Rust quality gates, Windows release#75

Merged
senamakel merged 6 commits into
tinyhumansai:mainfrom
CodeGhost21:ci/enhance-workflows
Mar 30, 2026
Merged

Enhance CI workflows: multi-platform build, Rust quality gates, Windows release#75
senamakel merged 6 commits into
tinyhumansai:mainfrom
CodeGhost21:ci/enhance-workflows

Conversation

@CodeGhost21
Copy link
Copy Markdown
Contributor

Summary

  • build.yml: Added rust-quality job (cargo fmt + clippy) as a gate before builds; added macOS ARM64 to the build matrix (was Linux-only)
  • test.yml: Added cargo fmt and clippy checks to the Rust test job
  • release.yml: Added Windows x86_64 (x86_64-pc-windows-msvc) to the release build matrix with proper .exe sidecar handling

Test plan

  • Verify build.yml rust-quality job passes (fmt + clippy)
  • Verify Linux x86_64 and macOS ARM64 builds succeed
  • Verify test.yml runs Rust quality checks before tests
  • Verify release.yml Windows matrix entry builds correctly (manual dispatch)

🤖 Generated with Claude Code

CodeGhost21 and others added 6 commits March 30, 2026 18:31
…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>
@senamakel senamakel merged commit 877a96d into tinyhumansai:main Mar 30, 2026
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants