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

[ CI ] modify android build test in action #2669

Merged
merged 1 commit into from
Jul 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading