Add first (manual) CI jobs #174
@@ -2,7 +2,17 @@ stages:
|
|||||||
- lint
|
- lint
|
||||||
- build
|
- build
|
||||||
|
|
||||||
|
# Reusable definitions
|
||||||
|
.gradle-cache: &gradle-cache
|
||||||
|
cache:
|
||||||
|
key: '$CI_PROJECT_ID-gradle'
|
||||||
|
paths:
|
||||||
|
- .gradle/
|
||||||
|
- ~/.gradle/caches/
|
||||||
|
|
||||||
|
# Jobs
|
||||||
checkstyle:
|
checkstyle:
|
||||||
|
<<: *gradle-cache
|
||||||
stage: lint
|
stage: lint
|
||||||
image: gradle:9.3.1-jdk25
|
image: gradle:9.3.1-jdk25
|
||||||
script:
|
script:
|
||||||
@@ -18,6 +28,7 @@ checkstyle:
|
|||||||
- when: manual
|
- when: manual
|
||||||
|
|
||||||
compile-check:
|
compile-check:
|
||||||
|
<<: *gradle-cache
|
||||||
stage: build
|
stage: build
|
||||||
image: gradle:9.3.1-jdk25
|
image: gradle:9.3.1-jdk25
|
||||||
script:
|
script:
|
||||||
|
|||||||
Reference in New Issue
Block a user