[CI] CI cost saving (#7407)

* [CI] Drop CUDA 10.1; Require 11.0

* Change NCCL version

* Use CUDA 10.1 for clang-tidy, for now

* Remove JDK 11 and 12

* Fix NCCL version

* Don't require 11.0 just yet, until clang-tidy is fixed

* Skip MultiClassesSerializationTest.GpuHist
This commit is contained in:
Philip Hyunsu Cho
2021-11-17 21:02:20 -08:00
committed by GitHub
parent b0015fda96
commit 2adf222fb2
5 changed files with 18 additions and 22 deletions

View File

@@ -40,8 +40,8 @@ pipeline {
steps {
script {
parallel ([
'build-win64-cuda10.1': { BuildWin64() },
'build-rpkg-win64-cuda10.1': { BuildRPackageWithCUDAWin64() }
'build-win64-cuda11.0': { BuildWin64() },
'build-rpkg-win64-cuda11.0': { BuildRPackageWithCUDAWin64() }
])
}
}
@@ -51,7 +51,7 @@ pipeline {
steps {
script {
parallel ([
'test-win64-cuda10.1': { TestWin64() },
'test-win64-cuda11.0': { TestWin64() },
])
}
}
@@ -75,7 +75,7 @@ def checkoutSrcs() {
}
def BuildWin64() {
node('win64 && cuda10_unified') {
node('win64 && cuda11_unified') {
deleteDir()
unstash name: 'srcs'
echo "Building XGBoost for Windows AMD64 target..."
@@ -118,7 +118,7 @@ def BuildWin64() {
}
def BuildRPackageWithCUDAWin64() {
node('win64 && cuda10_unified') {
node('win64 && cuda11_unified') {
deleteDir()
unstash name: 'srcs'
bat "nvcc --version"
@@ -135,7 +135,7 @@ def BuildRPackageWithCUDAWin64() {
}
def TestWin64() {
node('win64 && cuda10_unified') {
node('win64 && cuda11_unified') {
deleteDir()
unstash name: 'srcs'
unstash name: 'xgboost_whl'