ruwuma/.builds/msrv.yml
2021-04-11 14:02:29 +02:00

21 lines
734 B
YAML

image: archlinux
packages:
- rustup
sources:
- https://github.com/ruma/ruma
tasks:
- rustup: |
# We specify --profile minimal because we'd otherwise download docs
rustup toolchain install 1.45 --profile minimal
rustup default 1.45
- test: |
# We don't want to try building ruma-signatures on 1.45, since it depends
# on ring (MSRV 'stable') and is exempt from our MSRV policy. Instead,
# enable all other dependencies on the ruma crate and try building that
# (usually you would enable the higher-level features, but we're only
# doing this to have all relevant crates compiled, no to build a useful
# crate).
cd ruma/ruma
cargo build --features full --quiet