Skip to content

Commit 419d318

Browse files
committed
Debug build.
1 parent 868f9c1 commit 419d318

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ build_script:
9494
cmake .. -G"%generator%" -DCMAKE_CONFIGURATION_TYPES="Release" -DR_LIB=ON &&
9595
cmake --build . --target install --config Release
9696
)
97-
- if /i "%target%" == "jvm" cd jvm-packages && mvn test -pl :xgboost4j_2.12
97+
- if /i "%target%" == "jvm" cd jvm-packages && mvn -e -X test -pl :xgboost4j_2.12
9898

9999
test_script:
100100
- cd %APPVEYOR_BUILD_FOLDER%

jvm-packages/create_jni.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"USE_S3": "OFF",
2121

2222
"USE_CUDA": "OFF",
23+
'CMAKE_BUILD_TYPE': 'Debug',
2324
"JVM_BINDINGS": "ON"
2425
}
2526

@@ -95,7 +96,7 @@ def normpath(path):
9596
args.append("-DRABIT_MOCK:BOOL=ON")
9697

9798
run("cmake .. " + " ".join(args) + maybe_generator)
98-
run("cmake --build . --config Release" + maybe_parallel_build)
99+
run("cmake --build . --config Debug" + maybe_parallel_build)
99100

100101
with cd("demo/regression"):
101102
run(sys.executable + " mapfeat.py")

0 commit comments

Comments
 (0)