From 19161a351b5a923b538b4acd7cec631ee6f42ff5 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Thu, 19 Mar 2020 12:26:04 +0100 Subject: [PATCH] Add Windows test task --- .taskcluster.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.taskcluster.yml b/.taskcluster.yml index 04ac41868..19d21c6fc 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -58,11 +58,30 @@ tasks: owner: cdenizet@mozilla.com 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: + - git clone --recursive --quiet ${repository} + - cd rust-code-analysis + - git -c advice.detachedHead=false checkout ${head_rev} + - cargo test + metadata: + name: rust-code-analysis windows test + description: rust-code-analysis windows test + owner: cdenizet@mozilla.com + 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