ci: use coursier cache, do not use bloop
This commit is contained in:
parent
ef00cf1093
commit
78ef878fb2
@ -5,6 +5,15 @@ stages:
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
image: gumjoe/wacc-ci-scala:slim
|
image: gumjoe/wacc-ci-scala:slim
|
||||||
|
cache:
|
||||||
|
- key:
|
||||||
|
files:
|
||||||
|
- project.scala
|
||||||
|
paths:
|
||||||
|
- .coursier-cache/
|
||||||
|
|
||||||
|
variables:
|
||||||
|
SCALA_CACHE: --cache=.coursier-cache/
|
||||||
|
|
||||||
check_format:
|
check_format:
|
||||||
stage: check
|
stage: check
|
||||||
@ -29,7 +38,7 @@ compile_jvm:
|
|||||||
stage: compile
|
stage: compile
|
||||||
needs: []
|
needs: []
|
||||||
script:
|
script:
|
||||||
- scala compile --platform jvm -Werror .
|
- scala compile -Werror --server=false $SCALA_CACHE .
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- .bsp/
|
- .bsp/
|
||||||
@ -45,4 +54,4 @@ test_jvm:
|
|||||||
before_script:
|
before_script:
|
||||||
- git clone https://$EXAMPLES_AUTH@gitlab.doc.ic.ac.uk/lab2425_spring/wacc-examples.git
|
- git clone https://$EXAMPLES_AUTH@gitlab.doc.ic.ac.uk/lab2425_spring/wacc-examples.git
|
||||||
script:
|
script:
|
||||||
- scala test --platform jvm .
|
- scala test --server=false $SCALA_CACHE .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user