e0/.build.yml
2022-07-19 01:51:53 -05:00

21 lines
583 B
YAML

image: archlinux
packages:
- rust-nightly
- rsync
sources:
- https://git.sr.ht/~mzhang/e0
secrets:
- 0b26b413-7901-41c3-a4e2-3c752228ffcb
environment:
CARGO_UNSTABLE_SPARSE_REGISTRY: "true"
tasks:
- setup: |
rustup default nightly
- test: |
cd e0
cargo test --all
- doc-upload: |
cd e0
cargo doc --workspace --no-deps
echo "mzhang.io ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBzBZ+QmM4EO3Fwc1ZcvWV2IY9VF04T0H9brorGj9Udp" >> ~/.ssh/known_hosts
rsync -azvrP target/doc/ sourcehutBuilds@mzhang.io:/mnt/storage/svcdata/blog-public/e0