From 921de6d5790a2be6d54835b1fea26da3d08f6632 Mon Sep 17 00:00:00 2001 From: Stephan Maka Date: Mon, 22 Apr 2019 00:09:27 +0200 Subject: [PATCH] main: add windows-no-hardware-tests --- main.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/main.nix b/main.nix index d590b61..3f69f08 100644 --- a/main.nix +++ b/main.nix @@ -51,6 +51,18 @@ in constituents = builtins.attrValues jobs; }; + windows-no-hardware-tests = pkgs.stdenv.mkDerivation { + name = "windows-no-hardware-tests"; + # dummy src + src = generatedNix; + buildInputs = [ (windowsRunner {}) ]; + phases = [ "buildPhase" ]; + buildPhase = '' + ${windowsRunner {}}/bin/run.sh + touch $out + ''; + }; + # HACK: Abuse fixed-output derivations to escape the sandbox and run the hardware # unit tests, all integrated in the Hydra interface. # One major downside of this hack is the tests are only run when generateTestOkHash