File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ pipeline:
22
22
group : test
23
23
image : lampepfl/dotty:2019-04-22
24
24
commands :
25
+ - echo "$JAVA_HOME"
25
26
- cp -R . /tmp/1/ && cd /tmp/1/
26
27
- ./project/scripts/sbt ";compile ;test"
27
28
- ./project/scripts/cmdTests
@@ -47,7 +48,7 @@ pipeline:
47
48
image : lampepfl/dotty:2019-04-22
48
49
commands :
49
50
- cp -R . /tmp/6/ && cd /tmp/6/
50
- - JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64/" ./project/scripts/sbt -java-home "/usr/lib/jvm/java-11-openjdk-amd64/" ";dotty-bootstrapped/compile ;dotty-bootstrapped/test; dotty-semanticdb/compile; dotty-semanticdb/test:compile;sjsSandbox/run;sjsSandbox/test"
51
+ - JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64/" ./project/scripts/sbt ";dotty-bootstrapped/compile ;dotty-bootstrapped/test; dotty-semanticdb/compile; dotty-semanticdb/test:compile;sjsSandbox/run;sjsSandbox/test"
51
52
when :
52
53
event : [ push, tag, deployment ]
53
54
Original file line number Diff line number Diff line change @@ -13,4 +13,5 @@ sbt -J-Xmx4096m \
13
13
-Ddotty.drone.mem=4096m \
14
14
-Dsbt.ivy.home=/var/cache/drone/ivy2 \
15
15
-no-colors \
16
+ -java-home " $JAVA_HOME " \
16
17
" $CMD "
You can’t perform that action at this time.
0 commit comments