summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-03-10 09:23:30 +0200
committerLars Wirzenius <liw@liw.fi>2024-03-10 09:23:30 +0200
commit3ed37850ab48d6abe805943dd1794e6ad4be4ad1 (patch)
tree70d1686bb9f83c1e193e73bd96fa9ef3b2aba28e
parent9a243a73dfd19e118ad9b8601f345876dd806dea (diff)
downloadliw-dot-files-3ed37850ab48d6abe805943dd1794e6ad4be4ad1.tar.gz
ambient.yaml: add pandoc-filter-diagram
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
-rw-r--r--ambient.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/ambient.yaml b/ambient.yaml
index 5a108fe..6554254 100644
--- a/ambient.yaml
+++ b/ambient.yaml
@@ -481,6 +481,37 @@ projects:
post_plan:
- action: rsync
+ pandoc-filter-diagram:
+ image: ~/tmp/ambient/ambient-boot.qcow2
+ source: ~/pers/pandoc-filter-diagram/git
+ pre_plan:
+ - action: cargo_fetch
+ plan:
+ - action: cargo_fmt
+ - action: cargo_clippy
+ - action: cargo_build
+ # Don't test: the tests require a version of Pandoc that may not
+ # be available.
+ # - action: cargo_test
+ - action: shell
+ shell: |
+ export DEBEMAIL=liw@liw.fi
+ export DEBFULLNAME="Lars Wirzenius"
+
+ 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 ''
+
+ head debian/changelog
+
+ git status --ignored
+ git clean -fdx
+ - action: deb
+ post_plan:
+ - action: dput
+
pathdedup:
image: ~/tmp/ambient/ambient-boot.qcow2
source: ~/pers/pathdedup/git