Prefer to use NDK 25.2.9519653 when building tflite for android. #319
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ubuntu TF Lite Builder | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: [self-hosted, Linux, X64] | |
# one day time out | |
timeout-minutes: 1440 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check out submodules | |
run: git submodule update --init --recursive | |
- name: Build Emgu TF Lite native binary | |
run: ./platforms/ubuntu/20.04/bazel_build_tflite | |
- name: Build Emgu TF Lite package | |
run: ./platforms/ubuntu/20.04/build_emgutf package | |
- name: Create Emgu TF Lite artifact folder | |
run: mkdir -p emgutf_lite_packages | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: emgutflite-ubuntu-zip-package | |
path: ${{ github.workspace }}/b/*.zip | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: emgutflite-ubuntu-nuget-package | |
path: ${{ github.workspace }}/platforms/nuget/*.nupkg |