Page MenuHomePhabricator

[Android] Remove 32-bit x86 support
ClosedPublic

Authored by atul on Jul 31 2023, 4:02 PM.
Tags
None
Referenced Files
F2167363: D8689.diff
Tue, Jul 2, 6:11 AM
Unknown Object (File)
Mon, Jul 1, 11:39 AM
Unknown Object (File)
Mon, Jul 1, 6:36 AM
Unknown Object (File)
Fri, Jun 28, 11:40 AM
Unknown Object (File)
Mon, Jun 24, 11:36 AM
Unknown Object (File)
Sun, Jun 16, 4:35 AM
Unknown Object (File)
Fri, Jun 14, 7:10 AM
Unknown Object (File)
Sat, Jun 8, 10:11 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.