Page MenuHomePhabricator

[Android] Remove 32-bit x86 support
ClosedPublic

Authored by atul on Jul 31 2023, 4:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 9, 9:53 AM
Unknown Object (File)
Sat, Nov 9, 8:49 AM
Unknown Object (File)
Sat, Nov 9, 4:46 AM
Unknown Object (File)
Fri, Nov 8, 12:38 AM
Unknown Object (File)
Wed, Oct 23, 11:07 PM
Unknown Object (File)
Wed, Oct 23, 5:50 AM
Unknown Object (File)
Oct 4 2024, 6:19 AM
Unknown Object (File)
Oct 4 2024, 6:19 AM
Subscribers
None

Details

Summary

Context: https://linear.app/comm/issue/ENG-4349/github-ci-for-android-appears-to-have-a-disk-space-issue

There are exceptionally few 32-bit x86 devices. By removing support for this architecture we can reduce disk usage and "fix" the GH Actions Android workflow. (There aren't a ton of 64-bit x86 devices either, but it's important to support that architecture for those using Android Emulator on Intel dev machines)


Depends on D8688

Test Plan

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul published this revision for review.Jul 31 2023, 4:05 PM
atul added inline comments.
.github/workflows/android_ci.yml
23–27 ↗(On Diff #29370)

Based on reading of "Maximize build disk space" action docs, there are two "disks":

  • /
  • /mnt

and removing preinstalled software from / doesn't make a difference unless we:

  1. Concatenate the free space on / and /mnt (the temp disk) to an LVM volume group
  2. Create a swap partition and a build volume on that volume group
  3. Mount the build volume back to a given path (${GITHUB_WORKSPACE} by default)

So going ahead and removing this step to simplify workflow for now.

ashoat added inline comments.
.github/workflows/android_ci.yml
23–27 ↗(On Diff #29370)

Hmmm, does that not contradict what GitHub staff are saying on this issue?

This revision is now accepted and ready to land.Aug 1 2023, 5:29 AM
.github/workflows/android_ci.yml
23–27 ↗(On Diff #29370)

Yeah, that threw me off as well. My best guess is that the info in that comment is out-of-date?

23–27 ↗(On Diff #29370)

Hm, seemed to work for these people yesterday: https://github.com/hvgazula/build_docker/pull/2

This revision was automatically updated to reflect the committed changes.