e4ca30e4f098af722e8d30ed5a3348e2c11b66fd
[platform/upstream/nnstreamer.git] / .github / workflows / gbs_x64.yml
1 name: GBS Tizen build for x64 from Ubuntu
2
3 on:
4   push:
5     branches: [ main ]
6   pull_request:
7     branches: [ main ]
8
9 jobs:
10   build:
11
12     runs-on: ubuntu-20.04
13
14     steps:
15     - uses: actions/checkout@v3
16     - uses: actions/setup-python@v1
17     - name: prepare deb sources for GBS
18       run: echo "deb [trusted=yes] http://download.tizen.org/tools/latest-release/Ubuntu_20.04/ /" | sudo tee /etc/apt/sources.list.d/tizen.list
19     - name: install GBS
20       run: sudo apt-get update && sudo apt-get install -y gbs
21     - name: configure GBS
22       run: cp .github/workflows/tizen.gbs.conf ~/.gbs.conf
23     - name: run GBS
24       run: gbs build
25     - name: get nntrainer
26       uses: actions/checkout@v3
27       with:
28         repository: nnstreamer/nntrainer
29         path: nntrainer
30     - name: run nntrainer GBS build
31       run: pushd nntrainer && gbs build --define "unit_test 1" && popd