[github] Introduce gbs build test #8
Workflow file for this run
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: 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 && DEBIAN_FRONTEND=noninteractive 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 |