Skip to content

Conversation

@ljk53
Copy link
Contributor

@ljk53 ljk53 commented Nov 22, 2019

Stack from ghstack:

Summary:
We already have CI jobs to build Android/iOS libraries, but there are
two issues:

  • It's no easy for people who are not regularly working on mobile to debug
    these CI errors as they need setup Android/iOS build environment;
  • It's hard to run cross-compiled mobile libraries as it requires
    emulator. It happened a couple times recently that it can build but fail
    to load and run a model with mobile build.

To address these problems, create this new CI job to build mobile
library with linux host toolchain so that we can build & test without
involving Android/iOS environment/simulator. Will add tests on top of it next.

Test Plan:

  • check the new CI job

Differential Revision: D18654074

Summary:
We already have CI jobs to build Android/iOS libraries, but there are
two issues:
- It's no easy for people who are not regularly working on mobile to debug
these CI errors as they need setup Android/iOS build environment;
- It's hard to run cross-compiled mobile libraries as it requires
emulator. It happened a couple times recently that it can build but fail
to load and run a model with mobile build.

To address these problems, create this new CI job to build mobile
library with linux host toolchain so that we can build & test without
involving Android/iOS environment/simulator. Will add tests on top of it next.

Test Plan:
- check the new CI job

[ghstack-poisoned]
Summary:
We already have CI jobs to build Android/iOS libraries, but there are
two issues:
- It's no easy for people who are not regularly working on mobile to debug
these CI errors as they need setup Android/iOS build environment;
- It's hard to run cross-compiled mobile libraries as it requires
emulator. It happened a couple times recently that it can build but fail
to load and run a model with mobile build.

To address these problems, create this new CI job to build mobile
library with linux host toolchain so that we can build & test without
involving Android/iOS environment/simulator. Will add tests on top of it next.

Test Plan:
- check the new CI job

Differential Revision: [D18654074](https://our.internmc.facebook.com/intern/diff/D18654074)

[ghstack-poisoned]
ljk53 added a commit that referenced this pull request Nov 22, 2019
Summary:
We already have CI jobs to build Android/iOS libraries, but there are
two issues:
- It's no easy for people who are not regularly working on mobile to debug
these CI errors as they need setup Android/iOS build environment;
- It's hard to run cross-compiled mobile libraries as it requires
emulator. It happened a couple times recently that it can build but fail
to load and run a model with mobile build.

To address these problems, create this new CI job to build mobile
library with linux host toolchain so that we can build & test without
involving Android/iOS environment/simulator. Will add tests on top of it next.

Test Plan:
- check the new CI job

ghstack-source-id: bcbecb5
Pull Request resolved: #30292
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.

3 participants