From 5e362714fe3cdbecb16bc177067af20ba18d8c83 Mon Sep 17 00:00:00 2001 From: can1357 Date: Thu, 23 Jul 2026 02:45:13 +0200 Subject: [PATCH] ci: installed libstdc++ and libgcc in alpine musl smoke - Bun musl-target binaries link both dynamically, matching bun's own Alpine runtime requirements. --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a5439da7..c8aa4aa15 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -698,7 +698,10 @@ jobs: if: matrix.libc == 'musl' run: | binary="$(realpath "${{ matrix.binary_path }}")" - docker run --rm -v "$binary:/usr/local/bin/omp:ro" alpine:3.22 sh -c ' + # Bun's musl-target binaries link libstdc++/libgcc dynamically; + # Alpine users install them alongside the binary (same as bun itself). + docker run --rm -v "$binary:/usr/local/bin/omp:ro" alpine:3.22 sh -ec ' + apk add --no-cache libstdc++ libgcc >/dev/null runtime_dir="$(mktemp -d)" HOME="$runtime_dir/home" XDG_DATA_HOME="$runtime_dir/xdg" omp --version HOME="$runtime_dir/home" XDG_DATA_HOME="$runtime_dir/xdg" omp --smoke-test