callisto instructions

To use https://callisto.liw.fi/:

pre_plan:
  - action: cargo_fetch
plan:
  - action: cargo_fmt
  - action: cargo_clippy

  - action: shell
    shell: |
      export CARGO_TARGET_DIR=/workspace/cache
      export CARGO_HOME=/workspace/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.
      cargo test --workspace --no-fail-fast -- --skip upgrade --test-threads 2

      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/.

  - action: custom
    name: dch
    args:
      debemail: liw@liw.fi
      debfullname: "Lars Wirzenius"

  - action: deb