Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macos (Android) CI: Incorporate Android FTE #366

Merged
merged 21 commits into from Apr 29, 2023
Merged

Conversation

mribbons
Copy link
Contributor

Note that CI is currently failing due to a commonjs issue. This is proof that this CI setup does work.

Note that #354 should be merged first, and ASAP.

  • switch to using test-android-emulator
    This allows us to test outside CI more reliably, rather than relying
    on github actions

  • Implemented timeout / watchdog setup to handle app failures
    that aren't caught by main adb loop in poll-adb-logcat.sh

  • macos android ci: Don't use avd cache

    "The cache became corrupted"
    The cache doesn't seem any faster than just firing up a clean AVD image

  • fix jniLibs not building when flagRunUserBuildOnly set (CI wasn't testing this before, libsocket-runtime.so wasn't being deployed with the app)

  • implement app start timeout and error output to catch failed app starts, which in turn prevents CI hanging because it would never receive a signal from webview js

  • dont search /Applications for java, this is extremely slow under CI

  • require exact java version

android BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 64

  • only build x86_64 - performance

  • determine_cxx: fix CXX not persisted to .ssc.env

Drop out straight away when valid javac found
Not required, existing exports are added to search paths
in get_android_default_search_paths
Rather than automatically defaulting to it if no other java is found.
android BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 64
+ fix bad inline `; exit 1` calls, these don't work.
The cache became corrupted
The cache doesn't seem any faster than reactivecircus/android-emulator-runner@v2 by itself
This allows us to test outside CI more reliably, rather than relying
on github actions

Implemented timeout / watchdog setup to handle app failures
that aren't caught by main adb loop in poll-adb-logcat.sh
+ use swift shader option in CI
.github/workflows/ci.yml Show resolved Hide resolved
.github/workflows/ci.yml Outdated Show resolved Hide resolved
(Testing without empty variables)
@mribbons mribbons merged commit 7bb5b92 into master Apr 29, 2023
5 of 7 checks passed
@mribbons mribbons deleted the macos-android-ci-perf branch April 29, 2023 23:54
@mribbons mribbons restored the macos-android-ci-perf branch April 29, 2023 23:54
@mribbons mribbons deleted the macos-android-ci-perf branch May 2, 2023 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants