From 0a7811111e3330c44b8d0d1dc2fdd280b1ab1d1c Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Sun, 7 Oct 2018 12:28:12 +0200 Subject: [PATCH] Time fetching dependencies on Windows separately from build --- etc/taskcluster/decision_task.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/etc/taskcluster/decision_task.py b/etc/taskcluster/decision_task.py index 67e8329bb84..8281eb299ad 100644 --- a/etc/taskcluster/decision_task.py +++ b/etc/taskcluster/decision_task.py @@ -105,10 +105,14 @@ def windows_dev(): sha256="b13ea68c1365098c66871f0acab7fd3daa2f2795b5e893fcbb5cd7253f2c08fa", path="gst", ) + .with_env(LIB="%HOMEDRIVE%%HOMEPATH%\\gst\\gstreamer\\1.0\\x86_64\\lib;%LIB%") .with_script( - "set LIB=%HOMEDRIVE%%HOMEPATH%\\gst\\gstreamer\\1.0\\x86_64\\lib;%LIB%", - "call mach.bat build --dev", - "call mach.bat test-unit", + # Not necessary as this would be done at the start of `build`, + # but this allows timing it separately. + "mach fetch", + + "mach build --dev", + "mach test-unit", ) .create() )