Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI by using separate action to install PlatformIO environment #73

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

atticusrussell
Copy link
Contributor

  • Use action from micro_ros_platformio to install PlatformIO in workflow runner.

  • Removes hacky and problematic workarounds from workflow (manually messing with .platformio and penv, python install).

Fixes #72 Rolling firmware failing to build in CI when installing micro_ros_platformio dependency.

I traced the issue back to micro-ROS/micro_ros_platformio#108 in that project.

I looked at the way micro_ros_platformio handles CI, and saw that they use a separate action to install PlatformIO on the CI runners. I copied this action into this repository and changed the workflow to use it. This fixed the CI build failure for Rolling, sped up the build time, and simplified the workflow structure.

I know the following command will fail, but @grassjelly not sure how else to signal backport intent.
@mergify backport humble galactic foxy

*  Use action from [micro_ros_platformio](https://github.com/micro-ROS/micro_ros_platformio/tree/main) to install PlatformIO in workflow runner.

* Removes hacky and problematic  workarounds from workflow (manually messing with `.platformio` and `penv`, python install).
@grassjelly grassjelly merged commit 09ac777 into linorobot:rolling Nov 13, 2023
1 check passed
@grassjelly
Copy link
Member

@mergify backport humble galactic foxy

Copy link
Contributor

mergify bot commented Nov 13, 2023

backport humble galactic foxy

✅ Backports have been created

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.

Rolling firmware build failing in CI
2 participants