From b10b49e39a2630bad9d606c17fdb3d5d68621daa Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 23 Mar 2022 09:53:45 +0800 Subject: [PATCH] windows: run cargo tests --- windows/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/windows/default.nix b/windows/default.nix index 35917190..6b4701b8 100644 --- a/windows/default.nix +++ b/windows/default.nix @@ -78,7 +78,6 @@ in rec { name = "nac3artiq"; src = ../.; cargoLock = { lockFile = ../Cargo.lock; }; - doCheck = false; nativeBuildInputs = [ pkgs.wineWowPackages.stable pkgs.zip ]; buildPhase = '' @@ -96,6 +95,10 @@ in rec { zip $out/nac3artiq.zip nac3artiq.pyd echo file binary-dist $out/nac3artiq.zip >> $out/nix-support/hydra-build-products ''; + checkPhase = + '' + wine64 cargo test --release + ''; dontFixup = true; }; wine-msys2 = pkgs.writeShellScriptBin "wine-msys2"