13 - template: ci/azure-test-all.yml
23 OTHER_TARGET: i686-unknown-linux-gnu
29 - template: ci/azure-test-all.yml
32 OTHER_TARGET: x86_64-apple-ios
38 - template: ci/azure-test-all.yml
42 TOOLCHAIN: stable-x86_64-pc-windows-msvc
43 OTHER_TARGET: i686-pc-windows-msvc
45 TOOLCHAIN: nightly-x86_64-pc-windows-gnu
46 OTHER_TARGET: i686-pc-windows-gnu
52 - template: ci/azure-install-rust.yml
53 - bash: rustup component add rustfmt
54 displayName: "Install rustfmt"
55 - bash: cargo fmt --all -- --check
56 displayName: "Check rustfmt (cargo)"
57 - bash: cd crates/cargo-test-macro && cargo fmt --all -- --check
58 displayName: "Check rustfmt (cargo-test-macro)"
59 - bash: cd crates/cargo-test-support && cargo fmt --all -- --check
60 displayName: "Check rustfmt (cargo-test-support)"
61 - bash: cd crates/crates-io && cargo fmt --all -- --check
62 displayName: "Check rustfmt (crates-io)"
63 - bash: cd crates/resolver-tests && cargo fmt --all -- --check
64 displayName: "Check rustfmt (resolver-tests)"
65 - bash: cd crates/cargo-platform && cargo fmt --all -- --check
66 displayName: "Check rustfmt (cargo-platform)"
74 - template: ci/azure-install-rust.yml
75 - bash: cargo test --manifest-path crates/resolver-tests/Cargo.toml
76 displayName: "Resolver tests"
84 - template: ci/azure-install-rust.yml
85 - bash: rustup component add rust-src
86 displayName: "Install rust-src"
88 - bash: cargo test --test build-std
92 CARGO_RUN_BUILD_STD_TESTS: 1
100 - template: ci/azure-install-rust.yml
104 curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.3.7/mdbook-v0.3.7-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
105 echo "##vso[task.prependpath]`pwd`/mdbook"
106 displayName: "Install mdbook"
107 - bash: cargo doc --no-deps
108 displayName: "Build documentation"
109 - bash: cd src/doc && mdbook build --dest-dir ../../target/doc
110 displayName: "Build mdbook documentation"
113 rustup component add rust-docs
115 curl -sSLo linkcheck.sh \
116 https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh
117 sh linkcheck.sh --all cargo
118 displayName: "Check for broken links"