From 35310386b7e1c4cd110d2d98f9f3886ee2df21da Mon Sep 17 00:00:00 2001 From: Asad Iqbal Date: Thu, 4 Jun 2026 14:13:14 +0500 Subject: [PATCH] ci(build): compile-check all 8 release targets in build.yml release.yml builds 8 targets but build.yml (PR CI) only compiled 5, so a break in linux/386, linux/arm, or windows/arm64 wouldn't surface until a release tag. Bring build.yml's matrix in lock-step: add linux/386, linux/arm (GOARM=6), windows/arm64. Compile-only (the native linux/amd64 smoke step is unchanged). Closes #45 Co-Authored-By: Claude Opus 4.8 --- .github/workflows/build.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0df784c..d1c8dba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,7 @@ name: Build # Runs on every PR + every push to develop/main. Validates the binary -# builds cleanly across all 5 release-target platforms, the tests pass, +# builds cleanly across all 8 release-target platforms, the tests pass, # and the linter is green. Release-time signing + tag artifacts live # in release.yml (Phase 5). @@ -115,6 +115,11 @@ jobs: arch: amd64 - os: linux arch: arm64 + - os: linux + arch: '386' + - os: linux + arch: arm + goarm: '6' # keep in lock-step with release.yml's matrix - os: darwin arch: amd64 - os: darwin @@ -122,6 +127,9 @@ jobs: - os: windows arch: amd64 ext: .exe + - os: windows + arch: arm64 + ext: .exe steps: - uses: actions/checkout@v4 @@ -135,6 +143,7 @@ jobs: env: GOOS: ${{ matrix.os }} GOARCH: ${{ matrix.arch }} + GOARM: ${{ matrix.goarm }} # only applies when GOARCH=arm CGO_ENABLED: "0" run: | mkdir -p dist