Skip to content

Commit

Permalink
Use ubuntu-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
mlykotom committed Jun 17, 2024
1 parent ecbf71c commit c8ee8e6
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/AdvancedStateAndSideEffectsCodelab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,21 @@ jobs:

test:
needs: build
runs-on: macos-14
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
api-level: [26, 29]

steps:
# https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners
- 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
ls /dev/kvm
- name: Checkout
uses: actions/checkout@v4

Expand Down Expand Up @@ -96,7 +104,7 @@ jobs:
with:
api-level: ${{ matrix.api-level }}
target: google_apis
arch: arm64-v8a
arch: x86
disable-animations: true
script: ./gradlew connectedCheck --stacktrace
working-directory: ${{ env.SAMPLE_PATH }}
Expand Down

0 comments on commit c8ee8e6

Please sign in to comment.