Skip to content

Commit be8870e

Browse files
marco-cLuni-4
authored andcommitted
Add Windows test task
1 parent 0674626 commit be8870e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.taskcluster.yml

+19
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,30 @@ tasks:
5858
5959
source: ${repository}/raw/${head_rev}/.taskcluster.yml
6060

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+
- git clone --recursive --quiet ${repository}
70+
- cd rust-code-analysis
71+
- git -c advice.detachedHead=false checkout ${head_rev}
72+
- cargo test
73+
metadata:
74+
name: rust-code-analysis windows test
75+
description: rust-code-analysis windows test
76+
77+
source: ${repository}/raw/${head_rev}/.taskcluster.yml
78+
6179
- $if: 'tasks_for == "github-push" && head_branch[:10] == "refs/tags/"'
6280
then:
6381
taskId: {$eval: as_slugid("build_release")}
6482
dependencies:
6583
- {$eval: as_slugid("lint_test_task")}
84+
- {$eval: as_slugid("windows_test_task")}
6685
created: {$fromNow: ''}
6786
deadline: {$fromNow: '2 hour'}
6887
provisionerId: proj-relman

0 commit comments

Comments
 (0)