Skip to content

Commit c381199

Browse files
committed
ci: safe time by merging the build android interop client step into running the interop
1 parent 53a5676 commit c381199

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/interop.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -93,17 +93,7 @@ jobs:
9393
-destination 'platform=iOS Simulator,name=iPhone 16 e2e-interop-test' clean build install DSTROOT=./Products
9494
./install-interop-client.sh ${{ env.SIMULATOR }}
9595
96-
- name: setup android emulator & build android interop client
97-
env:
98-
RUST_LOG: interop=info
99-
uses: reactivecircus/android-emulator-runner@v2
100-
with:
101-
api-level: 32
102-
arch: arm64-v8a
103-
working-directory: interop/src/clients
104-
script: ./gradlew android-interop:installRelease
105-
106-
- name: run e2e interop test
96+
- name: build android interop client & run e2e interop test
10797
env:
10898
RUST_LOG: interop=info
10999
uses: reactivecircus/android-emulator-runner@v2
@@ -113,7 +103,7 @@ jobs:
113103
working-directory: .
114104
# We're not building the interop binary in release mode, so it's in `target/debug`.
115105
script: |
116-
adb install interop/src/clients/android-interop/build/outputs/apk/release/android-interop-release.apk
106+
(cd interop/src/clients && ./gradlew android-interop:installRelease)
117107
./target/debug/interop
118108
119109
# we separate shutdown from deletion to make sure the device is always removed, even when shutdown failed

0 commit comments

Comments
 (0)