Menu
AkurAI-Build
publicLatest change 3ea0d3c53d6162c5017e65eb932aea8560de1eab - Harden deployment and edge diagnostics by Ólafur Búi Ólafsson
version: 1
jobs:
- name: validate
image: rust:1.89-bookworm
network: true
cache: [.cargo, target]
run:
- export CARGO_HOME=/workspace/.cargo
- cargo fmt --check
- cargo clippy --locked --all-targets -- -D warnings
- cargo test --locked --all-targets --no-fail-fast
- name: binaries
needs: [validate]
image: rust:1.89-bookworm
network: true
cache: [.cargo]
matrix:
platform: [linux/amd64, linux/arm64]
run:
- export CARGO_HOME=/workspace/.cargo
- export CARGO_TARGET_DIR="target/$(printf %s "$AKURAI_MATRIX_PLATFORM" | tr / -)"
- cargo build --release --locked
artifacts: [target/linux-*/release/akurai]