From 76fc9d623d3543ae6d7561fa1f4d2fa70dcde8f4 Mon Sep 17 00:00:00 2001 From: Hyeongseok Oh Date: Wed, 31 Jul 2024 11:50:40 +0900 Subject: [PATCH] [github] Introduce gbs build test This commit introduces github workflow for runtime gbs build. ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh --- .github/workflows/run-onert-gbs-build.yml | 50 +++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .github/workflows/run-onert-gbs-build.yml diff --git a/.github/workflows/run-onert-gbs-build.yml b/.github/workflows/run-onert-gbs-build.yml new file mode 100644 index 00000000000..07bda3127fb --- /dev/null +++ b/.github/workflows/run-onert-gbs-build.yml @@ -0,0 +1,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 && 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