@@ -58,11 +58,40 @@ tasks:
58
58
59
59
source : ${repository}/raw/${head_rev}/.taskcluster.yml
60
60
61
+ - taskId : {$eval: as_slugid("windows_test_task")}
62
+ created : {$fromNow: ''}
63
+ deadline : {$fromNow: '1 hour'}
64
+ provisionerId : proj-relman
65
+ workerType : win2012r2
66
+ payload :
67
+ maxRunTime : 3600
68
+ command :
69
+ - set VS_PATH=%programfiles(x86)%\Microsoft Visual Studio 14.0\VC
70
+ - set RUSTUP_INIT_PATH=%CD%\rustup-init
71
+ - set PATH=%RUSTUP_INIT_PATH%;%USERPROFILE%\.cargo\bin;%PATH%
72
+ - call "%VS_PATH%\vcvarsall.bat" x86_amd64
73
+ - rustup-init -yv --default-toolchain stable ^
74
+ --default-host x86_64-pc-windows-msvc
75
+ - git clone --recursive --quiet ${repository}
76
+ - cd rust-code-analysis
77
+ - git -c advice.detachedHead=false checkout ${head_rev}
78
+ - cargo test --verbose --all-features
79
+ mounts :
80
+ - content :
81
+ url : https://win.rustup.rs/
82
+ file : rustup-init\rustup-init.exe
83
+ metadata :
84
+ name : rust-code-analysis windows test
85
+ description : rust-code-analysis windows test
86
+
87
+ source : ${repository}/raw/${head_rev}/.taskcluster.yml
88
+
61
89
- $if : ' tasks_for == "github-push" && head_branch[:10] == "refs/tags/"'
62
90
then :
63
91
taskId : {$eval: as_slugid("build_release")}
64
92
dependencies :
65
93
- {$eval: as_slugid("lint_test_task")}
94
+ - {$eval: as_slugid("windows_test_task")}
66
95
created : {$fromNow: ''}
67
96
deadline : {$fromNow: '2 hour'}
68
97
provisionerId : proj-relman
0 commit comments