blob: c4b8efeb0c2b97d6a7981f0c244df9e5e060c1bb [file] [log] [blame]
# Builds the TFLite Java Bindings Android Library using the gradle-android
# Docker image.
name: Build TFLite Android Library
on:
workflow_dispatch:
jobs:
build_android_with_docker:
runs-on: ubuntu-latest
env:
ANDROID_CONTAINER: "gcr.io/iree-oss/gradle-android@sha256:61e55a46d58b881a22c6ce9b7e8186dbd362a0ebc9ebe1a0284f55cd6212bb18"
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Execute Android Build
run: |
docker run --rm \
-w=/work \
-v $PWD:/work \
"${ANDROID_CONTAINER}" \
bash -c build_tools/gradle/build_tflite_android_library.sh
- uses: actions/upload-artifact@v2
with:
path: ./bindings/tflite/java/build/outputs/aar/*.aar
retention-days: 1