summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-01-09 20:17:20 +0200
committerLars Wirzenius <liw@liw.fi>2024-01-09 20:17:20 +0200
commitd18dbb90f78a5c0f6463c00920edc13197984559 (patch)
tree27771439fe5d8d7a9ea5aac3cacdcfc77096a2cf
parent9e8fc33bfc821408e99c0781525aca2fa3b3a21c (diff)
downloadliw-dot-files-d18dbb90f78a5c0f6463c00920edc13197984559.tar.gz
ambient.yaml: add pathdedup
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
-rw-r--r--ambient.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/ambient.yaml b/ambient.yaml
index 5fdcde3..7e27e95 100644
--- a/ambient.yaml
+++ b/ambient.yaml
@@ -7,6 +7,28 @@ projects:
plan:
- action: deb
+ pathdedup:
+ image: ~/tmp/ambient/ambient-boot.qcow2
+ source: ~/pers/pathdedup/git
+ 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
+
sshca:
image: ~/tmp/ambient/ambient-boot.qcow2
source: ~/pers/sshca/git