mirror of
https://seed.radicle.dev/rad:zwTxygwuz5LDGBq255RA2CbNGrz8.git
synced 2026-10-18 19:30:29 +08:00
ci: build and publish subplot
Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
+2
-19
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user