Skip to content

retzero/gbs-build-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published