ci: skipped glibc-host smoke for musl release binaries

- Musl-linked binaries cannot exec on glibc runners (missing
  /lib/ld-musl loader); the dedicated Alpine container step remains
  their smoke gate.
This commit is contained in:
can1357
2026-07-23 02:22:51 +02:00
parent 50e388035a
commit 1f7d2ff9ea
+4 -2
View File
@@ -687,9 +687,11 @@ jobs:
# Windows binary is cross-built on Linux, so we have no Windows runner
# to smoke it on. Cross-build correctness is verified via the napi
# entry-point exports (see build-native action) and the bun
# `--compile --target=bun-windows-x64-*` cross-compile.
# `--compile --target=bun-windows-x64-*` cross-compile. Musl binaries
# need the musl loader, which glibc runners lack — they are smoked in
# the Alpine container step below instead.
- name: Smoke release binary
if: matrix.platform != 'win32'
if: matrix.platform != 'win32' && matrix.libc != 'musl'
run: |
runtime_dir="$(mktemp -d)"
HOME="$runtime_dir/home" XDG_DATA_HOME="$runtime_dir/xdg" "${{ matrix.binary_path }}" --version