ci: publish Linux build provenance and ELF audit
This commit is contained in:
@@ -82,8 +82,21 @@ jobs:
|
||||
"$binary" --version
|
||||
mkdir -p dist
|
||||
cp "$binary" dist/strata-next-linux-x86_64-musl
|
||||
{
|
||||
echo "Commit: $GITHUB_SHA"
|
||||
echo "Workflow: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
|
||||
rustc --version
|
||||
cargo --version
|
||||
musl-gcc --version
|
||||
readelf --version
|
||||
} > dist/BUILD-PROVENANCE.txt
|
||||
{
|
||||
readelf -h "$binary"
|
||||
readelf -l "$binary"
|
||||
readelf -d "$binary"
|
||||
} > dist/ELF-AUDIT.txt
|
||||
cd dist
|
||||
sha256sum strata-next-linux-x86_64-musl > SHA256SUMS
|
||||
sha256sum strata-next-linux-x86_64-musl BUILD-PROVENANCE.txt ELF-AUDIT.txt > SHA256SUMS
|
||||
- name: Static CLI model smoke
|
||||
run: python3 scripts/smoke-static-cli.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
|
||||
- name: Native systemd unit syntax and path safety
|
||||
@@ -137,6 +150,6 @@ jobs:
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
gh release create "${GITHUB_REF_NAME}" dist/strata-next-linux-x86_64-musl dist/SHA256SUMS \
|
||||
gh release create "${GITHUB_REF_NAME}" dist/strata-next-linux-x86_64-musl dist/SHA256SUMS dist/BUILD-PROVENANCE.txt dist/ELF-AUDIT.txt \
|
||||
--repo "${GITHUB_REPOSITORY}" --title "Strata Next ${GITHUB_REF_NAME}" \
|
||||
--notes 'CLI/control-plane preview. CUDA engine and model files are not included.' --prerelease
|
||||
|
||||
Reference in New Issue
Block a user