Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/cli/build-and-deploy-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ viam module upload --version=1.0.0 --platform=linux/arm64 dist/archive-arm64.tar

For CI/CD workflows, use cloud builds to compile your module on Viam's build infrastructure.

{{% alert title="C++ build environment" color="note" %}}
On Linux, cloud builds compile C++ modules in a Debian-based environment, the same one that builds the Viam {{< glossary_tooltip term_id="rdk" text="RDK" >}}.
To match this environment locally and add any libraries your module needs, install build dependencies with `apt-get` in your module's setup step.
The [C++ example module](https://github.com/viamrobotics/module-example-cpp) follows this pattern in its `apt-setup.sh` script.
{{% /alert %}}

Start a cloud build:

```sh {class="command-line" data-prompt="$"}
Expand Down
Loading