[infrastructure] Add compatibility rule in order to consume packages from Conan Center #203
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello!
This PR brings Conan Compatibility feature to support backward compatible packages from CCI.
As a result, some builds should not be needed, as most of pre-built packages are available in Conan Center already.
The
compatibility.pybrings backward compatibility for:It's possible to see Apple build consuming compatible packages from Conan Center: https://github.com/conan-io/examples2/actions/runs/19324742919/job/55273162653?pr=203#step:8:6179
For Windows as well: https://github.com/conan-io/examples2/actions/runs/19324742919/job/55273162674?pr=203#step:8:7739
Time saving:
Apple build went 15 min in the past build, and with this PR, it is now only ~6 min
Linux build went from 24 min to 7 min:
Windows did not really help, because the compatibility rule is already there. That build takes ~16min and consumes several pre-built packages from Conan Center already, but takes a long time to build everything else.