File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -9,20 +9,13 @@ variables:
9
9
10
10
# Cache expiration: 14 days
11
11
cache :
12
- key :
13
- files :
14
- - gradle/wrapper/gradle-wrapper.properties
15
- prefix : " $CI_JOB_NAME"
12
+ key : " build-cache"
16
13
paths :
17
14
- cache/
18
- - .gradle/caches/
19
- - .gradle/notifications/
20
- - .gradle/wrapper/
21
15
when : " always"
22
16
23
17
before_script : |
24
18
# Install dependencies
25
- export GRADLE_USER_HOME="${PWD:?}/.gradle"
26
19
apk add bash grep wget zip~=3.0 || exit "${?}"
27
20
28
21
include :
@@ -40,13 +33,14 @@ job-build-oss:
40
33
rules :
41
34
- if : $CI_COMMIT_BRANCH
42
35
- if : $CI_COMMIT_TAG != "nightly"
43
- script : " ./gradlew buildOtaOSS"
36
+ cache : []
37
+ script : " BUILD_TYPE='oss' './build.sh'"
44
38
45
39
job-build :
46
40
stage : build
47
41
rules :
48
42
- if : $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
49
- script : " ./gradlew buildOta "
43
+ script : " BUILD_TYPE='full' './build.sh' "
50
44
artifacts :
51
45
paths :
52
46
- output/*.zip*
62
56
stage : test
63
57
cache : []
64
58
before_script : []
65
-
66
- after_script :
67
- - rm -f "$GRADLE_USER_HOME/caches/modules-2/modules-2.lock"
68
- - rm -fr "$GRADLE_USER_HOME/caches/*/plugin-resolution/"
You can’t perform that action at this time.
0 commit comments