Skip to content

Commit 8c33bfc

Browse files
committed
Use linux-docker-android-22.04 stack on Bitrise
https://bitrise.io/stacks/stack_reports/linux-docker-android-22.04
1 parent 415dfef commit 8c33bfc

1 file changed

Lines changed: 48 additions & 6 deletions

File tree

bitrise.yml

Lines changed: 48 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ workflows:
3535
- auth_token: $GITHUB_TOKEN
3636
- status_identifier: "Library"
3737
- pipeline_build_url: "$BITRISE_BUILD_URL"
38+
- github-status@3:
39+
run_if: .IsCI
40+
inputs:
41+
- set_specific_status: "pending"
42+
- auth_token: $GITHUB_TOKEN
43+
- status_identifier: "Ktx"
44+
- pipeline_build_url: "$BITRISE_BUILD_URL"
3845
- github-status@3:
3946
run_if: .IsCI
4047
inputs:
@@ -86,7 +93,7 @@ workflows:
8693
- pipeline_build_url: "$BITRISE_BUILD_URL"
8794
meta:
8895
bitrise.io:
89-
stack: ubuntu-noble-24.04-bitrise-2025-android
96+
stack: linux-docker-android-22.04
9097
machine_type_id: standard
9198

9299
_emulatorSetup:
@@ -208,6 +215,41 @@ workflows:
208215
- _globalSetup
209216
- _emulatorSetup
210217

218+
test_ktx:
219+
steps:
220+
- gradle-runner@2:
221+
inputs:
222+
- gradlew_path: "./gradlew"
223+
- gradle_task: Ktx:ktlintCheck
224+
title: KtLint
225+
- android-unit-test@1:
226+
inputs:
227+
- project_location: "$PROJECT_LOCATION"
228+
- variant: Debug
229+
- module: Ktx
230+
- cache_level: none
231+
- gradle-runner@2:
232+
inputs:
233+
- gradlew_path: "./gradlew"
234+
- gradle_task: Ktx:assembleDebugAndroidTest
235+
title: Build Test APK
236+
- android-instrumented-test@0:
237+
inputs:
238+
- test_apk_path: "./Ktx/build/outputs/apk/androidTest/debug/testify-ktx-debug-androidTest.apk"
239+
- main_apk_path: "./Ktx/build/outputs/apk/androidTest/debug/testify-ktx-debug-androidTest.apk"
240+
- deploy-to-bitrise-io@2:
241+
inputs:
242+
- notify_user_groups: none
243+
- github-status@3:
244+
run_if: .IsCI
245+
inputs:
246+
- auth_token: $GITHUB_TOKEN
247+
- status_identifier: "Ktx"
248+
- pipeline_build_url: "$BITRISE_BUILD_URL"
249+
before_run:
250+
- _globalSetup
251+
- _emulatorSetup
252+
211253
test_plugin:
212254
steps:
213255
- gradle-runner@2:
@@ -259,7 +301,7 @@ workflows:
259301
- _globalSetup
260302
meta:
261303
bitrise.io:
262-
stack: ubuntu-noble-24.04-bitrise-2025-android
304+
stack: linux-docker-android-22.04
263305
machine_type_id: standard
264306

265307
test_compose_ext:
@@ -284,7 +326,7 @@ workflows:
284326
- _globalSetup
285327
meta:
286328
bitrise.io:
287-
stack: ubuntu-noble-24.04-bitrise-2025-android
329+
stack: linux-docker-android-22.04
288330
machine_type_id: standard
289331

290332
test_fullscreen_ext:
@@ -309,7 +351,7 @@ workflows:
309351
- _globalSetup
310352
meta:
311353
bitrise.io:
312-
stack: ubuntu-noble-24.04-bitrise-2025-android
354+
stack: linux-docker-android-22.04
313355
machine_type_id: standard
314356

315357
test_flix:
@@ -390,8 +432,8 @@ workflows:
390432

391433
meta:
392434
bitrise.io:
393-
stack: ubuntu-noble-24.04-bitrise-2025-android
394-
machine_type_id: g2.linux.2medium
435+
stack: linux-docker-android-22.04
436+
machine_type_id: g2.linux.large
395437
app:
396438
envs:
397439
- opts:

0 commit comments

Comments
 (0)