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

Build SDK for the local hardware #4021

Merged
merged 2 commits into from
Dec 12, 2024
Merged

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Dec 11, 2024

It's likely that you want to build the SDK to run on the emulator on your
machine, so let's default to that, rather than aarch64.

Signed-off-by: Richard van der Hoff <[email protected]>

Checklist

  • Changes have been tested on an Android device or Android emulator with API 23
  • UI change has been tested on both light and dark themes
  • Accessibility has been taken into account. See https://github.com/element-hq/element-x-android/blob/develop/CONTRIBUTING.md#accessibility
  • Pull request is based on the develop branch
  • Pull request title will be used in the release note, it clearly define what will change for the user
  • Pull request includes screenshots or videos if containing UI changes
  • Pull request includes a sign off
  • You've made a self review of your PR

It's likely that you want to build the SDK to run on the emulator on your
machine, so let's default to that, rather than aarch64.
@richvdh richvdh requested a review from a team as a code owner December 11, 2024 18:07
@richvdh richvdh requested review from ganfra and removed request for a team December 11, 2024 18:07
@richvdh richvdh added the PR-Doc For updates to the documentation label Dec 11, 2024
Copy link
Contributor

github-actions bot commented Dec 11, 2024

📱 Scan the QR code below to install the build (arm64 only) for this PR.
QR code
If you can't scan the QR code you can install the build via this link: https://i.diawi.com/tyBFmi

Copy link

codecov bot commented Dec 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.01%. Comparing base (5515c93) to head (56a5f55).
Report is 30 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #4021   +/-   ##
========================================
  Coverage    83.01%   83.01%           
========================================
  Files         1845     1845           
  Lines        47699    47699           
  Branches      5632     5632           
========================================
  Hits         39595    39595           
  Misses        6108     6108           
  Partials      1996     1996           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@bmarty bmarty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@@ -59,6 +59,13 @@ buildApp=${buildApp:-no}

cd "${elementPwd}"

default_arch="$(uname -m)-linux-android"
# On ARM MacOS, `uname -m` returns arm64, but the toolchain is called aarch64
default_arch="${default_arch/arm64/aarch64}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL about this replacement facilities.

@bmarty bmarty merged commit 25c95df into develop Dec 12, 2024
26 checks passed
@bmarty bmarty deleted the rav/build_sdk_for_local_machine branch December 12, 2024 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-Doc For updates to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants