From 21313d550aad71d242fff2ecf46e0b0f8541e6f3 Mon Sep 17 00:00:00 2001 From: linuxias Date: Tue, 27 Feb 2024 23:10:52 +0900 Subject: [PATCH] github-action/gbs: Build nnstreamer-edge based all architecture Current, build only x86-64 architecture. This patch is to support to build x86_64, i586, armv7l aarch64 architecture Signed-off-by: linuxias --- .github/workflows/tizen_integration_test.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tizen_integration_test.yml b/.github/workflows/tizen_integration_test.yml index 72830f0..1c6e87e 100644 --- a/.github/workflows/tizen_integration_test.yml +++ b/.github/workflows/tizen_integration_test.yml @@ -9,6 +9,14 @@ on: jobs: build: + strategy: + matrix: + include: + - aarch: "-A x86_64" + - aarch: "-A i586" + - aarch: "-A armv7l" + - aarch: "-A aarch64" + runs-on: ubuntu-20.04 steps: @@ -21,9 +29,12 @@ jobs: - name: configure GBS run: cp .github/workflows/tizen.gbs.conf ~/.gbs.conf - name: run GBS - run: gbs build + run: gbs build ${{ matrix.aarch }} - 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 "edge_test 1" && popd + run: | + pushd nnstreamer + gbs build ${{ matrix.aarch }} --define "edge_test 1" + popd ## @todo run nnstreamer-edge related test cases only