diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fbc54e28a..6f8bc901e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,8 +62,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - api-level: [18, 25] - arch: [[x86, X86]] + api-level: [21, 27] + arch: [[x86, X86], [x86_64, X86_64], [arm64-v8a, Arm64]] steps: - name: checkout uses: actions/checkout@v3 @@ -84,7 +84,7 @@ jobs: path: | ~/.android/avd/* ~/.android/adb* - key: avd-${{ matrix.api-level }} + key: avd-${{ matrix.api-level }}-${{ matrix.arch[0] }} - name: Prepare thirdparty run: bash ./gradlew -b thirdparty_build.gradle downloadAndPatchDjvu downloadAndMakeMupdf @@ -94,6 +94,7 @@ jobs: uses: reactivecircus/android-emulator-runner@v2 with: api-level: ${{ matrix.api-level }} + target: ${{ matrix.arch[0] }} force-avd-creation: false emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none disable-animations: false @@ -103,6 +104,7 @@ jobs: uses: reactivecircus/android-emulator-runner@v2 with: api-level: ${{ matrix.api-level }} + target: ${{ matrix.arch[0] }} force-avd-creation: false emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none disable-animations: true