Skip to content

CI/CD Integration

SiliconRig plugs real hardware into your CI/CD pipeline: your build produces a firmware binary, a session flashes it to a physical board, and your job asserts on what the board actually does.

Pick your CI system:

  • GitHub Actions — the siliconrig/action@v1 composite action: flash, capture serial, assert.
  • GitLab CI — the ready-made .siliconrig-hil template or the Python SDK.

Other CI systems work too: anything that can run the CLI or the Python SDK can flash a board and read its serial output.

How it works

  1. Your CI pipeline builds the firmware as usual
  2. The action/template/SDK creates a session and flashes the binary to a real board
  3. Serial output is captured or your test suite runs against the live board
  4. The session ends automatically when the step completes, and the board is wiped for the next user
  5. CI reports pass/fail as normal