Fix coverage job
This commit is contained in:
parent
f5a2136a40
commit
78d0c72b52
1 changed files with 5 additions and 7 deletions
12
release.nix
12
release.nix
|
@ -155,17 +155,15 @@ let
|
||||||
|
|
||||||
|
|
||||||
coverage =
|
coverage =
|
||||||
with import nixpkgs { system = "x86_64-linux"; };
|
with pkgs;
|
||||||
|
|
||||||
|
with import ./release-common.nix { inherit pkgs; };
|
||||||
|
|
||||||
releaseTools.coverageAnalysis {
|
releaseTools.coverageAnalysis {
|
||||||
name = "nix-build";
|
name = "nix-build";
|
||||||
src = tarball;
|
src = tarball;
|
||||||
|
|
||||||
buildInputs =
|
buildInputs = buildDeps;
|
||||||
[ curl bzip2 openssl pkgconfig sqlite xz libsodium libseccomp
|
|
||||||
# These are for "make check" only:
|
|
||||||
graphviz libxml2 libxslt git mercurial
|
|
||||||
];
|
|
||||||
|
|
||||||
configureFlags = ''
|
configureFlags = ''
|
||||||
--disable-init-state
|
--disable-init-state
|
||||||
|
@ -175,7 +173,7 @@ let
|
||||||
|
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
|
|
||||||
lcovFilter = [ "*-tab.*" "*/nlohmann/*" "*/linenoise/*" ];
|
lcovFilter = [ "*/boost/*" "*-tab.*" "*/nlohmann/*" "*/linenoise/*" ];
|
||||||
|
|
||||||
# We call `dot', and even though we just use it to
|
# We call `dot', and even though we just use it to
|
||||||
# syntax-check generated dot files, it still requires some
|
# syntax-check generated dot files, it still requires some
|
||||||
|
|
Loading…
Reference in a new issue