summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-02-09 17:05:40 +0200
committerLars Wirzenius <liw@liw.fi>2024-02-09 17:05:40 +0200
commitbd87d3b06545c3aa776e0c5dc4014057804f34c2 (patch)
tree71466f32f7715090c2bbc14184d4cabe996967d5
parent75101465c4f349d26b046b6ce93ac431f6a071ac (diff)
downloadliw-dot-files-bd87d3b06545c3aa776e0c5dc4014057804f34c2.tar.gz
ambient.yaml: build radicle using master+debian branches
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
-rw-r--r--ambient.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/ambient.yaml b/ambient.yaml
index d5f7e07..b34a6d9 100644
--- a/ambient.yaml
+++ b/ambient.yaml
@@ -433,6 +433,38 @@ projects:
post_plan:
- action: rsync
+ radicle:
+ image: ~/tmp/ambient/ambient-boot.qcow2
+ source: ~/radicle/heartwood
+ pre_plan:
+ - action: cargo_fetch
+ plan:
+ - action: rustup_setup
+ # - action: cargo_fmt
+ # - action: cargo_clippy
+ # - action: cargo_build
+# - action: cargo_test
+ - action: shell
+ shell: |
+ git reset --hard
+ git checkout debian
+ git rebase master
+
+ export PATH="/root/.cargo/bin:$PATH"
+
+ git status --ignored
+ git reset --hard
+ git clean -fdx
+
+ 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
+ post_plan:
+ - action: dput
+
riki.liw.fi:
image: ~/tmp/ambient/ambient-boot.qcow2
source: ~/pers/riki/riki.liw.fi/src
@@ -677,3 +709,4 @@ projects:
ikiwiki --setup ikiwiki.setup --libdir /workspace/deps --rebuild --verbose
post_plan:
- action: rsync
+