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
51 - template: ci/azure-install-rust.yml
52 - bash: rustup component add rustfmt
53 displayName: "Install rustfmt"
54 - bash: cargo fmt --all -- --check
55 displayName: "Check rustfmt (cargo)"
56 - bash: cd crates/cargo-test-macro && cargo fmt --all -- --check
57 displayName: "Check rustfmt (cargo-test-macro)"
58 - bash: cd crates/cargo-test-support && cargo fmt --all -- --check
59 displayName: "Check rustfmt (cargo-test-support)"
60 - bash: cd crates/crates-io && cargo fmt --all -- --check
61 displayName: "Check rustfmt (crates-io)"
62 - bash: cd crates/resolver-tests && cargo fmt --all -- --check
63 displayName: "Check rustfmt (resolver-tests)"
71 - template: ci/azure-install-rust.yml
72 - bash: cargo test --manifest-path crates/resolver-tests/Cargo.toml
73 displayName: "Resolver tests"
81 - template: ci/azure-install-rust.yml
82 - bash: rustup component add rust-src
83 displayName: "Install rust-src"
85 - bash: cargo test --test build-std
89 CARGO_RUN_BUILD_STD_TESTS: 1
95 - template: ci/azure-install-rust.yml
99 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
100 echo "##vso[task.prependpath]`pwd`/mdbook"
101 displayName: "Install mdbook"
102 - bash: cargo doc --no-deps
103 displayName: "Build documentation"
104 - bash: cd src/doc && mdbook build --dest-dir ../../target/doc
105 displayName: "Build mdbook documentation"