AMBIENT_IMAGE = /scratch/ambient-images/ambient-boot.qcow2
all: rad-ci.html test
rad-ci.html: rad-ci.subplot rad-ci.yaml rad-ci.md
subplot docgen rad-ci.subplot -o rad-ci.html
build:
cargo clippy --all-targets -- -Dwarnings
cargo build --all-targets
subplot codegen rad-ci.subplot -o test.py
test: build
cargo test --all-targets
rm -f test.log
RUN_CI_LOG=trace python3 test.py --log test.log --env "AMBIENT_IMAGE=${AMBIENT_IMAGE}"