summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-01-08 10:47:29 +0200
committerLars Wirzenius <liw@liw.fi>2024-01-08 10:47:29 +0200
commit680b4a4930c1a7b1d0c6973634ed35ac0261ab5f (patch)
treeb685d660cf09e345cc7af16977358a21416cba0b
parent312c9c46e1f2abcc168f10dc8a115872e4f42502 (diff)
downloadliw-dot-files-680b4a4930c1a7b1d0c6973634ed35ac0261ab5f.tar.gz
ambient.yaml: add subplot projects
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
-rw-r--r--ambient.yaml48
1 files changed, 48 insertions, 0 deletions
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/