Smoke test static Linux CLI model preparation in CI

This commit is contained in:
Pavlo Ratushnyi
2026-10-02 21:33:15 +02:00
parent 2f182575dc
commit a3ec1b27ed
3 changed files with 90 additions and 0 deletions
+6
View File
@@ -42,11 +42,17 @@ jobs:
echo 'ELF has a dynamic interpreter' >&2
exit 1
fi
if readelf -d "$binary" | grep -q NEEDED; then
echo 'ELF has a dynamic library dependency' >&2
exit 1
fi
"$binary" --version
mkdir -p dist
cp "$binary" dist/strata-next-linux-x86_64-musl
cd dist
sha256sum strata-next-linux-x86_64-musl > SHA256SUMS
- name: Static CLI model smoke
run: python3 scripts/smoke-static-cli.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
- uses: actions/upload-artifact@v4
with:
name: strata-next-linux-x86_64-musl