Skip to content

Commit

Permalink
test(ubuntu): work around upstream emulator runner issue
Browse files Browse the repository at this point in the history
ubuntu-latest == 24 means that command line tools have been updated
a bit, enough to have a "latest" symlink in place on the image, but
not enough to be actually current

This fools the emulator runner though, and it doesn't update the command
line tools because it sees "latest" and thinks that's good enough

So just delete the command line tools completely and let emulator runner
reinstall fresh
  • Loading branch information
mikehardy committed Oct 10, 2024
1 parent 13f8513 commit efc32cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-quick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
- name: Ubuntu setup
# We get KVM set up on Ubuntu as we run the emulator there (only platform with nested virt)
# We also install some system software needed for the build on ubuntu
# We also clear out the command-line tools, the emulator runner will reinstall, but latest version
if: contains(matrix.os, 'ubuntu')
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
Expand Down Expand Up @@ -137,7 +138,7 @@ jobs:
arguments: test rsdroid:lint --daemon

- name: Run tests (Emulator)
uses: reactivecircus/android-emulator-runner@v2
uses: mikehardy/android-emulator-runner@ubuntu-24-releasev2
if: contains(matrix.os, 'ubuntu')
timeout-minutes: 30
with:
Expand Down

0 comments on commit efc32cc

Please sign in to comment.