mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Make execution of tests in Nix builds optional (#873)
This commit is contained in:
parent
2e231ec2ff
commit
9f1b370f2c
9 changed files with 69 additions and 19 deletions
|
@ -3,6 +3,7 @@
|
|||
{ pkgs ? import <nixpkgs> { system = builtins.currentSystem; }
|
||||
, lib ? pkgs.lib
|
||||
, stdenv ? pkgs.stdenv
|
||||
, testing ? false
|
||||
}:
|
||||
|
||||
pkgs.llvmPackages_14.stdenv.mkDerivation {
|
||||
|
@ -29,7 +30,7 @@ pkgs.llvmPackages_14.stdenv.mkDerivation {
|
|||
|
||||
dontAddStaticConfigureFlags = true;
|
||||
makeStatic = true;
|
||||
doCheck = true;
|
||||
doCheck = testing;
|
||||
|
||||
configureFlags = [];
|
||||
|
||||
|
@ -62,4 +63,4 @@ pkgs.llvmPackages_14.stdenv.mkDerivation {
|
|||
done
|
||||
'';
|
||||
outputs = [ "bin" "out" ];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue