-
Notifications
You must be signed in to change notification settings - Fork 75
/
azure-pipelines.yml
34 lines (34 loc) · 1.26 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
stages:
- stage: test
displayName: Test
jobs:
- template: ci/cargo-job-per-channel-target.yml
parameters:
channels: [nightly]
targets:
- target: 'i686-pc-windows-msvc'
- target: 'i686-pc-windows-msvc'
channels: [stable]
cargoSteps:
- bash: $CARGO test --target $TARGET --no-default-features
displayName: Cargo test
- target: 'x86_64-pc-windows-msvc'
# - target: 'i686-pc-windows-gnu'
- target: 'x86_64-pc-windows-gnu'
# - target: 'i686-apple-darwin'
- target: 'x86_64-apple-darwin'
preSteps:
- script: cp ./ci/macos/* ~/.cargo
displayName: Configure custom linker
- target: 'i686-unknown-linux-gnu'
preSteps:
- script: sudo apt-get update && sudo apt-get install gcc-multilib
displayName: Install GCC 32-bit libs
- target: 'x86_64-unknown-linux-gnu'
- target: 'x86_64-unknown-linux-gnu'
channels: [stable]
cargoSteps:
- bash: $CARGO test --target $TARGET --no-default-features
displayName: Cargo test
# - target: 'x86_64-unknown-linux-musl'
# cross: true