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 CI job to test compilation on Windows with vcpkg #101

Merged
merged 1 commit into from
Jun 2, 2020

Conversation

traversaro
Copy link
Contributor

Fix #92 .

The problems discussed #92 were actually just due to a wrong order of arguments passed to CMake (cmake --config Release --build . seems to ignore the --build flag).

The correct compilation was tested in traversaro#2 .
The CI uses https://github.com/marketplace/actions/run-vcpkg to cache the installation of vcpkg dependencies, ensuring that the build on the master branch (after the first one, that is used to populate the cache) do not take ~20 minutes.

.github/workflows/windows-vcpkg.yml Show resolved Hide resolved
.github/workflows/windows-vcpkg.yml Show resolved Hide resolved
.github/workflows/windows-vcpkg.yml Outdated Show resolved Hide resolved
.github/workflows/windows-vcpkg.yml Outdated Show resolved Hide resolved
.github/workflows/windows-vcpkg.yml Outdated Show resolved Hide resolved
.github/workflows/windows-vcpkg.yml Show resolved Hide resolved
@traversaro
Copy link
Contributor Author

@gavanderhoorn I should have addressed all the comments and cleanup the commit history.

Copy link
Member

@gavanderhoorn gavanderhoorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @traversaro 👍

@gavanderhoorn gavanderhoorn merged commit f68ad79 into ros-industrial:master Jun 2, 2020
@gavanderhoorn
Copy link
Member

I'm assuming we can duplicate this for abb_librws?

Or would the Poco dependency be difficult to set up?

@traversaro
Copy link
Contributor Author

I'm assuming we can duplicate this for abb_librws?

Or would the Poco dependency be difficult to set up?

Fortunately poco is available as a vcpkg port (see https://github.com/microsoft/vcpkg/tree/master/ports/poco), so it should be possible to just port this to abb_librws and changing the installed dependencies.

@jontje
Copy link
Contributor

jontje commented Jun 2, 2020

Nice work! 😄 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add Windows builds to CI
3 participants