forked from compio-rs/compio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
83 lines (75 loc) · 1.89 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
trigger:
branches:
include:
- master
jobs:
- job: Test_Windows
strategy:
matrix:
x86:
target: i686-pc-windows-msvc
x64:
target: x86_64-pc-windows-msvc
x64-gnu:
target: x86_64-pc-windows-gnu
pool:
vmImage: windows-latest
steps:
- script: |
rustup toolchain install nightly
rustup +nightly target install $(target)
cargo +nightly test --features=all,nightly --no-default-features --target $(target) -Z doctest-xcompile
displayName: TestNightly
- script: |
cargo test --features all --target $(target)
displayName: TestStable
- job: Test_Ubuntu
strategy:
matrix:
focal:
image: ubuntu-20.04
jammy:
image: ubuntu-22.04
pool:
vmImage: $(image)
steps:
- script: |
rustup toolchain install nightly
cargo +nightly test --features all,nightly --no-default-features
displayName: TestNightly
- script: |
cargo test --features all
displayName: TestStable
- job: Test_Mac
strategy:
matrix:
ventura:
image: macOS-13
monterey:
image: macOS-12
pool:
vmImage: $(image)
steps:
- script: |
rustup toolchain install nightly
cargo +nightly test --features all,nightly --no-default-features
displayName: TestNightly
- script: |
cargo test --features all
displayName: TestStable
- job: Doc
strategy:
matrix:
windows:
image: windows-latest
linux:
image: ubuntu-latest
macos:
image: macOS-latest
pool:
vmImage: $(image)
steps:
- script: |
rustup toolchain install nightly
cargo +nightly doc --all-features --no-deps
displayName: Build docs