CI: List FDB package details

This commit is contained in:
mdecimus
2025-12-16 10:03:24 +01:00
parent 7794196da7
commit 45cc66934d

View File

@@ -348,7 +348,9 @@ jobs:
rustup target add ${{matrix.target}}
# Get latest FoundationDB installer
curl --retry 5 -Lso foundationdb.pkg "$(gh api -X GET /repos/apple/foundationdb/releases --jq '.[] | select(.prerelease == false) | .assets[] | select(.name | test("${{startsWith(matrix.target, 'x86') && 'x86_64' || 'arm64'}}" + ".pkg$")) | .browser_download_url' | head -n1)"
sudo installer -allowUntrusted -dumplog -pkg foundationdb.pkg -target /
echo "=== Package contents ==="
pkgutil --payload-files foundationdb.pkg || true
sudo installer -allowUntrusted -verbose -dumplog -pkg foundationdb.pkg -target /
cargo build --release --target ${{matrix.target}} -p stalwart --no-default-features --features "foundationdb s3 redis nats enterprise"
mkdir -p artifacts
mv ./target/${{matrix.target}}/release/stalwart ./artifacts/stalwart-foundationdb