Skip to content

Add copilot-setup-steps.yml for Copilot coding agent environment#77

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-copilot-setup-steps-file
Draft

Add copilot-setup-steps.yml for Copilot coding agent environment#77
Copilot wants to merge 2 commits intomainfrom
copilot/add-copilot-setup-steps-file

Conversation

Copy link

Copilot AI commented Feb 27, 2026

Adds the required .github/workflows/copilot-setup-steps.yml so GitHub Copilot coding agent has a fully functional Zephyr RTOS development environment pre-provisioned before it starts working.

Dependencies installed

  • System packages: cmake, ninja-build, device-tree-compiler, gperf, ccache, dfu-util, perl, doxygen, graphviz, and supporting libs — mirrors what the existing checkpatch.yml and sedi_docs_update.yml workflows rely on
  • Python + west: Zephyr's meta-build tool installed via pip with $HOME/.local/bin added to PATH
  • Zephyr workspace: Full workspace initialized via west init (zephyrproject-rtos/zephyr main) + west update + Python requirements
  • Zephyr SDK: Downloaded to $HOME/zephyr-sdk at the version pinned by zephyr/SDK_VERSION; all toolchains installed (-t all)

Notes

  • Runs on ubuntu-22.04 consistent with existing CI workflows
  • SDK installed to user-writable $HOME/zephyr-sdk (no sudo required)
  • SDK_VERSION file existence is validated before download with an explicit error on failure
  • Workflow triggers on workflow_dispatch, push, and pull_request scoped to this file for easy iterative validation

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: kwd-doodling <66610658+kwd-doodling@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Copilot setup steps for development environment Add copilot-setup-steps.yml for Copilot coding agent environment Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants