Reorganising build.gradle for CUDA 12

Signed-off-by: brian <brian@brutex.de>
CUDA12
Brian Rosenberger 2023-08-30 12:36:12 +02:00
parent cefc2b9ea1
commit 4793864178
1 changed files with 10 additions and 1 deletions

View File

@ -26,7 +26,7 @@ pipeline {
dir '.docker'
label 'linux && docker && cuda'
//additionalBuildArgs '--build-arg version=1.0.2'
args '--gpus all' //--needed for test only, you can build without GPU
//args '--gpus all' //--needed for test only, you can build without GPU
}
}
@ -57,6 +57,15 @@ pipeline {
}
}
stage('test-linux-cuda') {
agent {
dockerfile {
filename 'Dockerfile'
dir '.docker'
label 'linux && docker && cuda && cudart'
//additionalBuildArgs '--build-arg version=1.0.2'
args '--gpus all' //--needed for test only, you can build without GPU
}
}
environment {
MAVEN = credentials('Internal_Archiva')
OSSRH = credentials('OSSRH')