rad-ci 0.3.0

emulate Radicle CI runs locally
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
AMBIENT_IMAGE = /scratch/ambient-images/ambient-boot.qcow2

all: rad-ci.html check

rad-ci.html: rad-ci.subplot rad-ci.yaml rad-ci.md
	subplot docgen rad-ci.subplot -o rad-ci.html

check:
	cargo clippy --all-targets -- -Dwarnings
	cargo build --all-targets
	cargo test --all-targets
#	cargo test --doc
#	cargo doc --no-deps
	rm -f test.py test.log
	subplot codegen rad-ci.subplot -o test.py
	RUN_CI_LOG=trace python3 test.py --log test.log --env "AMBIENT_IMAGE=${AMBIENT_IMAGE}"
	rm -f test.py test.log