diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 966414a05a..265bf47666 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,13 +8,13 @@ env: jobs: android: - runs-on: macos-latest + runs-on: ubuntu-latest strategy: fail-fast: true matrix: api-level: - - 29 + - 33 steps: - uses: actions/checkout@v3 @@ -25,7 +25,7 @@ jobs: - uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: 11 + java-version: 17 - name: Gradle cache uses: gradle/gradle-build-action@v2 @@ -34,15 +34,17 @@ jobs: if: steps.avd-cache.outputs.cache-hit != 'true' uses: reactivecircus/android-emulator-runner@v2 with: + arch: x86_64 api-level: ${{ matrix.api-level }} force-avd-creation: false - emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none + emulator-options: -no-window -noaudio -no-boot-anim -camera-back none -feature -Vulkan disable-animations: false script: echo "Generated AVD snapshot for caching." - name: Run Tests uses: reactivecircus/android-emulator-runner@v2 with: + arch: x86_64 api-level: ${{ matrix.api-level }} script: ./gradlew connectedCheck -x :bugsnag-benchmarks:connectedCheck env: