LinuxCommandLibrary

pio-ci

runs continuous integration builds for PlatformIO projects

TLDR

Build library in CI

$ pio ci --lib [.] --board [uno] [examples/Blink]
copy
Build with multiple boards
$ pio ci --board [uno] --board [esp32dev] [src/]
copy
Build with project config
$ pio ci --project-conf [platformio.ini] [src/]
copy

SYNOPSIS

pio ci [options] source...

DESCRIPTION

pio ci runs continuous integration builds for PlatformIO projects. Builds source files against specified boards without requiring a project structure. Used in CI/CD pipelines.

PARAMETERS

--lib path

Library path to include.
--board id
Target board.
--project-conf file
Use existing platformio.ini.
--keep-build-dir
Don't delete build directory.
-O option
Project option.

SEE ALSO

pio-run(1), pio-test(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community