Skip to content

Commit 145919e

Browse files
committed
Add command to make sure julia version is actually compiled on docker
1 parent 9a55d67 commit 145919e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

jenkins/Jenkinsfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ pipeline {
2626
JULIA_NUM_THREADS = 4
2727
}
2828
steps {
29+
sh '''
30+
/usr/local/.juliaup/bin/juliaup add lts;
31+
/usr/local/.juliaup/bin/juliaup default lts;
32+
'''
2933
sh '''
3034
/usr/local/.juliaup/bin/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"])'
3135
'''
@@ -50,6 +54,10 @@ pipeline {
5054
JULIA_NUM_THREADS = 4
5155
}
5256
steps {
57+
sh '''
58+
/usr/local/.juliaup/bin/juliaup add 1;
59+
/usr/local/.juliaup/bin/juliaup default 1;
60+
'''
5361
sh '''
5462
/usr/local/.juliaup/bin/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"])'
5563
'''
@@ -74,6 +82,10 @@ pipeline {
7482
JULIA_NUM_THREADS = 4
7583
}
7684
steps {
85+
sh '''
86+
/usr/local/.juliaup/bin/juliaup add lts;
87+
/usr/local/.juliaup/bin/juliaup default lts;
88+
'''
7789
sh '''
7890
/usr/local/.juliaup/bin/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"])'
7991
'''
@@ -98,6 +110,10 @@ pipeline {
98110
JULIA_NUM_THREADS = 4
99111
}
100112
steps {
113+
sh '''
114+
/usr/local/.juliaup/bin/juliaup add 1;
115+
/usr/local/.juliaup/bin/juliaup default 1;
116+
'''
101117
sh '''
102118
/usr/local/.juliaup/bin/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"])'
103119
'''

0 commit comments

Comments
 (0)