diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 6886680..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,50 +0,0 @@ -include: - - 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v6.yml' - -test:1.4: - extends: - - .julia:1.4 - - .test - tags: - - nvidia - - cuda_11.0 - script: - - julia --project -e 'using Pkg; Pkg.develop(["ITensors", "CUDA", "GPUArrays", "GPUCompiler"]);' - - julia --project -e 'using Pkg; Pkg.test("ITensorGPU"; coverage=true)' - variables: - JULIA_CUDA_VERSION: '11.0' - JULIA_CUDA_USE_BINARYBUILDER: 'true' - -test:1.5: - extends: - - .julia:1.5 - - .test - tags: - - nvidia - - cuda_11.0 - script: - - julia --project -e 'using Pkg; Pkg.develop(["ITensors", "CUDA", "GPUArrays", "GPUCompiler"]);' - - julia --project -e 'using Pkg; Pkg.test("ITensorGPU"; coverage=true)' - variables: - JULIA_CUDA_VERSION: '11.0' - JULIA_CUDA_USE_BINARYBUILDER: 'true' - -test:nightly: - extends: - - .julia:nightly - - .test - tags: - - nvidia - - cuda_11.0 - script: - - julia --project -e 'using Pkg; Pkg.develop(["ITensors", "CUDA", "GPUArrays", "GPUCompiler"]);' - - julia --project -e 'using Pkg; Pkg.test("ITensorGPU")' - allow_failure: true - variables: - JULIA_CUDA_VERSION: '11.0' - JULIA_CUDA_USE_BINARYBUILDER: 'true' - -coverage: - extends: - - .julia:nightly - - .coverage diff --git a/jenkins/Jenkinsfile b/jenkins/Jenkinsfile index 86c3ac6..445a7ab 100644 --- a/jenkins/Jenkinsfile +++ b/jenkins/Jenkinsfile @@ -27,11 +27,11 @@ pipeline { } steps { sh ''' - julia -e 'using Pkg; Pkg.develop(path="."); Pkg.test("ITensorGPU");' + julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.develop(path="."); Pkg.test("ITensorGPU") ''' } } - stage('ITensorGPU julia-1.9') { + stage('ITensorGPU julia-1.10') { options { timeout(time: 45, unit: 'MINUTES') } @@ -40,7 +40,7 @@ pipeline { label 'gpu&&v100' filename 'Dockerfile' dir 'jenkins' - additionalBuildArgs '--build-arg JULIA=1.9' + additionalBuildArgs '--build-arg JULIA=1.10' args '--gpus "device=1"' } } @@ -51,7 +51,7 @@ pipeline { } steps { sh ''' - julia -e 'using Pkg; Pkg.develop(path="."); Pkg.test("ITensorGPU");' + julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.develop(path="."); Pkg.test("ITensorGPU") ''' } }