Skip to content

ci: validate Linux CLI alongside macOS - #18

Merged
softmaxe merged 1 commit into
mainfrom
t3/linux-cli-ci-workflows
Nov 7, 2026
Merged

softmaxe merged 1 commit into
mainfrom
t3/linux-cli-ci-workflows

Conversation

@softmaxe

@softmaxe softmaxe commented Nov 7, 2026

Copy link
Copy Markdown
Owner

Summary

Validate the Linux CLI introduced in #16 on a native Ubuntu runner, alongside the existing macOS validation. Preserve the required Check status without changing branch protection.

macos-15:     format + Clippy + tests --------------------+
ubuntu-24.04: Clippy + tests + release build + --version --+--> Check

Both platforms must succeed. Run the aggregate gate even after validation fails, is cancelled, or is skipped. Keep release archives and Homebrew installation checks macOS-only, and update the CI guidance in AGENTS.md.

Evidence

  • Before: macOS-only validation never compiled Linux-specific code or the native HID backend.
    After: the validation matrix covers macOS and Ubuntu with --locked; Linux also builds the source-install binary and checks its exact version without sudo or hardware access.
  • Local Linux: formatting, Clippy with warnings denied, all 27 tests, release build, and the workflow's exact CLI smoke-test script passed.
  • All workflows passed actionlint v1.7.12, including ShellCheck.
  • The aggregate gate accepted success and rejected failure, cancelled, and skipped in local shell checks.
  • Native GitHub runner execution will be reported by the PR checks. Local validation ran on Ubuntu 26.04; the workflow targets Ubuntu 24.04.

Merge Danger

Door: two-way

Reversible workflow and contributor guidance changes. No runtime code or release version changes.

Blast Radius: CI

Adds native Linux validation and a small aggregate job. Hardware battery queries and sudo permissions still require a connected device to validate.

@softmaxe
softmaxe merged commit d144e53 into main Nov 7, 2026
6 checks passed
@softmaxe
softmaxe deleted the t3/linux-cli-ci-workflows branch November 7, 2026 14:41
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.

1 participant