]> git.proxmox.com Git - cargo.git/blob - vendor/backtrace/azure-pipelines.yml
New upstream version 0.37.0
[cargo.git] / vendor / backtrace / azure-pipelines.yml
1 trigger:
2 - master
3
4 jobs:
5 - job: MSRV
6 pool:
7 vmImage: ubuntu-16.04
8 steps:
9 - checkout: self
10 submodules: true
11 - template: ci/azure-install-rust.yml
12 - script: cargo build
13 displayName: "Build crate"
14 variables:
15 TOOLCHAIN: 1.32.0
16
17 - job: Docker
18 pool:
19 vmImage: ubuntu-16.04
20 steps:
21 - checkout: self
22 submodules: true
23 - template: ci/azure-install-rust.yml
24 - bash: rustup target add $TARGET
25 displayName: "Install rust cross target"
26 - bash: |
27 set -e
28 cargo generate-lockfile
29 ./ci/run-docker.sh $TARGET
30 displayName: "Run tests in docker"
31 strategy:
32 matrix:
33 aarch64:
34 TARGET: aarch64-unknown-linux-gnu
35 armhf:
36 TARGET: arm-unknown-linux-gnueabihf
37 armv7:
38 TARGET: armv7-unknown-linux-gnueabihf
39 i586:
40 TARGET: i586-unknown-linux-gnu
41 i686:
42 TARGET: i686-unknown-linux-gnu
43 powerpc64:
44 TARGET: powerpc64-unknown-linux-gnu
45 mingw:
46 TARGET: x86_64-pc-windows-gnu
47 x86_64:
48 TARGET: x86_64-unknown-linux-gnu
49 gnu:
50 TARGET: x86_64-unknown-linux-musl
51
52 android-arm:
53 TARGET: arm-linux-androideabi
54 android-armv7:
55 TARGET: armv7-linux-androideabi
56 android-aarch64:
57 TARGET: aarch64-linux-android
58 android-i686:
59 TARGET: i686-linux-android
60 android-x86_64:
61 TARGET: x86_64-linux-android
62
63 - job: Linux
64 pool:
65 vmImage: ubuntu-16.04
66 steps:
67 - template: ci/azure-test-all.yml
68 strategy:
69 matrix:
70 stable:
71 TOOLCHAIN: stable
72 beta:
73 TOOLCHAIN: beta
74 nightly:
75 TOOLCHAIN: nightly
76
77 - job: macOS
78 pool:
79 vmImage: macos-10.13
80 steps:
81 - template: ci/azure-test-all.yml
82 strategy:
83 matrix:
84 x86_64:
85 TARGET: x86_64-apple-darwin
86
87 - job: iOS
88 pool:
89 vmImage: macos-10.13
90 steps:
91 - checkout: self
92 submodules: true
93 - template: ci/azure-install-rust.yml
94 - script: rustup target add $TARGET
95 displayName: "Install rust cross target"
96 - bash: |
97 set -e
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"
102 strategy:
103 matrix:
104 aarch64:
105 TARGET: aarch64-apple-ios
106 SDK: iphoneos
107 armv7:
108 TARGET: armv7-apple-ios
109 SDK: iphoneos
110 armv7s:
111 TARGET: armv7s-apple-ios
112 SDK: iphoneos
113 i386:
114 TARGET: i386-apple-ios
115 SDK: iphonesimulator
116 x86_64:
117 TARGET: x86_64-apple-ios
118 SDK: iphonesimulator
119
120 - job: wasm
121 pool:
122 vmImage: ubuntu-16.04
123 steps:
124 - checkout: self
125 submodules: true
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"
131
132 - job: Windows
133 pool:
134 vmImage: vs2017-win2016
135 steps:
136 - template: ci/azure-test-all.yml
137 strategy:
138 matrix:
139 x86_64-msvc:
140 TARGET: x86_64-pc-windows-msvc
141 i686-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
146 x86_64-gnu:
147 TARGET: x86_64-pc-windows-gnu
148 i686-gnu:
149 TARGET: i686-pc-windows-gnu
150
151 - job: Windows_arm64
152 pool:
153 vmImage: windows-2019
154 steps:
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"