ci failed
push
Branch:
refs/heads/ci/publish-runner-binaries
90cceb3
Started: Apr 10, 2026 at 01:16 UTC
Completed: Apr 10, 2026 at 01:16 UTC
Duration: 27s
Pipeline validated with warnings
- step 'check': 'cache' is accepted but not yet implemented
- step 'test': 'cache' is accepted but not yet implemented
- step 'coverage': 'cache' is accepted but not yet implemented
- step 'clippy': 'cache' is accepted but not yet implemented
- step 'build': 'cache' is accepted but not yet implemented
Jobs
Stage 0
Stage 1
Stage 2
cancelled
build
-
cargo build --release 2>&1
depends on
test
clippy
fmt
cancelled
publish-runner
-
set -e
if [ "$ANVIL_BRANCH" != "main" ] && [ "$ANVIL_BRANCH" != "refs/heads/main" ]; then
echo "Skipping publish (not on main branch)"
exit 0
fi
source "$HOME/.cargo/env"
cd /workspace
# Build arm64 natively (CI runner is aarch64)
echo "==> Building arm64 binary (native)..."
cargo build --release
# Cross-compile amd64
echo "==> Cross-compiling amd64 binary..."
rustup target add x86_64-unknown-linux-gnu 2>/dev/null || true
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=x86_64-linux-gnu-gcc \
cargo build --release --target x86_64-unknown-linux-gnu
# Publish as release assets under a "latest" tag
echo "==> Publishing runner binaries..."
anvil release delete latest --repo fangorn/anvil-cli 2>/dev/null || true
anvil release create --tag latest --repo fangorn/anvil-cli \
--title "Latest runner binaries" \
--body "Auto-published by CI. Used by the server download endpoint."
anvil release upload latest target/release/anvil \
--name anvil_runner_linux_arm64 --repo fangorn/anvil-cli
anvil release upload latest target/x86_64-unknown-linux-gnu/release/anvil \
--name anvil_runner_linux_amd64 --repo fangorn/anvil-cli
echo "Published runner binaries (linux_arm64 + linux_amd64)"
depends on
test
clippy
fmt
Artifacts
No artifacts for this run