clickhouse: add a smoke test

This commit is contained in:
Konstantin Bogdanov
2025-07-06 19:09:00 +02:00
parent 31385ee0cb
commit ef7b7f3707
+6
View File
@@ -145,6 +145,12 @@ llvmPackages_19.stdenv.mkDerivation (finalAttrs: {
--replace-fail "<level>trace</level>" "<level>warning</level>"
'';
# Basic smoke test
doCheck = true;
checkPhase = ''
$NIX_BUILD_TOP/$sourceRoot/build/programs/clickhouse local --query 'SELECT 1' | grep 1
'';
# Builds in 7+h with 2 cores, and ~20m with a big-parallel builder.
requiredSystemFeatures = [ "big-parallel" ];