Skip to content

Commit

Permalink
Jenkins: Specify debug build, so tests get built
Browse files Browse the repository at this point in the history
  • Loading branch information
snej committed Sep 19, 2024
1 parent bb6981f commit ec9c415
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jenkins/jenkins_unix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ git clone ssh://[email protected]/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
Expand Down
4 changes: 2 additions & 2 deletions jenkins/jenkins_win.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -48,4 +48,4 @@ try {
}
} finally {
Pop-Location
}
}

0 comments on commit ec9c415

Please sign in to comment.