From 29f546abcfbdc5f01cb57c48d25c83881b78c3aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Guti=C3=A9rrez?= <35082514+alezmad@users.noreply.github.com> Date: Wed, 15 Apr 2026 02:51:25 +0100 Subject: [PATCH] fix(ci): skip smoke tests for cross-compiled binaries macos-latest = ARM64, ubuntu-latest = x64. Only darwin-arm64 and linux-x64 binaries can execute on their build host; the others are cross-compiled and will Exec format error. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/release-cli.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml index 26d1948..d1e897f 100644 --- a/.github/workflows/release-cli.yml +++ b/.github/workflows/release-cli.yml @@ -57,8 +57,11 @@ jobs: src/entrypoints/cli.ts \ --outfile dist/bin/claudemesh-${{ matrix.target }}${{ matrix.ext }} - - name: Smoke test (non-Windows) - if: matrix.target != 'windows-x64' + # Smoke test only on native arch. macos-latest runners are ARM64 (Apple + # Silicon); ubuntu-latest is x64. Cross-compiled binaries can't execute + # on the build host, so skip them. + - name: Smoke test (native only) + if: matrix.target == 'darwin-arm64' || matrix.target == 'linux-x64' working-directory: apps/cli-v2 run: | ./dist/bin/claudemesh-${{ matrix.target }} --version