Add workflow and successful build

ssplit-cpp modified to get cross compiled android on GitHub CI working.
This commit is contained in:
Jerin Philip 2022-06-09 16:48:05 +00:00
parent 573b842211
commit 6f82203e43
2 changed files with 5 additions and 4 deletions

View File

@ -68,14 +68,14 @@ jobs:
ccache -s # Print current cache stats
ccache -z # Zero cache entry
- name: Generate buildfiles for marian on android via cmake
- name: Generate buildfiles for bergamot-translator on android via cmake
run: |-
mkdir -p build
cd build
NDK=${{ env.ndk }}
ABI=${{ env.abi }}
MINSDK_VERSION=${{ env.minsdk_version }}
ANDROID_PLATFORM=${{ env.android_platform }}
ANDROID_PLATFORM=android-${{ env.android_platform }}
OTHER_ANDROID_ARGS=(
-DANDROID_ARM_NEON=TRUE
)
@ -88,6 +88,7 @@ jobs:
-DTHREADS_PREFER_PTHREAD_FLAG=ON
-DBUILD_ARCH=armv8-a
# -DCOMPILE_WITHOUT_EXCEPTIONS=on # Apparently this can reduce the binary size, let's see.
-DSSPLIT_USE_INTERNAL_PCRE2=ON
)
# Additionally list variables finally configured.
cmake -L \
@ -104,7 +105,7 @@ jobs:
..
- name : Build marian for android
- name : Build bergamot-translator for android
working-directory: build
run: |-
make -j2

@ -1 +1 @@
Subproject commit 49fde6df7ee9199aedb9571be800448192e3515c
Subproject commit 8bc2f35b64f1012b8c31087610ab42f67aa70154