Skip to content

Adding windows github action #485

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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

knmcguire
Copy link

@knmcguire knmcguire commented May 25, 2025

This PR adds a GitHub action which:

  • Installs ROS2 windows binary with new pixi installation
  • Builds the current ros2_rust with added modules with visual studio 2022 (with action msvc-dev-cmd)
  • Runs minimal examples and cargo test

This is for windows-server 2022 (currently latest) and ROS2 rolling nightly binaries

I would wait a bit more before adding instructions for the windows install as there are more changing upcoming for the installation instructions, but luckily it wasn't much. I tried to add those extra steps in 'Get prebuild ROS files and unzip' and 'Build the rust package'. Also currently, the binaries of windows ROS2 install are hardcoded that they need to be installed in C:\pixi_ws but that will soon change as well (see this issue)

Fixes #110

@knmcguire
Copy link
Author

knmcguire commented May 25, 2025

hmm... I see that something happened with the backtrace. that was the isssue why I had to update the rust version but it is supposed to work on 1.75? the windows action builds but that is because it updates it to 1.83 (but that's not the version in the original pixi.toml)

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.

Add Windows CI jobs
1 participant