From 680b4a4930c1a7b1d0c6973634ed35ac0261ab5f Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 8 Jan 2024 10:47:29 +0200 Subject: ambient.yaml: add subplot projects Signed-off-by: Lars Wirzenius Sponsored-by: author --- ambient.yaml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/ambient.yaml b/ambient.yaml index 2527b51..6b673c6 100644 --- a/ambient.yaml +++ b/ambient.yaml @@ -1,5 +1,53 @@ projects: + subplot-libdocs: + image: ~/tmp/ambient/ambient-boot.qcow2 + source: ~/pers/subplot/git + publish_artifacts: true + pre_plan: + - action: cargo_fetch + plan: + - action: rustup_setup + - action: cargo_build + - action: shell + shell: | + ./check doc + cd test-outputs/libdocs + find -ls + for md in *.md; do + pandoc \ + --standalone \ + --self-contained \ + "$md" \ + -o "$(basename "$md" .md)".html + done + find -ls + mv *.html /workspace/artifacts/. + + subplot: + image: ~/tmp/ambient/ambient-boot.qcow2 + source: ~/pers/subplot/git + publish_artifacts: true + pre_plan: + - action: cargo_fetch + plan: + - action: rustup_setup + # - action: cargo_clippy + # - action: cargo_build + - action: shell + shell: | + export PATH="/root/.cargo/bin:$PATH" + ./check --offline -v + rm -rf test-outputs + + 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 + ambient-web: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/ambient-ci/ambient-web/src/ -- cgit v1.2.1