Skip to content

Commit

Permalink
Run JSON test in Win build worker
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Jun 17, 2020
1 parent c149c2c commit c97b2c7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Jenkinsfile-win64
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ def BuildWin64() {
cd build
"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\MSBuild.exe" xgboost.sln /m /p:Configuration=Release /nodeReuse:false
"""
echo 'Stashing C++ test executable (testxgboost)...'
stash name: 'xgboost_cpp_tests_cpu', includes: 'build/testxgboost.exe'
echo "Run brute-force test for JSON round-trip serialization"
bat "build\\testxgboost.exe --gtest_filter=Json.DISABLED_RoundTripExhaustive --gtest_also_run_disabled_tests"
bat """
rd /s /q build
mkdir build
Expand Down Expand Up @@ -114,11 +114,8 @@ def TestWin64CPU() {
node('win64 && cpu') {
unstash name: 'srcs'
unstash name: 'xgboost_whl'
unstash name: 'xgboost_cpp_tests_cpu'
unstash name: 'xgboost_cli'
echo "Test Win64 CPU"
echo "Run brute-force test for JSON round-trip serialization"
bat "build\\testxgboost.exe --gtest_filter=Json.DISABLED_RoundTripExhaustive --gtest_also_run_disabled_tests"
echo "Installing Python wheel..."
bat "conda activate && (python -m pip uninstall -y xgboost || cd .)"
bat """
Expand Down

0 comments on commit c97b2c7

Please sign in to comment.