Skip to content

ci: build/lint gate for macOS, Windows and Linux - #7

Merged
wpexpertinbd merged 3 commits into
masterfrom
ci/build-check
Aug 5, 2026
Merged

ci: build/lint gate for macOS, Windows and Linux#7
wpexpertinbd merged 3 commits into
masterfrom
ci/build-check

Conversation

@wpexpertinbd

Copy link
Copy Markdown
Owner

Adds the missing build CI. Catches the two bug classes found while reviewing #5/#6: Swift that can't compile, and Python undefined names (NameError at runtime, invisible to py_compile).

Opening as a PR so the pull_request trigger itself gets validated on a real run before this lands on master.

wpexpertinbd and others added 3 commits August 5, 2026 06:55
BHServe ships three front-ends (Swift/macOS, C#/Windows, Python/Linux) over one
shared bash engine, and nothing ever compiled the other platforms. A community PR
sat open containing C# pattern-matching syntax pasted into a .swift file (which
cannot compile) plus a deleted Python variable that was still referenced — a
runtime NameError PyGObject swallows, so the button silently did nothing.

- macOS:   swift build
- Windows: dotnet build BHServe.sln
- Linux:   compileall + ruff F821/F822 (undefined names — the class py_compile
           cannot see) + bash -n over the engine and every shipped .sh

Narrow rule set on purpose: a correctness gate, not a style gate, so it never
fails a PR over formatting. Jobs are per-platform so a Linux-only change is not
blocked by a Windows job.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@wpexpertinbd
wpexpertinbd merged commit e6efbe0 into master Aug 5, 2026
3 checks passed
@wpexpertinbd
wpexpertinbd deleted the ci/build-check branch August 5, 2026 01:02
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