Skip to content

Commit

Permalink
[ CI ] modify android build test in action
Browse files Browse the repository at this point in the history
This pr fixs the duplicated build in android build action.

**Self evaluation:**
1. Build test:	 [X]Passed [ ]Failed [ ]Skipped
2. Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <[email protected]>
  • Loading branch information
jijoongmoon committed Jul 5, 2024
1 parent 0d0ab71 commit eb75db9
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,12 @@ jobs:
echo "::group::Run package_android.sh"
./tools/package_android.sh
echo "::endgroup::"
echo "::group::Meson build"
meson build -Dplatform=android
ninja -C build
echo "::endgroup::"
echo "::group::NDK build"
pushd build/jni
ndk-build NDK_PROJECT_PATH=./ APP_BUILD_SCRIPT=./Android.mk NDK_APPLICATION_MK=./Application.mk
popd
echo "::endgroup::"
- name: Install built binaries for application build
if: env.rebuild == '1'
run: |
echo "Installing build bianries for application build"
mkdir -p libs/arm64-v8a
cp -R build/jni/libs/arm64-v8a/* libs/arm64-v8a
cp -R builddir/android_build_result/lib/arm64-v8a/* libs/arm64-v8a
- name: Android NNTrainer Application Build
if: env.rebuild == '1'
run: |
Expand Down

0 comments on commit eb75db9

Please sign in to comment.