Build a PlatformIO project and specify a specific board (pio boards lists all of them)
pio ci
Build PlatformIO projects with an arbitrary source code structure.
This will create a new temporary project which the source code will be copied into.
More information: <https://docs.platformio.org/en/latest/core/userguide/cmd_ci.html>.