-
Notifications
You must be signed in to change notification settings - Fork 157
50 lines (45 loc) · 1.13 KB
/
run-onert-gbs-build.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
40
41
42
43
44
45
46
47
48
49
50
name: Run ONERT Tizen GBS Build
on:
pull_request:
branches:
- master
- release/*
paths:
- '.github/workflows/run-onert-gbs-build.yml'
- 'nncc'
- 'nnfw'
- 'compiler/luci/**'
- 'compiler/loco/**'
- 'compiler/logo/**'
- 'compute/**'
- 'infra/**'
- '!infra/debian/**'
- '!infra/docker/**'
- '!infra/doxygen/**'
- '!infra/git-hooks/**'
- '!infra/nncc/**'
- '!infra/onert-micro/**'
- '!infra/packaging/**'
- '!infra/scripts/**'
- 'runtime/**'
- 'tests/**'
- '!**.md'
defaults:
run:
shell: bash
jobs:
build:
runs-on: ubuntu-22.04
container:
image: ubuntu:22.04
options: --privileged
steps:
- name: Install GBS
run: |
echo 'deb [trusted=yes] http://download.tizen.org/tools/latest-release/Ubuntu_22.04/ /' | cat >> /etc/apt/sources.list
apt-get update && apt-get -qqy install gbs
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: |
gbs -c infra/nnfw/config/gbs.conf build -A armv7l --profile=profile.tizen_8