Skip to content
aperture

GitHub Action

Build Tizen packages with gbs

v1 Latest version

Build Tizen packages with gbs

aperture

Build Tizen packages with gbs

Builds Tizen packages

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Build Tizen packages with gbs

uses: retzero/gbs-build-action@v1

Learn more about this action in retzero/gbs-build-action

Choose a version

Tizen GBS builder

Tizen GBS build tool.

Options

Name Description Mandatory Type Default
gbs_conf Configuration file (gbs.conf) location O String
debug debug output Boolean false
verbose verbose output Boolean false
profile Profile to be used for build (string from gbs.conf)
architecture Target architecture to build. O
define_macro Macros String ""
build_conf Project build configuration file String ""
baselibs Create -32bit/-64bit/-x86 rpms for other architectures String ""
clean Delete old build root before initialization Boolean false
clean_once Clean the build environment only once Boolean false
fail_fast Stop build if one of packages fails Boolean false
full_build Download all the package sources except local package Boolean false
deps_build Download packages depends on local package Boolean false
threads Number of threads to build multiple packages in parallel Integer 0
output_dir Output directory String ""
package_list Directory list of packages to build String ""

Example

Build basics

 steps:
    steps:
    - uses: actions/checkout@v2

    - name: Run build
      uses: retzero/gbs-build-action@master
      with:  
        gbs_conf: ".github/workflows/gbs.conf"
        profile: "tizen"
        architecture: "armv7l"

Storing build outputs

    - name: Run build
      uses: retzero/gbs-build-action@master
      with:  
        gbs_conf: ".github/workflows/gbs.conf"
        profile: "tizen"
        architecture: "armv7l"
        output_dir: ".gbs_build_output"

    - name: Store artifacts
      uses: actions/upload-artifact@v2
      with:
        name: GBS build output
        path: ${{ github.workspace }}/.gbs_build_output/

Multiple packages

    - name: Run build
      uses: retzero/gbs-build-action@master
      with:  
        gbs_conf: ".github/workflows/gbs.conf"
        profile: "tizen"
        architecture: "armv7l"
        package_list: "simple-maps ui-gadget-1"

Example gbs.conf

[general]
profile = profile.tizen

[profile.tizen]
repos = repo.tizen_base_latest,repo.tizen_latest

[repo.tizen_latest]
url = http://download.tizen.org/snapshots/tizen/unified/latest/repos/standard/packages/

[repo.tizen_base_latest]
url = http://download.tizen.org/snapshots/tizen/base/latest/repos/standard/packages/