-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,11 +58,40 @@ tasks: | |
owner: [email protected] | ||
source: ${repository}/raw/${head_rev}/.taskcluster.yml | ||
|
||
- taskId: {$eval: as_slugid("windows_test_task")} | ||
created: {$fromNow: ''} | ||
deadline: {$fromNow: '1 hour'} | ||
provisionerId: proj-relman | ||
workerType: win2012r2 | ||
payload: | ||
maxRunTime: 3600 | ||
command: | ||
- set VS_PATH=%programfiles(x86)%\Microsoft Visual Studio 14.0\VC | ||
- set RUSTUP_INIT_PATH=%CD%\rustup-init | ||
- set PATH=%RUSTUP_INIT_PATH%;%USERPROFILE%\.cargo\bin;%PATH% | ||
- call "%VS_PATH%\vcvarsall.bat" x86_amd64 | ||
- rustup-init -yv --default-toolchain stable ^ | ||
--default-host x86_64-pc-windows-msvc | ||
- git clone --recursive --quiet ${repository} | ||
- cd rust-code-analysis | ||
- git -c advice.detachedHead=false checkout ${head_rev} | ||
- cargo test --verbose --all-features | ||
mounts: | ||
- content: | ||
url: https://win.rustup.rs/ | ||
file: rustup-init\rustup-init.exe | ||
metadata: | ||
name: rust-code-analysis windows test | ||
description: rust-code-analysis windows test | ||
owner: [email protected] | ||
source: ${repository}/raw/${head_rev}/.taskcluster.yml | ||
|
||
- $if: 'tasks_for == "github-push" && head_branch[:10] == "refs/tags/"' | ||
then: | ||
taskId: {$eval: as_slugid("build_release")} | ||
dependencies: | ||
- {$eval: as_slugid("lint_test_task")} | ||
- {$eval: as_slugid("windows_test_task")} | ||
created: {$fromNow: ''} | ||
deadline: {$fromNow: '2 hour'} | ||
provisionerId: proj-relman | ||
|