build: build a deb

Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
Lars Wirzenius
2025-01-13 12:18:48 +02:00
parent 7401ee6d08
commit d9c4930662
+19
View File
@@ -22,3 +22,22 @@ plan:
git config --global user.name "Testy McTestface"
cargo test
- action: shell
shell: |
export DEBEMAIL=liw@liw.fi
export DEBFULLNAME="Lars Wirzenius"
export CARGO_TARGET_DIR=/workspace/cache
# git reset --hard
# git clean -fdx
# git switch main
git status --ignored
# 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