11 lines
408 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
RUSTFLAGS='--cfg feature="high-active-slot-coefficient"' \
cargo build --all-features --manifest-path /workspace/testing-framework/tools/cfgsync_tf/Cargo.toml --bins
cp /workspace/target/debug/cfgsync-server /workspace/artifacts/cfgsync-server
cp /workspace/target/debug/cfgsync-client /workspace/artifacts/cfgsync-client
rm -rf /workspace/target/debug/incremental