From 917ebe92f7f2a5513bd478c7dbd259aecb4c929a Mon Sep 17 00:00:00 2001 From: stack72 Date: Tue, 28 Apr 2026 10:44:00 +0200 Subject: [PATCH] ci: add manually-triggered Cross Platform Builds workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds .github/workflows/cross-platform-builds.yml — a workflow_dispatch workflow that runs lint, check, test, and compile on windows-latest and macos-latest. The workflow has no automatic triggers, so it adds no CI noise to PRs or main, and is invoked on demand via the GitHub UI or `gh workflow run`. This is the foundation for incremental Windows-support work: the first run captures the failure inventory; subsequent runs verify that fixes land cleanly on Windows. Once Windows support is complete, this workflow's triggers can be expanded to include pull_request as a final acceptance gate. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/cross-platform-builds.yml | 39 +++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/cross-platform-builds.yml diff --git a/.github/workflows/cross-platform-builds.yml b/.github/workflows/cross-platform-builds.yml new file mode 100644 index 00000000..9c020fed --- /dev/null +++ b/.github/workflows/cross-platform-builds.yml @@ -0,0 +1,39 @@ +name: Cross Platform Builds + +on: + workflow_dispatch: + +jobs: + build: + name: Cross Platform Build (${{ matrix.os }}) + runs-on: ${{ matrix.os }} + permissions: + contents: read + strategy: + fail-fast: false + matrix: + os: [windows-latest, macos-latest] + + steps: + - name: Checkout code + uses: actions/checkout@v6 + + - name: Setup Deno + uses: denoland/setup-deno@v2 + with: + deno-version: v2.x + + - name: Run deno lint + run: deno lint + + - name: Run deno fmt --check + run: deno fmt --check + + - name: Run deno check + run: deno task check + + - name: Run deno test + run: deno task test + + - name: Compile binary + run: deno task compile