Skip to content

Use binary sources for CI - #71

Draft
gergondet wants to merge 10 commits into
jrl-umi3218:masterfrom
gergondet:topic/vcpkg
Draft

Use binary sources for CI#71
gergondet wants to merge 10 commits into
jrl-umi3218:masterfrom
gergondet:topic/vcpkg

Conversation

@gergondet

Copy link
Copy Markdown
Member

This PR:

  • adds Ubuntu 20.04 to the CI
  • use our apt mirrors to fetch dependencies on Ubuntu builds
  • use vcpkg to fetch dependencies on macOS and Windows, with binary caching this cuts down the CI time significantly (from 15-20 minutes to 5-10 minutes)
  • fixes a bug where a temporary ends up being used after deletion

Another significant difference (so-far) is that the CI is not building Python bindings on Windows or macOS. I will look into it next week.

I will also consider similar PRs in our other dependencies, I've started with this one because it's complex enough to yield very significant gains and show potential issues (e.g. I had some troubles to get a decent vcpkg port of eigen-qld on Windows)

Note: our vcpkg fork already has some mc_rtc port with some work left to better handle the debug/release co-existing installations

- vcpkg on Windows/macOS
- Ubuntu packages on Ubuntu
It should be fine but there's some strange issue on focal with clang and
RelWithDebInfo...
Avoid a bug with clang and MSVC

Revert "[tests] Switch a constraint type"

This reverts commit 547852b.

Revert "[bindings] Swap contact constraint type in Python test"

This reverts commit c847b3d.
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.

1 participant