Skip to content

Commit 868878a

Browse files
authored
Merge pull request #14 from Berrysoft/add-jobs
Add more jobs to pipeline.
2 parents 9d3efe2 + 6a70d0c commit 868878a

File tree

1 file changed

+38
-3
lines changed

1 file changed

+38
-3
lines changed

azure-pipelines.yml

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,42 @@ trigger:
44
- master
55

66
jobs:
7-
- job: Test
7+
- job: Test_Windows
8+
strategy:
9+
matrix:
10+
x86:
11+
target: i686-pc-windows-msvc
12+
x64:
13+
target: x86_64-pc-windows-msvc
14+
x64-gnu:
15+
target: x86_64-pc-windows-gnu
16+
pool:
17+
vmImage: windows-latest
18+
19+
steps:
20+
- script: |
21+
rustup toolchain install nightly
22+
rustup +nightly target install $(target)
23+
cargo +nightly test --all-features --target $(target) -Z doctest-xcompile
24+
displayName: Test
25+
26+
- job: Test_Ubuntu
27+
strategy:
28+
matrix:
29+
focal:
30+
image: ubuntu-20.04
31+
jammy:
32+
image: ubuntu-22.04
33+
pool:
34+
vmImage: $(image)
35+
36+
steps:
37+
- script: |
38+
rustup toolchain install nightly
39+
cargo +nightly test --all-features
40+
displayName: Test
41+
42+
- job: Doc
843
strategy:
944
matrix:
1045
windows:
@@ -17,5 +52,5 @@ jobs:
1752
steps:
1853
- script: |
1954
rustup toolchain install nightly
20-
cargo +nightly test --all-features
21-
displayName: Test
55+
cargo +nightly doc --all-features --no-deps
56+
displayName: Build docs

0 commit comments

Comments
 (0)