Skip to content

Commit 20b178a

Browse files
committed
arm64 runner
1 parent 8ebee98 commit 20b178a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/Android-CI.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
buildTest:
1111
name: Build & Test JDK ${{ matrix.java_version }}
12-
runs-on: macOS-latest
12+
runs-on: ARM64
1313
strategy:
1414
matrix:
1515
java_version: [ 17 ]
@@ -28,20 +28,20 @@ jobs:
2828
java-version: ${{ matrix.java_version }}
2929
- uses: gradle/wrapper-validation-action@v1
3030
- name: Install Android SDK
31-
uses: malinskiy/action-android/install-sdk@release/0.1.4
31+
uses: hannesa2/action-android/[email protected].10
3232
- name: Build project
3333
run: ./gradlew assembleDebug
3434
- name: Run tests
3535
run: ./gradlew test
3636
- name: Test jitpack publish command
3737
run: ./gradlew :MPChartLib:publishToMavenLocal
3838
- name: Run instrumentation tests
39-
uses: malinskiy/action-android/emulator-run-cmd@release/0.1.4
39+
uses: hannesa2/action-android/[email protected].10
4040
with:
4141
cmd: ./gradlew cAT --continue
42-
api: 28
43-
tag: default
44-
abi: x86_64
42+
api: 34
43+
tag: 'google_apis'
44+
abi: arm64-v8a
4545
cmdOptions: -noaudio -no-boot-anim -no-window
4646
- name: Archive Espresso results
4747
uses: actions/upload-artifact@v3
@@ -61,7 +61,7 @@ jobs:
6161
- name: Compare screenshots
6262
run: |
6363
ls -ls MPChartExample/build/outputs/connected_android_test_additional_output/debugAndroidTest/connected
64-
cp MPChartExample/build/outputs/connected_android_test_additional_output/debugAndroidTest/connected/emulator\(AVD\)\ -\ 9/* screenshotsToCompare
64+
cp MPChartExample/build/outputs/connected_android_test_additional_output/debugAndroidTest/connected/emulator\(AVD\)\ -\ 14/* screenshotsToCompare
6565
./screenShotCompare.sh
6666
- name: Archive screenshots diffs
6767
if: ${{ always() }}

0 commit comments

Comments
 (0)