solstice-ci/.mise/tasks/build/deb
Till Wegmueller 0724a4c526
Enable libvirt feature for orchestrator and bump version to 0.1.2
- Add `--features libvirt` to orchestrator's Debian package build process.
- Update orchestrator version to 0.1.2 in `Cargo.toml`.

Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2025-11-17 20:01:06 +01:00

15 lines
No EOL
400 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
# Build Debian package for the orchestrator using cargo-deb
if ! command -v cargo-deb >/dev/null 2>&1; then
cargo install cargo-deb
fi
# Build release binary first for reproducible asset path
cargo build -p orchestrator --release --features libvirt
# Package orchestrator
cargo deb -p orchestrator --no-build
echo "\nDebs written under target/debian/*.deb"