Prove clean native release artifacts (#106)
Some checks failed
API and SemVer surface / api-surface (push) Failing after 1m28s
Native release artifact audit / audit (push) Failing after 1h6m34s
Native code generation / deterministic (push) Failing after 2m15s
Concurrency and resource soak audit / soak (push) Failing after 6m33s
Documentation / documentation (push) Failing after 2m0s
Imaging and meshing gate / native (push) Failing after 55s
JPEG 2000 feature / linux (push) Successful in 2m46s
performance evidence / audit (push) Failing after 13m45s
Release platform and feature matrix / audit (push) Successful in 1m3s
Native Rust workspace compile / compile (push) Failing after 55s
Skia feature / linux (push) Successful in 31m58s
Dependency and supply-chain audit / audit (push) Failing after 9m34s
Release platform and feature matrix / matrix (false, linux-stable-minimal, x86_64-unknown-linux-gnu, stable) (push) Failing after 10m2s
Release platform and feature matrix / matrix (false, macos-stable-portable, x86_64-apple-darwin, stable) (push) Failing after 2m0s
Release platform and feature matrix / matrix (false, windows-stable-portable, x86_64-pc-windows-gnu, stable) (push) Failing after 1m56s
Release platform and feature matrix / matrix (true, linux-msrv-portable, x86_64-unknown-linux-gnu, 1.96.0) (push) Failing after 6m19s
Release platform and feature matrix / matrix (true, linux-stable-default, x86_64-unknown-linux-gnu, stable) (push) Failing after 6m57s
Release platform and feature matrix / matrix (true, linux-stable-features, x86_64-unknown-linux-gnu, stable) (push) Failing after 7m6s
Release platform and feature matrix / matrix (true, linux-stable-release-surface, x86_64-unknown-linux-gnu, stable) (push) Failing after 8m8s

This commit is contained in:
2026-08-12 04:57:37 +00:00
parent 738fe3933e
commit dceb394378
40 changed files with 20112 additions and 154 deletions

View File

@@ -0,0 +1,94 @@
name: Native release artifact audit
on:
push:
paths:
- ".gitea/workflows/artifact-audit.yml"
- "ci/artifact-policy.json"
- "ci/dependency-policy.json"
- "ci/provenance-policy.json"
- "tools/ci-matrix/**"
- "tools/install_openjpeg_2_5_4.sh"
- "docs/release-artifacts.md"
- "Cargo.toml"
- "Cargo.lock"
- "crates/**"
- "programs/**"
pull_request:
paths:
- ".gitea/workflows/artifact-audit.yml"
- "ci/artifact-policy.json"
- "ci/dependency-policy.json"
- "ci/provenance-policy.json"
- "tools/ci-matrix/**"
- "tools/install_openjpeg_2_5_4.sh"
- "docs/release-artifacts.md"
- "Cargo.toml"
- "Cargo.lock"
- "crates/**"
- "programs/**"
workflow_dispatch:
env:
CARGO_BUILD_JOBS: 1
CARGO_INCREMENTAL: 0
FORCE_SKIA_BINARIES_DOWNLOAD: 1
OPENJPEG_PREFIX: /tmp/metacrate-openjpeg-artifact-audit
PKG_CONFIG_PATH: /tmp/metacrate-openjpeg-artifact-audit/lib/pkgconfig
LD_LIBRARY_PATH: /tmp/metacrate-openjpeg-artifact-audit/lib
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.97.1
- name: Install documented native prerequisites
run: |
sudo apt-get update
sudo apt-get install --yes build-essential clang cmake curl ninja-build pkg-config python3 libfontconfig1-dev libfreetype6-dev libopus-dev
tools/install_openjpeg_2_5_4.sh "$OPENJPEG_PREFIX"
pkg-config --exact-version 2.5.4 libopenjp2
pkg-config --modversion opus
- name: Record source identity without a shipped build helper
run: echo "METACRATE_RUST_COMMIT=$(git rev-parse --verify HEAD)" >>"$GITHUB_ENV"
- name: Fetch the locked dependency graph
run: cargo fetch --locked
- name: Create every release source package atomically
run: |
cargo package --locked --no-verify \
-p libremetaverse-types \
-p libremetaverse-structured-data \
-p libremetaverse-imaging \
-p libremetaverse-imaging-skia \
-p libremetaverse-openjpeg \
-p libremetaverse-opus \
-p libremetaverse-prim-mesher \
-p libremetaverse-lsl-tools \
-p libremetaverse \
-p libremetaverse-rendering-simple \
-p libremetaverse-rendering-mesh-foundry \
-p libremetaverse-rlv \
-p libremetaverse-utilities \
-p libremetaverse-voice-vivox \
-p libremetaverse-voice-webrtc \
-p libremetaverse-programs
- name: Build every shipped native executable
run: cargo build --locked --release -j 1 -p libremetaverse-programs --bins
- name: Inspect packages, binaries, links, and offline runtime behavior
run: |
cargo run --locked -p metacrate-ci-matrix -- artifact-audit \
--artifact-dir target/release \
--package-dir target/package \
--evidence artifacts/release/artifact-audit.json
- name: Upload immutable audit evidence and source packages
if: always()
uses: actions/upload-artifact@v4
with:
name: native-release-artifact-audit
path: |
artifacts/release/artifact-audit.json
target/package/*.crate
if-no-files-found: error