]>
Commit | Line | Data |
---|---|---|
cdc7bbd5 XL |
1 | trigger: |
2 | - master | |
3 | ||
4 | jobs: | |
5 | - job: Docker | |
6 | pool: | |
7 | vmImage: ubuntu-16.04 | |
8 | steps: | |
9 | - template: ci/azure-install-rust.yml | |
10 | - bash: rustup target add $TARGET | |
11 | displayName: "add cross target" | |
12 | - bash: rustup target add x86_64-unknown-linux-musl | |
13 | displayName: "add musl target" | |
14 | - bash: cargo generate-lockfile && ./ci/run-docker.sh $TARGET | |
15 | displayName: "run tests" | |
16 | strategy: | |
17 | matrix: | |
18 | aarch64: | |
19 | TARGET: aarch64-unknown-linux-gnu | |
20 | arm: | |
21 | TARGET: arm-unknown-linux-gnueabi | |
22 | armhf: | |
23 | TARGET: arm-unknown-linux-gnueabihf | |
24 | armv7: | |
25 | TARGET: armv7-unknown-linux-gnueabihf | |
26 | i686: | |
27 | TARGET: i686-unknown-linux-gnu | |
28 | mips: | |
29 | TARGET: mips-unknown-linux-gnu | |
30 | mips64: | |
31 | TARGET: mips64-unknown-linux-gnuabi64 | |
32 | mips64el: | |
33 | TARGET: mips64el-unknown-linux-gnuabi64 | |
34 | powerpc: | |
35 | TARGET: powerpc-unknown-linux-gnu | |
36 | powerpc64: | |
37 | TARGET: powerpc64-unknown-linux-gnu | |
38 | powerpc64le: | |
39 | TARGET: powerpc64le-unknown-linux-gnu | |
40 | x86_64: | |
41 | TARGET: x86_64-unknown-linux-gnu | |
42 | ||
43 | - job: wasm | |
44 | pool: | |
45 | vmImage: ubuntu-16.04 | |
46 | steps: | |
47 | - template: ci/azure-install-rust.yml | |
48 | - script: rustup target add wasm32-unknown-unknown | |
49 | displayName: "Install rust wasm target" | |
50 | - script: cargo build --target wasm32-unknown-unknown | |
51 | displayName: "Build for wasm" | |
52 | - script: cargo build --target wasm32-unknown-unknown --no-default-features | |
53 | displayName: "Build for wasm (no default features)" | |
54 | variables: | |
55 | TOOLCHAIN: nightly | |
56 | ||
57 | - job: rustfmt | |
58 | pool: | |
59 | vmImage: ubuntu-16.04 | |
60 | steps: | |
61 | - template: ci/azure-install-rust.yml | |
62 | - bash: rustup component add rustfmt | |
63 | displayName: "install rustfmt" | |
64 | - bash: cargo fmt --all -- --check | |
65 | displayName: "check formatting" | |
66 | ||
67 | - job: compiler_builtins_works | |
68 | pool: | |
69 | vmImage: ubuntu-16.04 | |
70 | steps: | |
71 | - template: ci/azure-install-rust.yml | |
72 | - bash: cargo build -p cb | |
73 | displayName: "Check compiler-builtins still probably builds" |