Skip to content

Commit 0a7a7bc

Browse files
committed
[Build/Android] set option for ml-service
Update git-action for android build, enable ml-service and other options. Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
1 parent 89735ae commit 0a7a7bc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/actions/android-build/action.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ runs:
4747
with:
4848
repository: nnstreamer/nnstreamer-android-resource
4949
path: nnstreamer-android-resource
50+
- name: Get deviceMLOps.MLAgent
51+
uses: actions/checkout@v4
52+
with:
53+
repository: nnstreamer/deviceMLOps.MLAgent
54+
path: deviceMLOps.MLAgent
5055
- name: NDK build
5156
id: ndk-build
5257
run: |
@@ -55,9 +60,10 @@ runs:
5560
export NNSTREAMER_ROOT=${{ github.workspace }}/nnstreamer
5661
export NNSTREAMER_EDGE_ROOT=${{ github.workspace }}/nnstreamer-edge
5762
export NNSTREAMER_ANDROID_RESOURCE=${{ github.workspace }}/nnstreamer-android-resource
63+
export MLOPS_AGENT_ROOT=${{ github.workspace }}/deviceMLOps.MLAgent
5864
export ML_API_ROOT=${{ github.workspace }}
5965
if [ $TARGET_ABI == 'arm64-v8a' ]; then
60-
bash ${{ github.workspace }}/java/build-nnstreamer-android.sh --target_abi=$TARGET_ABI --enable_nnfw=yes
66+
bash ${{ github.workspace }}/java/build-nnstreamer-android.sh --target_abi=$TARGET_ABI --enable_nnfw=yes --enable_mqtt=yes --enable_ml_offloading=yes --enable_ml_service=yes
6167
elif [ $TARGET_ABI == 'x86_64' ]; then
6268
bash ${{ github.workspace }}/java/build-nnstreamer-android.sh --target_abi=$TARGET_ABI --enable_nnfw=no
6369
else

0 commit comments

Comments
 (0)