Skip to content

Commit

Permalink
[github] Introduce android build test
Browse files Browse the repository at this point in the history
This commit introduces github workflow for runtime android build.

ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh <[email protected]>
  • Loading branch information
hseok-oh committed Jul 29, 2024
1 parent 18928b6 commit 3481ac4
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/run-onert-android-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Run ONERT Android Release Build

on:
pull_request:
branches:
- master
- release/*
paths:
- '.github/workflows/run-onert-android-build.yml'
- 'nnas'
- 'nnfw'
- 'Makefile.template'
- 'compute/**'
- 'infra/**'
- 'nnpackage/**'
- 'runtime/**'
- 'tests/**'
paths-ignore:
- '**.md'
- 'infra/debian/**'
- 'infra/docker/**'
- 'infra/doxygen/**''
- 'infra/git-hooks/**'
- 'infra/nncc/**'
- 'infra/onert-micro/**'
- 'infra/packaging/**'
- 'nnpackage/spec/**'

defaults:
run:
shell: bash

jobs:
build:
runs-on: ubuntu-22.04
env:
TARGET_ARCH: aarch64
TARGET_OS: android
CROSS_BUILD: 1
BUILD_TYPE: release
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build onert
run: |
# ANDROID_NDK_LATEST_HOME: 26.3.11579264
export NDK_DIR=${ANDROID_NDK_LATEST_HOME}
make -f Makefile.template

0 comments on commit 3481ac4

Please sign in to comment.