mirror of
https://seed.radicle.dev/rad:zwTxygwuz5LDGBq255RA2CbNGrz8.git
synced 2026-10-18 19:30:29 +08:00
46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
pre_plan:
|
|
- action: cargo_fetch
|
|
plan:
|
|
# Disabled because I'm too tired to fight different rustfmt versions.
|
|
# - action: cargo_fmt
|
|
#
|
|
- action: cargo_clippy
|
|
|
|
- action: shell
|
|
shell: |
|
|
export CARGO_TARGET_DIR=/ci/cache
|
|
export CARGO_HOME=/ci/deps
|
|
export HOME=/root
|
|
export PATH="/root/.cargo/bin:/root/.radicle/bin:$PATH"
|
|
|
|
# Check that `rad` is there.
|
|
rad --help >/dev/null || (echo rad is not there; exit 1)
|
|
|
|
cargo doc --workspace --no-deps
|
|
|
|
# FIXME: We can't run upgrade tests from older versions because
|
|
# Ambient only fetches dependencies for the current version.
|
|
# Thus, we can't build the old versions. This is an Ambient
|
|
# problem that we can't fix here. So we skip the upgrade tests.
|
|
export RAD_PASSPHRAE=secret
|
|
rad auth --alias ambient
|
|
env
|
|
make test TESTS=fast-test OFFLINE="--offline"
|
|
|
|
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 /ci/artifacts/rsync/.
|
|
|
|
- action: custom
|
|
name: dch
|
|
args:
|
|
debemail: liw@liw.fi
|
|
debfullname: "Lars Wirzenius"
|
|
|
|
- action: deb2
|
|
|
|
post_plan:
|
|
- action: dput2
|
|
- action: rsync2
|