11 - template: ci/azure-install-rust.yml
13 displayName: "Build crate"
23 - template: ci/azure-install-rust.yml
24 - bash: rustup target add $TARGET
25 displayName: "Install rust cross target"
28 cargo generate-lockfile
29 ./ci/run-docker.sh $TARGET
30 displayName: "Run tests in docker"
34 TARGET: aarch64-unknown-linux-gnu
36 TARGET: arm-unknown-linux-gnueabihf
38 TARGET: armv7-unknown-linux-gnueabihf
40 TARGET: i586-unknown-linux-gnu
42 TARGET: i686-unknown-linux-gnu
44 TARGET: powerpc64-unknown-linux-gnu
46 TARGET: x86_64-pc-windows-gnu
48 TARGET: x86_64-unknown-linux-gnu
50 TARGET: x86_64-unknown-linux-musl
53 TARGET: arm-linux-androideabi
55 TARGET: armv7-linux-androideabi
57 TARGET: aarch64-linux-android
59 TARGET: i686-linux-android
61 TARGET: x86_64-linux-android
67 - template: ci/azure-test-all.yml
81 - template: ci/azure-test-all.yml
85 TARGET: x86_64-apple-darwin
93 - template: ci/azure-install-rust.yml
94 - script: rustup target add $TARGET
95 displayName: "Install rust cross target"
98 export SDK_PATH=`xcrun --show-sdk-path --sdk $SDK`
99 export RUSTFLAGS="-C link-arg=-isysroot -C link-arg=$SDK_PATH"
100 cargo test --no-run --target $TARGET
101 displayName: "Build for iOS"
105 TARGET: aarch64-apple-ios
108 TARGET: armv7-apple-ios
111 TARGET: armv7s-apple-ios
114 TARGET: i386-apple-ios
117 TARGET: x86_64-apple-ios
122 vmImage: ubuntu-16.04
126 - template: ci/azure-install-rust.yml
127 - script: rustup target add wasm32-unknown-unknown
128 displayName: "Install rust cross target"
129 - script: cargo build --target wasm32-unknown-unknown
130 displayName: "Build for wasm"
134 vmImage: vs2017-win2016
136 - template: ci/azure-test-all.yml
140 TARGET: x86_64-pc-windows-msvc
142 TARGET: i686-pc-windows-msvc
143 # this looks to be required to get full fidelity of backtrace
144 # information on 32-bit MSVC
145 RUSTFLAGS: -Cforce-frame-pointers
147 TARGET: x86_64-pc-windows-gnu
149 TARGET: i686-pc-windows-gnu
153 vmImage: windows-2019
155 - template: ci/azure-install-rust.yml
156 - script: rustup target add aarch64-pc-windows-msvc
157 displayName: "Install rust cross target"
158 - script: cargo test --no-run --target aarch64-pc-windows-msvc
159 displayName: "Build for arm64"
160 - script: cargo test --no-run --target aarch64-pc-windows-msvc --features verify-winapi
161 displayName: "Build for arm64"