Categorygithub.com/edgetx/cloudbuild
module
0.0.10
Repository: https://github.com/edgetx/cloudbuild.git
Documentation: pkg.go.dev

# README

EdgeTX CloudBuild

EdgeTX CloudBuild is an open-source EdgeTX firmware build service

CLI tool

It is possible to use this tool from command line as well.

Prerequisites

Unix based operating system, git & podman installed:

Setup

To use binary from edgetx-cloudbuild/bin directory run this command:

make edgetx-build

To have cli tool edgetx-build available on your $PATH run this:

make edgetx-build-install

Example

Using build flags json file

go run cmd/edgetx-build/main.go -commit fac0eed66c2e7c4eb3d4602dd52b30564c4a4a16 -build-flags-file ./tx16s-internal-elrs.json

Where ./tx16s-internal-elrs.json is in this format:

[
    {
        "key": "DISABLE_COMPANION",
        "value": "YES"
    },
    {
        "key": "CMAKE_BUILD_TYPE",
        "value": "Release"
    },
    {
        "key": "TRACE_SIMPGMSPACE",
        "value": "NO"
    },
    {
        "key": "VERBOSE_CMAKELISTS",
        "value": "YES"
    },
    {
        "key": "CMAKE_RULE_MESSAGES",
        "value": "OFF"
    },
    {
        "key": "PCB",
        "value": "X10"
    },
    {
        "key": "PCBREV",
        "value": "TX16S"
    },
    {
        "key": "INTERNAL_MODULE_MULTI",
        "value": "ON"
    }
]

Using inline build flags

go run cmd/edgetx-build/main.go -commit 55b3f91d0cf1d0130371343aef458bee1bfccbdf -build-flags "-DDISABLE_COMPANION=YES -DCMAKE_BUILD_TYPE=Release -DTRACE_SIMPGMSPACE=NO -DVERBOSE_CMAKELISTS=YES -DCMAKE_RULE_MESSAGES=OFF -DPCB=X10 -DPCBREV=TX16S -DINTERNAL_MODULE_MULTI=ON"

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author