15 - template: ci/azure-test-all.yml
25 OTHER_TARGET: i686-unknown-linux-gnu
31 - template: ci/azure-test-all.yml
34 OTHER_TARGET: i686-apple-darwin
40 - template: ci/azure-test-all.yml
44 TOOLCHAIN: stable-x86_64-pc-windows-msvc
45 OTHER_TARGET: i686-pc-windows-msvc
50 - template: ci/azure-install-rust.yml
51 - bash: rustup component add rustfmt
52 displayName: "Install rustfmt"
53 - bash: cargo fmt --all -- --check
54 displayName: "Check rustfmt (cargo)"
55 - bash: cd crates/cargo-test-macro && cargo fmt --all -- --check
56 displayName: "Check rustfmt (cargo-test-macro)"
57 - bash: cd crates/crates-io && cargo fmt --all -- --check
58 displayName: "Check rustfmt (crates-io)"
59 - bash: cd crates/resolver-tests && cargo fmt --all -- --check
60 displayName: "Check rustfmt (resolver-tests)"
68 - template: ci/azure-install-rust.yml
69 - bash: cargo test --manifest-path crates/resolver-tests/Cargo.toml
70 displayName: "Resolver tests"
78 - template: ci/azure-install-rust.yml
82 curl -Lf https://github.com/rust-lang-nursery/mdBook/releases/download/v0.3.1/mdbook-v0.3.1-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
83 echo "##vso[task.prependpath]`pwd`/mdbook"
84 displayName: "Install mdbook"
85 - bash: cargo doc --no-deps
86 displayName: "Build documentation"
87 - bash: cd src/doc && mdbook build --dest-dir ../../target/doc
88 displayName: "Build mdbook documentation"