* Publish artifacts only on the master and release branches * Build CUDA only for Compute Capability 7.5 when building PRs * Run all Windows jobs in a single worker image * Build nightly XGBoost4J SNAPSHOT JARs with Scala 2.12 only * Show skipped Python tests on Windows * Make Graphviz optional for Python tests * Add back C++ tests * Unstash xgboost_cpp_tests * Fix label to CUDA 10.1 * Install cuPy for CUDA 10.1 * Install jsonschema * Address reviewer's feedback
25 lines
419 B
Bash
Executable File
25 lines
419 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
if [ $# -ne 1 ]; then
|
|
echo "Usage: $0 [spark version]"
|
|
exit 1
|
|
fi
|
|
|
|
spark_version=$1
|
|
|
|
# Initialize local Maven repository
|
|
./tests/ci_build/initialize_maven.sh
|
|
|
|
rm -rf build/
|
|
cd jvm-packages
|
|
|
|
# Re-build package without Mock Rabit
|
|
# Deploy to S3 bucket xgboost-maven-repo
|
|
mvn --no-transfer-progress package deploy -P release-to-s3 -Dspark.version=${spark_version} -DskipTests
|
|
|
|
set +x
|
|
set +e
|