File tree Expand file tree Collapse file tree 1 file changed +80
-0
lines changed Expand file tree Collapse file tree 1 file changed +80
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Java Gradle CircleCI 2.0 configuration file
2
+ #
3
+ # Check https://circleci.com/docs/2.0/language-java/ for more details
4
+ #
5
+ version : 2
6
+ orbs :
7
+ gradle :
circleci/[email protected]
8
+
9
+ jobs :
10
+ test_linux :
11
+ docker :
12
+ - image : mingc/android-build-box
13
+ working_directory : ~/repo
14
+ environment :
15
+ JVM_OPTS : -Xmx3200m
16
+ TERM : dumb
17
+
18
+ steps :
19
+ - checkout
20
+ - restore_cache :
21
+ keys :
22
+ - v1-dependencies-{{ checksum "build.gradle.kts" }}
23
+ # fallback to using the latest cache if no exact match is found
24
+ - v1-dependencies-
25
+ - run : gradle dependencies
26
+ - save_cache :
27
+ paths :
28
+ - ~/.gradle
29
+ key : v1-dependencies-{{ checksum "build.gradle.kts" }}
30
+ - run : gradle linuxX64Test
31
+ test_js :
32
+ docker :
33
+ - image : mingc/android-build-box
34
+ working_directory : ~/repo
35
+ environment :
36
+ JVM_OPTS : -Xmx3200m
37
+ TERM : dumb
38
+
39
+ steps :
40
+ - checkout
41
+ - restore_cache :
42
+ keys :
43
+ - v1-dependencies-{{ checksum "build.gradle.kts" }}
44
+ # fallback to using the latest cache if no exact match is found
45
+ - v1-dependencies-
46
+ - run : gradle dependencies
47
+ - save_cache :
48
+ paths :
49
+ - ~/.gradle
50
+ key : v1-dependencies-{{ checksum "build.gradle.kts" }}
51
+ - run : gradle jsIrTest jsLegacyTest
52
+ test_jvm :
53
+ docker :
54
+ - image : circleci/openjdk:11-jdk
55
+ working_directory : ~/repo
56
+ environment :
57
+ JVM_OPTS : -Xmx3200m
58
+ TERM : dumb
59
+
60
+ steps :
61
+ - checkout
62
+ - restore_cache :
63
+ keys :
64
+ - v1-dependencies-{{ checksum "build.gradle.kts" }}
65
+ # fallback to using the latest cache if no exact match is found
66
+ - v1-dependencies-
67
+ - run : gradle dependencies
68
+ - save_cache :
69
+ paths :
70
+ - ~/.gradle
71
+ key : v1-dependencies-{{ checksum "build.gradle.kts" }}
72
+ - run : gradle jvmTest
73
+
74
+ workflows :
75
+ version : 2
76
+ run_tests :
77
+ jobs :
78
+ - test_jvm
79
+ - test_js
80
+ - test_linux
You can’t perform that action at this time.
0 commit comments