Skip to content

Commit

Permalink
ci: use ubuntu kvm instead of macos
Browse files Browse the repository at this point in the history
  • Loading branch information
ujizin committed Sep 8, 2024
1 parent 5502c9a commit b374dc4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/android_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
test:
runs-on: macos-13
runs-on: ubuntu-latest
strategy:
matrix:
api-level: [21, 26, 29]
Expand All @@ -20,7 +20,7 @@ jobs:
arch: 'x86_64'
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: set up JDK 17
uses: actions/setup-java@v3
Expand All @@ -31,8 +31,11 @@ jobs:
- name: make gradlew executable
run: chmod +x ./gradlew

- name: gradle cache
uses: gradle/gradle-build-action@v2
- name: Enable KVM group perms
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: run android tests
uses: reactivecircus/android-emulator-runner@v2
Expand Down

0 comments on commit b374dc4

Please sign in to comment.