[action] Gbs build with `_skip_debug_rpm` and `--skip-srcrpm`
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Thu, 2 Nov 2023 01:20:41 +0000 (10:20 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Thu, 2 Nov 2023 03:28:04 +0000 (12:28 +0900)
- Let gbs build do not make debug rpms and skip srcrpm
- This will save some seconds..

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
.github/workflows/gbs_x64.yml

index f25c1c8..adf0f8c 100644 (file)
@@ -31,11 +31,11 @@ jobs:
         path: ~/GBS-ROOT/local/cache
         key: ${{ steps.make-key.outputs.cache_key }}
     - name: run GBS
-      run: gbs build
+      run: gbs build --skip-srcrpm --define "_skip_debug_rpm 1"
     - name: get nntrainer
       uses: actions/checkout@v3
       with:
         repository: nnstreamer/nntrainer
         path: nntrainer
     - name: run nntrainer GBS build
-      run: pushd nntrainer && gbs build --define "unit_test 1" && popd
+      run: pushd nntrainer && gbs build --skip-srcrpm --define "unit_test 1" --define "_skip_debug_rpm 1" && popd