From ec9c41571bf8a17767fbd7c17472ebdf41930c58 Mon Sep 17 00:00:00 2001 From: Jens Alfke Date: Thu, 19 Sep 2024 10:18:47 -0700 Subject: [PATCH] Jenkins: Specify debug build, so tests get built --- jenkins/jenkins_unix.sh | 2 +- jenkins/jenkins_win.ps1 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jenkins/jenkins_unix.sh b/jenkins/jenkins_unix.sh index c6b5a4903..71c352dad 100755 --- a/jenkins/jenkins_unix.sh +++ b/jenkins/jenkins_unix.sh @@ -28,7 +28,7 @@ git clone ssh://git@github.com/couchbase/couchbase-lite-core-EE --branch $BRANCH ulimit -c unlimited # Enable crash dumps mkdir -p "couchbase-lite-core/build_cmake/x64" pushd "couchbase-lite-core/build_cmake/x64" -cmake -DBUILD_ENTERPRISE=ON ../.. +cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_ENTERPRISE=ON ../.. make -j8 # Note only for macOS diff --git a/jenkins/jenkins_win.ps1 b/jenkins/jenkins_win.ps1 index cbc94d359..1da23134f 100644 --- a/jenkins/jenkins_win.ps1 +++ b/jenkins/jenkins_win.ps1 @@ -21,7 +21,7 @@ try { New-Item -Type Directory -ErrorAction Ignore couchbase-lite-core\build_cmake\x64 Set-Location couchbase-lite-core\build_cmake\x64 - & 'C:\Program Files\CMake\bin\cmake.exe' -A x64 -DCMAKE_SYSTEM_VERSION="10.0" -DBUILD_ENTERPRISE=ON ..\.. + & 'C:\Program Files\CMake\bin\cmake.exe' -A x64 -DCMAKE_SYSTEM_VERSION="10.0" -DCMAKE_BUILD_TYPE=Debug -DBUILD_ENTERPRISE=ON ..\.. if($LASTEXITCODE -ne 0) { Write-Host "Failed to run CMake!" -ForegroundColor Red exit 1 @@ -48,4 +48,4 @@ try { } } finally { Pop-Location -} \ No newline at end of file +}