Skip to content

Commit 4a4a753

Browse files
committed
build(nix): Enable tests
1 parent ff1ac5c commit 4a4a753

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.devops/nix/package.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ effectiveStdenv.mkDerivation (finalAttrs: {
202202
(cmakeBool "LLAMA_BUILD_EXAMPLES" buildExamples)
203203
(cmakeBool "LLAMA_BUILD_SERVER" buildServer)
204204
(cmakeBool "BLA_PREFER_PKGCONFIG" true)
205+
(cmakeFeature "CMAKE_CTEST_ARGUMENTS" "--exclude-regex;test-eval-callback") # Uses Internet
205206
]
206207
++ optionals useCuda [
207208
(
@@ -233,6 +234,8 @@ effectiveStdenv.mkDerivation (finalAttrs: {
233234
cp $src/include/llama.h $out/include/
234235
'';
235236

237+
doCheck = true;
238+
236239
meta = {
237240
# Configurations we don't want even the CI to evaluate. Results in the
238241
# "unsupported platform" messages. This is mostly a no-op, because

0 commit comments

Comments
 (0)