blob: a3464c24d44a86e91a505d018f1101b11e527a7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
image: openjdk:11
variables:
MILL_CLI: "-D coursier.cache=$CI_PROJECT_DIR/.cache -j 0"
cache:
paths:
- .cache/
test:
script:
- ./mill $MILL_CLI mill.scalalib.scalafmt.ScalafmtModule/checkFormatAll __.sources
- ./mill $MILL_CLI server.test
package:
script:
- ./mill $MILL_CLI server.assembly
artifacts:
paths:
- out/server/assembly.dest/*.jar
when: on_success
expire_in: never
rules:
- if: $CI_COMMIT_TAG
|