Skip to content

Commit ec9c415

Browse files
committed
Jenkins: Specify debug build, so tests get built
1 parent bb6981f commit ec9c415

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

jenkins/jenkins_unix.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ git clone ssh://git@github.com/couchbase/couchbase-lite-core-EE --branch $BRANCH
2828
ulimit -c unlimited # Enable crash dumps
2929
mkdir -p "couchbase-lite-core/build_cmake/x64"
3030
pushd "couchbase-lite-core/build_cmake/x64"
31-
cmake -DBUILD_ENTERPRISE=ON ../..
31+
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_ENTERPRISE=ON ../..
3232
make -j8
3333

3434
# Note only for macOS

jenkins/jenkins_win.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ try {
2121

2222
New-Item -Type Directory -ErrorAction Ignore couchbase-lite-core\build_cmake\x64
2323
Set-Location couchbase-lite-core\build_cmake\x64
24-
& 'C:\Program Files\CMake\bin\cmake.exe' -A x64 -DCMAKE_SYSTEM_VERSION="10.0" -DBUILD_ENTERPRISE=ON ..\..
24+
& 'C:\Program Files\CMake\bin\cmake.exe' -A x64 -DCMAKE_SYSTEM_VERSION="10.0" -DCMAKE_BUILD_TYPE=Debug -DBUILD_ENTERPRISE=ON ..\..
2525
if($LASTEXITCODE -ne 0) {
2626
Write-Host "Failed to run CMake!" -ForegroundColor Red
2727
exit 1
@@ -48,4 +48,4 @@ try {
4848
}
4949
} finally {
5050
Pop-Location
51-
}
51+
}

0 commit comments

Comments
 (0)