rad-ci 0.6.0

emulate Radicle CI runs locally
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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}"