diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 815d9861..8c0872ad 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -78,7 +78,7 @@ jobs: action: build test: if: ${{ startsWith(github.ref, 'refs/tags/') != true && github.event.inputs.SNAPSHOT != 'true' }} - runs-on: macos-latest + runs-on: ubuntu-latest strategy: fail-fast: false matrix: @@ -89,7 +89,13 @@ jobs: - name: set up JDK 11 uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 11 + - name: Enable KVM + run: | + echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules + sudo udevadm control --reload-rules + sudo udevadm trigger --name-match=kvm + - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Gradle cache @@ -114,6 +120,7 @@ jobs: uses: reactivecircus/android-emulator-runner@v2 with: api-level: ${{ matrix.api-level }} + # arch: arm64-v8a # Specify ARM architecture force-avd-creation: false emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none disable-animations: false diff --git a/README.md b/README.md index 6dfb015f..ea6e1c8b 100644 --- a/README.md +++ b/README.md @@ -151,4 +151,4 @@ License (Public Domain): [https://github.com/noveogroup/android-logger/blob/mast - Ruby - https://github.com/optimizely/ruby-sdk -- Swift - https://github.com/optimizely/swift-sdk +- Swift - https://github.com/optimizely/swift-sdk \ No newline at end of file