ci: build and publish subplot

Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
Lars Wirzenius
2025-06-06 11:25:05 +03:00
parent 3b71380d86
commit 6c505bb0bc
+2 -19
View File
@@ -4,25 +4,6 @@ plan:
- action: cargo_fmt
- action: cargo_clippy
# # Not using the built-on `cargo_test` action, as the test suite
# # requires HOME to be set and Ambient doesn't yet have a way to do
# # that. So we use the `shell` action instead, even if that is more
# # tedious and requires setting up the relevant environment variables
# # manually.
# - action: shell
# shell: |
# export CARGO_TARGET_DIR=/workspace/cache
# export CARGO_HOME=/workspace/deps
# export HOME=/root
# export PATH="/root/.cargo/bin:$PATH"
# # Configure Git so that it can be used in the tests for this
# # project.
# git config --global user.email "test@example.com"
# git config --global user.name "Testy McTestface"
# cargo test
- action: shell
shell: |
export DEBEMAIL=liw@liw.fi
@@ -46,6 +27,7 @@ plan:
subplot docgen ci-broker.subplot -o doc/ci-broker.html
subplot docgen doc/userguide.subplot -o doc/userguide.html
make -C doc
cp doc/*.html /workspace/artifacts/.
# Clean up after tests and documentation building.
git reset --hard
@@ -61,3 +43,4 @@ plan:
post_plan:
- action: dput
- action: rsync