SRGSSR / pillarbox-android

The modern SRG SSR Pillarbox player targeting Android platforms
https://android.pillarbox.ch/api
MIT License
13 stars 1 forks source link

Investigate support for `ubuntu-24.04` runner #747

Closed MGaetan89 closed 2 weeks ago

MGaetan89 commented 2 weeks ago

As it can be seen here, the Android Tests step of our build does not work with the ubuntu-24.04 runner:

# From: Run Android Tests > Launch Emulator
sh to create a custom hardware profile? [no] [command]/usr/bin/sh -c \printf 'hw.cpu.ncore=2
' >> /home/runner/.android/avd/test.avd/config.ini
/usr/bin/sh: 1: cannot create /home/runner/.android/avd/test.avd/config.ini: Directory nonexistent

Switching back to ubuntu-22.04 works as expected.

We should compare the changes between ubuntu-22.04 and ubuntu-24.04 to see if there is something to modify on our side, or if it is a regression in the runner image.

Acceptance criteria

MGaetan89 commented 2 weeks ago

It looks like the problem was coming from the reactivecircus/android-emulator-runner action, see https://github.com/ReactiveCircus/android-emulator-runner/issues/400. It has been fixed in https://github.com/ReactiveCircus/android-emulator-runner/releases/tag/v2.33.0