From 8d4ffe2925fa683e4cceeec0a53fb4d331dd83dc 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 | 47 +++++++++++++++++++++++ 1 file changed, 47 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..0f008c104a7 --- /dev/null +++ b/.github/workflows/run-onert-gbs-build.yml @@ -0,0 +1,47 @@ +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 + steps: + - name: Install GBS + run: | + echo 'deb [trusted=yes] http://download.tizen.org/tools/latest-release/Ubuntu_22.04/ /' | sudo cat >> /etc/apt/sources.list + sudo apt-get update && sudo 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