summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2021-08-26 07:08:18 +0200
committerJörg Thalheim <joerg@thalheim.io>2021-08-26 07:23:36 +0200
commitc8d3af95d4ee11d3c6b3fea46826702e2e51d839 (patch)
tree97e4ddab9767300b4ea805b58554dffc46bbc78b
parenta9f5397ee15bd12110c1995bbaf72ae38c40baa0 (diff)
downloadpatchelf-c8d3af95d4ee11d3c6b3fea46826702e2e51d839.tar.gz
add sanitizer build to CI
-rw-r--r--flake.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 6295165..84b1634 100644
--- a/flake.nix
+++ b/flake.nix
@@ -58,6 +58,9 @@
};
build = forAllSystems (system: nixpkgsFor.${system}.patchelf-new);
+ build-sanitized = forAllSystems (system: nixpkgsFor.${system}.patchelf-new.overrideAttrs (old: {
+ configureFlags = [ "--with-asan " "--with-ubsan" ];
+ }));
release = pkgs.releaseTools.aggregate
{ name = "patchelf-${self.hydraJobs.tarball.version}";
@@ -65,6 +68,8 @@
[ self.hydraJobs.tarball
self.hydraJobs.build.x86_64-linux
self.hydraJobs.build.i686-linux
+ self.hydraJobs.build-sanitized.x86_64-linux
+ self.hydraJobs.build-sanitized.i686-linux
];
meta.description = "Release-critical builds";
};