@@ -43,72 +43,12 @@ jobs:
43
43
- name : Build sqllin-driver
44
44
run : ./gradlew :sqllin-driver:assemble -PonCICD
45
45
46
- - name : Run sqllin-driver macOS X64 Tests
47
- run : ./test_driver_macos.sh
48
-
49
- - name : Run sqllin-driver JVM Unit Tests on macOS X64
50
- run : ./test_driver_jvm.sh
51
-
52
46
- name : Build sqllin-dsl
53
47
run : ./gradlew :sqllin-dsl:assemble -PonCICD
54
48
55
- - name : Run sqllin-dsl macOS X64 Tests
56
- run : ./test_dsl_macos.sh
57
-
58
- - name : Run sqllin-dsl JVM Unit Tests on macOS X64
59
- run : ./test_dsl_jvm.sh
60
-
61
49
- name : Gradle Cache
62
50
uses : gradle/gradle-build-action@v2
63
51
64
- - name : AVD Cache
65
- uses : actions/cache@v3
66
- id : avd-cache
67
- with :
68
- path : |
69
- ~/.android/avd/*
70
- ~/.android/adb*
71
- key : avd-34
72
-
73
- - name : Create AVD and Generate Snapshot for Caching
74
- if : steps.avd-cache.outputs.cache-hit != 'true'
75
- uses : reactivecircus/android-emulator-runner@v2
76
- with :
77
- api-level : 34
78
- target : google_apis
79
- arch : x86_64
80
- profile : pixel_6
81
- force-avd-creation : false
82
- emulator-options : -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
83
- disable-animations : false
84
- script : echo "Generated AVD snapshot for caching."
85
-
86
- - name : Run Android 14 Instrumented Tests
87
- uses : reactivecircus/android-emulator-runner@v2
88
- with :
89
- api-level : 34
90
- target : google_apis
91
- arch : x86_64
92
- profile : pixel_6
93
- force-avd-creation : false
94
- emulator-options : -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
95
- disable-animations : true
96
- script : ./test_android.sh
97
-
98
- - name : Upload sqllin-driver Reports
99
- uses : actions/upload-artifact@v2
100
- with :
101
- name : Test-Reports
102
- path : sqllin-driver/build/reports
103
- if : failure()
104
-
105
- - name : Upload sqllin-dsl Reports
106
- uses : actions/upload-artifact@v2
107
- with :
108
- name : Test-Reports
109
- path : sqllin-dsl/build/reports
110
- if : failure()
111
-
112
52
- name : Publish to MavenCentral
113
53
run : ./publish_apple_android_jvm.sh
114
54
@@ -143,35 +83,9 @@ jobs:
143
83
- name : Build sqllin-driver
144
84
run : ./gradlew :sqllin-driver:mingwX64MainKlibrary
145
85
146
- - name : Run sqllin-driver MinGW X64 Tests
147
- run : ./gradlew :sqllin-driver:cleanMingwX64Test && ./gradlew :sqllin-driver:mingwX64Test --stacktrace
148
-
149
- - name : Run sqllin-driver JVM Unit Tests on MinGW X64
150
- run : ./gradlew :sqllin-driver:cleanJvmTest && ./gradlew :sqllin-driver:jvmTest --stacktrace
151
-
152
86
- name : Build sqllin-dsl
153
87
run : ./gradlew :sqllin-dsl:mingwX64MainKlibrary
154
88
155
- - name : Run sqllin-dsl MinGW X64 Tests
156
- run : ./gradlew :sqllin-dsl:cleanMingwX64Test && ./gradlew :sqllin-dsl:mingwX64Test --stacktrace
157
-
158
- - name : Run sqllin-dsl JVM Unit Tests on MinGW X64
159
- run : ./gradlew :sqllin-dsl:cleanJvmTest && ./gradlew :sqllin-dsl:jvmTest --stacktrace
160
-
161
- - name : Upload sqllin-driver Reports
162
- uses : actions/upload-artifact@v2
163
- with :
164
- name : Test-Reports
165
- path : sqllin-driver/build/reports
166
- if : failure()
167
-
168
- - name : Upload sqllin-dsl Reports
169
- uses : actions/upload-artifact@v2
170
- with :
171
- name : Test-Reports
172
- path : sqllin-dsl/build/reports
173
- if : failure()
174
-
175
89
- name : Publish to MavenCentral
176
90
run : ./gradlew :sqllin-driver:publishMingwX64PublicationToMavenRepository && ./gradlew :sqllin-dsl:publishMingwX64PublicationToMavenRepository
177
91
@@ -206,74 +120,14 @@ jobs:
206
120
- name : Build sqllin-driver
207
121
run : ./gradlew :sqllin-driver:assemble -PonCICD
208
122
209
- - name : Run sqllin-driver Linux X64 Tests
210
- run : ./test_driver_linux.sh
211
-
212
- - name : Run sqllin-driver JVM Unit Tests on Linux X64
213
- run : ./test_driver_jvm.sh
214
-
215
123
- name : Build sqllin-processor
216
124
run : ./gradlew :sqllin-processor:assemble
217
125
218
126
- name : Build sqllin-dsl
219
127
run : ./gradlew :sqllin-dsl:assemble -PonCICD
220
128
221
- - name : Run sqllin-dsl Linux X64 Tests
222
- run : ./test_dsl_linux.sh
223
-
224
- - name : Run sqllin-dsl JVM Unit Tests on Linux X64
225
- run : ./test_dsl_jvm.sh
226
-
227
129
- name : Gradle Cache
228
130
uses : gradle/gradle-build-action@v2
229
131
230
- - name : AVD Cache
231
- uses : actions/cache@v3
232
- id : avd-cache
233
- with :
234
- path : |
235
- ~/.android/avd/*
236
- ~/.android/adb*
237
- key : avd-26
238
-
239
- - name : Create AVD and Generate Snapshot for Caching
240
- if : steps.avd-cache.outputs.cache-hit != 'true'
241
- uses : reactivecircus/android-emulator-runner@v2
242
- with :
243
- api-level : 26
244
- target : default
245
- arch : x86_64
246
- profile : pixel_2
247
- force-avd-creation : false
248
- emulator-options : -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
249
- disable-animations : false
250
- script : echo "Generated AVD snapshot for caching."
251
-
252
- - name : Run Android 8 Instrumented Tests
253
- uses : reactivecircus/android-emulator-runner@v2
254
- with :
255
- api-level : 26
256
- target : default
257
- arch : x86_64
258
- profile : pixel_2
259
- force-avd-creation : false
260
- emulator-options : -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
261
- disable-animations : true
262
- script : ./test_android.sh
263
-
264
- - name : Upload sqllin-driver Reports
265
- uses : actions/upload-artifact@v2
266
- with :
267
- name : Test-Reports
268
- path : sqllin-driver/build/reports
269
- if : failure()
270
-
271
- - name : Upload sqllin-dsl Reports
272
- uses : actions/upload-artifact@v2
273
- with :
274
- name : Test-Reports
275
- path : sqllin-dsl/build/reports
276
- if : failure()
277
-
278
132
- name : Publish to MavenCentral
279
133
run : ./publish_linux_processor.sh
0 commit comments