forked from M-Labs/nac3
windows: run cargo tests
This commit is contained in:
parent
d92ce201d3
commit
b10b49e39a
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue