From d2ca6e9d43349395446f56250d1c392062703bb3 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 9 Jan 2024 21:06:25 +0200 Subject: ambient.yaml: add summain Signed-off-by: Lars Wirzenius Sponsored-by: author --- ambient.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/ambient.yaml b/ambient.yaml index 37ea7fe..50b4a1d 100644 --- a/ambient.yaml +++ b/ambient.yaml @@ -58,6 +58,28 @@ projects: dch -r '' - action: deb + summain: + image: ~/tmp/ambient/ambient-boot.qcow2 + source: ~/pers/obnam/summain + publish_artifacts: true + pre_plan: + - action: cargo_fetch + plan: + - action: rustup_setup + - action: cargo_clippy + - action: cargo_build + - action: cargo_test + - action: shell + shell: | + export PATH="/root/.cargo/bin:$PATH" + + V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" + T="$(date -u "+%Y%m%dT%H%M%S")" + version="$V.ci$T-1" + dch -v "$version" "CI build under Ambient." + dch -r '' + - action: deb + pathdedup: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/pathdedup/git -- cgit v1.2.1