-
Notifications
You must be signed in to change notification settings - Fork 3
39 lines (37 loc) · 1.03 KB
/
android.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Android Build Test
on:
schedule:
# 05:00 AM (KST) Mon-Fri
- cron: "00 20 * * 0-4"
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: -${{ github.event.pull_request.commits }}
- name: Set up android build
uses: ./.github/actions/set-up
- name: Run build
run: ./gradlew build
- name: Upload test reports
if: failure()
uses: actions/upload-artifact@v4
with:
name: reports
path: ml_inference_offloading/build/reports
- name: Upload nnstreamer-api aar
uses: actions/upload-artifact@v4
with:
name: nnstreamer-api-aar
path: nnstreamer-api/build/outputs/aar/*
- name: Upload ml_inference_offloading apk
uses: actions/upload-artifact@v4
with:
name: ml-inference-offloading-apk
path: ml_inference_offloading/build/outputs/apk/*/*.apk