forked from steffengy/winauth-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.azure-pipelines.yml
62 lines (57 loc) · 1.35 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
trigger:
- master
- ci_test
variables:
testPassword: Testpw123!+
jobs:
- template: ci/azure-check-minrust.yml
parameters:
name: minrust
rust_version: 1.34.0
- job: Windows
strategy:
matrix:
Windows2019Stable:
vmImage: windows-2019
rustcVersion: stable-i686-pc-windows-msvc
Windows2019Nightly:
vmImage: windows-2019
rustcVersion: nightly
Windows2016Nightly:
vmImage: vs2017-win2016
rustcVersion: nightly
Windows2012R2Nightly:
vmImage: vs2015-win2012r2
rustcVersion: nightly
pool:
vmImage: $(vmImage)
variables:
RUST_BACKTRACE: full
steps:
- template: ci/azure-install-rust.yml
parameters:
rust_version: $(rustcVersion)
- script: net user %USERNAME% $(testPassword)
- script: cargo test --package winauth
displayName: cargo test --package winauth
env:
TEST_PW: $(testPassword)
- job: Linux
strategy:
matrix:
LinuxStable:
vmImage: ubuntu-16.04
rustcVersion: stable
LinuxNightly:
vmImage: ubuntu-16.04
rustcVersion: nightly
pool:
vmImage: $(vmImage)
variables:
RUST_BACKTRACE: full
steps:
- template: ci/azure-install-rust.yml
parameters:
rust_version: $(rustcVersion)
- script: cargo test --package winauth
displayName: cargo test --package winauth