Skip to content

Improve windows workflow#1052

Closed
azeey wants to merge 23 commits intogazebosim:gz-rendering9from
azeey:test_new_workflow
Closed

Improve windows workflow#1052
azeey wants to merge 23 commits intogazebosim:gz-rendering9from
azeey:test_new_workflow

Conversation

@azeey
Copy link

@azeey azeey commented Sep 4, 2024

🦟 Bug fix

Summary

#1049 introduced the Windows Github Action workflow. This PR makes some improvements to the workflow:

  • Use script to determine major version number
  • Add sscache

The hope is to also fix the issue from #1049 with the Ogre2 plugin not being loaded properly in tests as can be seen from error messages like the following:

17: (2024-08-31 04:51:07.821) [debug] Read GZ_ENGINE_TO_TEST=ogre2
17: (2024-08-31 04:51:07.822) [debug] Read GZ_ENGINE_BACKEND=gl3plus
17: (2024-08-31 04:51:07.822) [info] Loading plugin [gz-rendering-ogre2]
Error: 24-08-31 04:51:07.822) [error] Failed to load plugin [gz-rendering-ogre2] : couldn't find shared library.

Opening as a draft since it's still not able to load the Ogre2 plugin.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Addisu Z. Taddese added 23 commits August 30, 2024 22:53
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Fix
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Fix
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
@github-actions github-actions bot added the 🏛️ ionic Gazebo Ionic label Sep 4, 2024
@traversaro
Copy link
Contributor

From what I understand, all the tests (even for Linux and macOS) only work if installed, as the GZ_RENDERING_PLUGIN_PATH in

gz-rendering/CMakeLists.txt

Lines 192 to 196 in a9af984

if(MSVC)
set(GZ_RENDERING_PLUGIN_PATH ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR})
else()
set(GZ_RENDERING_PLUGIN_PATH ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR})
endif()
variable does not point to where the plugins are actually installed.

@traversaro
Copy link
Contributor

From what I understand, all the tests (even for Linux and macOS) only work if installed, as the GZ_RENDERING_PLUGIN_PATH in

gz-rendering/CMakeLists.txt

Lines 192 to 196 in a9af984

if(MSVC)
set(GZ_RENDERING_PLUGIN_PATH ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR})
else()
set(GZ_RENDERING_PLUGIN_PATH ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR})
endif()

variable does not point to where the plugins are actually installed.

And indeed colcon also installs, my bad, so that should not be the problem.

@iche033 iche033 mentioned this pull request Oct 4, 2024
@iche033 iche033 mentioned this pull request Mar 11, 2026
11 tasks
@azeey
Copy link
Author

azeey commented Mar 11, 2026

Closing since we now use pixi on Jenkins. #1239 removes the windows workflow

@azeey azeey closed this Mar 11, 2026
@github-project-automation github-project-automation bot moved this from In progress to Done in Core development Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏛️ ionic Gazebo Ionic

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants