Граф коммитов

12 Коммитов

Автор SHA1 Сообщение Дата
Wenbing Li 01d3905801
fix the android packaging issue (#497) 2023-07-24 17:18:49 -07:00
Wenbing Li 62d8598b6b
Update whisper model test cases and e2e example (#496)
* Update whisper model test cases and e2e example

* fix unit test on windows

* more refinement

* utest fix
2023-07-21 15:27:02 -07:00
Wenbing Li 66be6bb640
Upgrade gradle wrapper to unblock android CI (#491)
* upgrade gradle wrapper to unblock android CI

* Revert "upgrade gradle wrapper to unblock android CI"

This reverts commit 4df4f253aa.

* set timeout of gradlew

* "re-update it"

* Update gradle-wrapper.properties

* using gradle 8.0.1

* reformat the files

* fix the build.gradle issue

* one more fixing

* delay gradle starts

* rerun the pipeline
2023-07-17 11:15:46 -07:00
Edward Chen a4b8dec288
Gradle wrapper security updates (#381)
* Add gradle-wrapper.jar checksum validation workflow.

* Add gradle wrapper distribution checksum values.
2023-03-16 11:06:00 -07:00
Edward Chen 63fe165ee8
Android package build updates (#344)
- Generate AAR with associated artifacts (javadoc.jar, sources.jar, pom).
- Fix JAR/AAR package descriptions.
- Remove `gradle -b build-android.gradle` invocation from CMake. This creates the AAR and it is not necessary to run it for each Android ABI build.
- Support building on Windows.
2023-01-13 14:06:00 -08:00
Scott McKay e3663fb110
Add build.py to make it easier for developers to build different variants (#318)
* Add python based build infrastructure to simplify developer builds for various platforms. Majority was copied from the ORT build script so usage is consistent with that.

Left the existing build.bat/build.sh but ideally the CI can be updated to use the new infrastructure so things are more consistent.

Updated gradle to 7.5.1 and Android gradle tools to 7.3.0.

Validated Windows and cross-compiling Android on Windows including builds with explicitly selected ops.
WASM and iOS builds aren't tested yet and might need minor tweaks.

* Update build.py to require Python 3.7, remove git submodule sync, reorder options.
* Use 'cmake -E remove' to remove file.
* Enable specifying the ORT version to fetch
* Add ability to enable Java bindings.


Co-authored-by: Wenbing Li <10278425+wenbingl@users.noreply.github.com>
Co-authored-by: edgchen1 <18449977+edgchen1@users.noreply.github.com>
2023-01-02 14:55:31 +10:00
Rachel Guo e0d48e255f
Add initial android packaging pipeline (#332)
* initial android packaging

* Update android_packaging.yml for Azure Pipelines

* update

* fix name

* fix

* remove popd

* move to .pipelines

* move app center running command

* update version suffix and package name

* minor update

* minor update

* update pom files

* add package op config and update

* update build variable format

* update

* enable selected op list

* update

* update selected ops

* use python 3.9 version

* modify enable option argument

* update isreleasebuild

* update isreleasebuild

* minor update about versions

* rm version.txt accidentally checkedin

* address pr comments

* update

* update

* debug trial run

* update build android gradle file version

* update get version number helper

* minor fix

* minor fix
2022-12-28 15:56:19 -08:00
Edward Chen 0169129b19
Add version.txt and derive CMake version variables from it. (#333) 2022-12-16 10:14:28 -08:00
Rachel Guo 7b7e2a75e7
Add app center test to android ci (#329)
* wip

* integrate app center test command to CI

* add app center cli install

* update ci test

* update based on new app

* minor update yaml file

* add new line at the end of file

* update app center token and comments
2022-12-15 18:52:42 -08:00
Wenbing Li 187411d5c9
Add an android test app for extensions AAR package in CI pipeline (#308)
* an android test app for extensions AAR package

* add the pipeline

* fxing the Android CI pipeline

* fix the build issus on macOS

* more fixings

* more fixings

* switch to jdk 11

* gradlew path issue

* update the command lines

* split the test task

* better name
2022-11-08 10:19:12 -08:00
Wenbing Li 379cf02d5c
Build multiple Android ABIs into one AAR package. (#302)
* support multiple ABIs in one AAR package.

* refine ndk version implementation

* fix ndk version issue

* comments

* typo
2022-10-11 14:53:22 -07:00
Wenbing Li 08659eae90
Initial Java API for the JAR package. (#292)
* more C++ code fixing and polish for release

* fixing for android build

* build flags for android release

* add missing exporting function

* imint

* first versoin

* more C++ code fixing and polish for release (#275)

* more C++ code fixing and polish for release

* fixing for android build

* build flags for android release

* add missing exporting function

* support build_id on Python package building (#281)

* support buildid in package building

* undo the change on build.sh

* build.sh issue on macos

* Add `$schema` to `cgmanifest.json` (#284)

Co-authored-by: Jamie Magee <jamie.magee@microsoft.com>

* test package with a simple java app

* demo app

* some fixing for windows platform

* refine the example app

* fix the missing symobls issue for Linux build

* fix the package package build issue

* typo

* a missing change

* fix PythonOp

* fix Android test issue

* one more Android change

* replace build flags in ci pipeline

* android AAR package build

* refine the code for android package

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Jamie Magee <jamie.magee@microsoft.com>
2022-10-04 16:22:28 -07:00