Skip to content

Commit f19f9ff

Browse files
committed
Update Jenkins to test 1.10 and 1.11
1 parent 795f3ab commit f19f9ff

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed

jenkins/Jenkinsfile

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,30 @@ pipeline {
3131
'''
3232
}
3333
}
34+
stage('NDTensorsCUDAExt julia-1.11') {
35+
options {
36+
timeout(time: 45, unit: 'MINUTES')
37+
}
38+
agent {
39+
dockerfile {
40+
label 'gpu&&v100'
41+
filename 'Dockerfile'
42+
dir 'jenkins'
43+
additionalBuildArgs '--build-arg JULIA=1.11'
44+
args '--gpus "device=1"'
45+
}
46+
}
47+
environment {
48+
HOME = pwd(tmp:true)
49+
OMP_NUM_THREADS = 4
50+
JULIA_NUM_THREADS = 4
51+
}
52+
steps {
53+
sh '''
54+
julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cuda"])'
55+
'''
56+
}
57+
}
3458
stage('NDTensorscuTENSORExt julia-1.10') {
3559
options {
3660
timeout(time: 45, unit: 'MINUTES')
@@ -55,7 +79,52 @@ pipeline {
5579
'''
5680
}
5781
}
82+
stage('NDTensorscuTENSORExt julia-1.11') {
83+
options {
84+
timeout(time: 45, unit: 'MINUTES')
85+
}
86+
agent {
87+
dockerfile {
88+
label 'gpu&&v100'
89+
filename 'Dockerfile'
90+
dir 'jenkins'
91+
additionalBuildArgs '--build-arg JULIA=1.11'
92+
args '--gpus "device=1"'
93+
}
94+
}
95+
environment {
96+
HOME = pwd(tmp:true)
97+
OMP_NUM_THREADS = 4
98+
JULIA_NUM_THREADS = 4
99+
}
100+
steps {
101+
sh '''
102+
julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cutensor"])'
103+
'''
104+
}
105+
}
58106
stage('NDTensorsMetalExt Julia-1.10'){
107+
options {
108+
timeout(time: 45, unit: 'MINUTES')
109+
}
110+
agent {
111+
label 'm1'
112+
}
113+
environment{
114+
PATH="${env.HOME}/.juliaup/bin:${env.PATH}"
115+
PLATFORM = 'macos'
116+
}
117+
steps{
118+
sh '''
119+
juliaup add 1.10
120+
juliaup default 1.10
121+
'''
122+
sh '''
123+
julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["metal"])'
124+
'''
125+
}
126+
}
127+
stage('NDTensorsMetalExt Julia-1.11'){
59128
options {
60129
timeout(time: 45, unit: 'MINUTES')
61130
}
@@ -69,6 +138,7 @@ pipeline {
69138
steps{
70139
sh '''
71140
juliaup update
141+
juliaup default release
72142
'''
73143
sh '''
74144
julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["metal"])'

0 commit comments

Comments
 (0)