From: MyungJoo Ham Date: Mon, 22 Aug 2022 08:31:48 +0000 (+0900) Subject: github-action: integration test w/ nnstreamer X-Git-Tag: submit/tizen/20220823.135427~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0f0d9bfab9105875fd6b7428d1f7e85d7ab43f34;p=platform%2Fupstream%2Fnnstreamer-edge.git github-action: integration test w/ nnstreamer Build & run test cases of nnstreamer to test the integrity between nnstreamer-edge and nnstreamer. Signed-off-by: MyungJoo Ham --- diff --git a/.github/workflows/tizen.gbs.conf b/.github/workflows/tizen.gbs.conf new file mode 100644 index 0000000..e1bbf92 --- /dev/null +++ b/.github/workflows/tizen.gbs.conf @@ -0,0 +1,21 @@ +[general] +profile = profile.tizen +tmpdir = /var/tmp +packaging_branch = tizen +workdir = . + +[profile.tizen] +url = https://api.tizen.org +obs = obs.tizen + +repos = repo.base, repo.unified +buildroot = ~/GBS-ROOT/ + +[obs.tizen] +url = https://api.tizen.org + +[repo.base] +url = http://download.tizen.org/snapshots/tizen/base/latest/repos/standard/packages/ + +[repo.unified] +url = https://download.tizen.org/snapshots/tizen/unified/latest/repos/standard/packages/ diff --git a/.github/workflows/tizen_integration_test.yml b/.github/workflows/tizen_integration_test.yml new file mode 100644 index 0000000..608d310 --- /dev/null +++ b/.github/workflows/tizen_integration_test.yml @@ -0,0 +1,29 @@ +name: Integration test on GBS Tizen/x64 from Ubuntu + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v1 + - name: prepare deb sources for GBS + run: echo "deb [trusted=yes] http://download.tizen.org/tools/latest-release/Ubuntu_20.04/ /" | sudo tee /etc/apt/sources.list.d/tizen.list + - name: install GBS + run: sudo apt-get update && sudo apt-get install -y gbs + - name: configure GBS + run: cp .github/workflows/tizen.gbs.conf ~/.gbs.conf + - name: run GBS + run: gbs build + - name: get nnstreamer-main + run: git clone https://github.com/nnstreamer/nnstreamer.git + - name: run GBS on nnstreamer with unit test + run: pushd nnstreamer && gbs build --define "unit_test 1" && popd +## @todo run nnstreamer-edge related test cases only