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

Add windows to build matrix #317

Closed
wants to merge 4 commits into from

Conversation

piraka9011
Copy link
Contributor

@piraka9011 piraka9011 commented Mar 11, 2020

Add Windows to the build and test workflow.

Closes #316

Signed-off-by: Anas Abou Allaban aabouallaban@pm.me

Signed-off-by: Anas Abou Allaban <aabouallaban@pm.me>
@piraka9011
Copy link
Contributor Author

piraka9011 commented Mar 11, 2020

Windows build failing since there's a double repo pull somewhere:

colcon ERROR colcon build: Duplicate package names not supported:
- ros2bag:
    - d:\a\rosbag2\rosbag2\ros_ws\src\ros2\rosbag2\ros2bag
    - d:\a\rosbag2\rosbag2\ros_ws\src\rosbag2\ros2bag

It looks like this requires a custom ros2.repos file.

@zmichaels11
Copy link
Contributor

zmichaels11 commented Mar 11, 2020

Windows build failing since there's a double repo pull somewhere:

colcon ERROR colcon build: Duplicate package names not supported:
- ros2bag:
    - d:\a\rosbag2\rosbag2\ros_ws\src\ros2\rosbag2\ros2bag
    - d:\a\rosbag2\rosbag2\ros_ws\src\rosbag2\ros2bag

It looks like this requires a custom ros2.repos file.

That looks like it pulled in rosbag2 from the master ros2.repos file. Is this a bug in the action-ros-ci? I would think that it should filter out the current repo if it is found within the repos file.

Edit:
I looked into this a little more, action-ros-ci is functioning correctly; filtering out repos from the repos file should be out-of-scope for action-ros-ci. I think the proper long-term solution would be to create a step (maybe GitHub Action?) within the workflow that generates the ros2.repos file.

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>
@piraka9011
Copy link
Contributor Author

piraka9011 commented Mar 11, 2020

@zmichaels11 we can use the workflow suggested in the action itself here :)

# Run the generator and output the results to a file.
- run: |
    rosinstall_generator <package-name> --rosdistro <target-distro> \
    --deps-only --deps --upstream-development > /tmp/deps.repos

Also the repos pull failed b/c the repo is not checked out with the checkout action.

@Karsten1987
Copy link
Collaborator

That'd be fantastic to have Windows github actions. We've recently switched over the ros2 ci to windows container builds. Maybe that's some point of interest to help debugging this problem?

Anas Abou Allaban added 2 commits March 17, 2020 21:36
Signed-off-by: Anas Abou Allaban <allabana@amazon.com>
Signed-off-by: Anas Abou Allaban <allabana@amazon.com>
@piraka9011
Copy link
Contributor Author

The first issue was resolved but then this issue popped up again :) ros-tooling/action-ros-ci#79
Will re-open once a resolution is found.

@piraka9011 piraka9011 closed this Mar 18, 2020
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.

Enable Windows CI in GitHub Actions
4 participants