Skip to content

Conversation

BujSet
Copy link
Contributor

@BujSet BujSet commented Jul 16, 2025

Summary

To officially support Zephyr and ensure CI tests code paths in the executorch repo that target builds for Zephyr, the environment that the CI runs in must have all the necessary packages and tools to build a zephyr project. This PR starts the process for supporting a new docker image that will have everything necessary to build executorch zephyr projects. This PR is prompted by the discussion on #12348. Eventually, CI tests will use the added Zephyr PAL for more in depth CI tests.

Test plan

Currently, the zephyr cmake preset relies on the arm-sdk docker image. This change adds a new zephyr-sdk image, and the build-preset test has been updated to use this new image.

cc @larryliu0820 @jathu

Copy link

pytorch-bot bot commented Jul 16, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/12543

Note: Links to docs will display an error until the docs builds have been completed.

❌ 136 Cancelled Jobs

As of commit c6fcc16 with merge base 67154d0 (image):

CANCELLED JOBS - The following jobs were cancelled. Please retry:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 16, 2025
@BujSet BujSet self-assigned this Jul 16, 2025
@BujSet BujSet added ciflow/periodic module: ci Issues related to continuous integration module: build/install Issues related to the cmake and buck2 builds, and to installing ExecuTorch ciflow/trunk ciflow/binaries module: arm Issues related to arm backend labels Jul 16, 2025
@BujSet
Copy link
Contributor Author

BujSet commented Jul 16, 2025

@pytorchbot label "release notes: none"

@pytorch-bot pytorch-bot bot added the release notes: none Do not include this in the release notes label Jul 16, 2025
@BujSet BujSet force-pushed the zephyr_docker_image branch from 2c31286 to 8766230 Compare July 16, 2025 16:23
@BujSet BujSet force-pushed the zephyr_docker_image branch 2 times, most recently from ca077f5 to 14d7fbd Compare July 17, 2025 20:30
@BujSet BujSet marked this pull request as ready for review July 17, 2025 20:33
@BujSet BujSet requested a review from jathu July 17, 2025 20:41
@BujSet BujSet force-pushed the zephyr_docker_image branch from 14d7fbd to c6fcc16 Compare July 21, 2025 15:57
@BujSet BujSet merged commit 6c2b94e into pytorch:main Jul 21, 2025
131 of 270 checks passed
@BujSet BujSet deleted the zephyr_docker_image branch July 21, 2025 21:01
Conarnar pushed a commit to Conarnar/executorch that referenced this pull request Jul 25, 2025
### Summary
To officially support Zephyr and ensure CI tests code paths in the
executorch repo that target builds for Zephyr, the environment that the
CI runs in must have all the necessary packages and tools to build a
zephyr project. This PR starts the process for supporting a new docker
image that will have everything necessary to build executorch zephyr
projects. This PR is prompted by the discussion on pytorch#12348. Eventually,
CI tests will use the added Zephyr PAL for more in depth CI tests.

### Test plan
Currently, the zephyr cmake preset relies on the `arm-sdk` docker image.
This change adds a new `zephyr-sdk` image, and the `build-preset` test
has been updated to use this new image.


cc @larryliu0820 @jathu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/binaries ciflow/periodic ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. module: arm Issues related to arm backend module: build/install Issues related to the cmake and buck2 builds, and to installing ExecuTorch module: ci Issues related to continuous integration release notes: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants