diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 17c6c67d7..65ccfcd40 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,8 +62,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - arch: [[16, x86, X86], [21, x86, X86], [28, x86_64, X86_64]] -# , [arm64-v8a, Arm64] + arch: [[16, x86], [21, x86], [28, x86_64]] steps: - name: checkout uses: actions/checkout@v3 @@ -74,33 +73,9 @@ jobs: java-version: 11 distribution: corretto - - name: Gradle cache - uses: gradle/gradle-build-action@v2 - -# - name: AVD cache -# uses: actions/cache@v3 -# id: avd-cache -# with: -# path: | -# ~/.android/avd/* -# ~/.android/adb* -# key: avd-${{ matrix.arch[0] }}-${{ matrix.arch[1] }} - - name: Prepare thirdparty run: bash ./gradlew -b thirdparty_build.gradle downloadAndPatchDjvu downloadAndMakeMupdf -# - name: create AVD and generate snapshot for caching -# if: steps.avd-cache.outputs.cache-hit != 'true' -# uses: reactivecircus/android-emulator-runner@v2 -# with: -# api-level: ${{ matrix.arch[0] }} -# arch: ${{ matrix.arch[1] }} -# force-avd-creation: false -# emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -# disable-animations: false -# sdcard-path-or-size: 900M -# script: echo "Generated AVD snapshot for caching." - - name: run tests uses: reactivecircus/android-emulator-runner@v2 with: @@ -110,10 +85,10 @@ jobs: emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none disable-animations: true sdcard-path-or-size: 900M - script: ./gradlew connected${{ matrix.arch[2] }}DebugAndroidTest -Porion.CIBuild=true + script: ./gradlew connectedDebugAndroidTest -Porion.CIBuild=true - name: Test Summary uses: test-summary/action@v2 with: - paths: orion-viewer/build/outputs/androidTest-results/connected/flavors/${{ matrix.arch[1] }}/TEST-*.xml + paths: orion-viewer/build/outputs/androidTest-results/connected/TEST-*.xml if: always() \ No newline at end of file