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

Use binary sources for CI #71

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

gergondet
Copy link
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