-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 tinyobjloader recipe #58
Conversation
@@ -0,0 +1,51 @@ | |||
import os |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see no difference between 1.x and 2.x maybe we can re-use the same recipe for both.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only difference between 1.x and 2.x is the API, so the test case is different.
Is there a way to deduplicate the rest of the code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to check if we can customize the test_package name. Let me see it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unfortunately we don't have such feature, but we can re-use the same test_package folder for both tests. Using cmake features we can detect the package reference and build the correct test. Lemme check some good approach.
Co-Authored-By: Uilian Ries <[email protected]>
Co-Authored-By: Uilian Ries <[email protected]>
Co-Authored-By: Uilian Ries <[email protected]>
Co-Authored-By: Uilian Ries <[email protected]>
BTW the CI is under maintenance right now, that's why we don't have CI status on this PR. |
Good to know |
Sorry, the build is only launched for Early Access Program users. You can request access writing in this issue. |
@uilianries Any idea why the bot won't build the pull request? |
@flostellbrink unfortunately I have no power to add users in beta group. We need to wait for admin, which will be done soon. |
Ahh okay, thanks for all the help! |
The config.yml file is invalid: Only one library can be changed in the same PR: [tinyobjloader/1.x, tinyobjloader/2.x] |
Please @flostellbrink, include just one library version per PR. This reduces a lot the build service time and pipeline and helps with the revision of the new files 😄 |
@danimtb I think we can use both versions with same recipe, I'm checking some way to do it. |
@danimtb I failed at combining the test cases. @uilianries Please keep me updated. I'd be perfectly happy with splitting this into two pull requests if combining them doesn't work out :) |
Signed-off-by: Uilian Ries <[email protected]>
Use unique test package for recipe
That's clever! |
tinyobjloader/1.0.6@: 'conan export' command failed: ERROR: Conanfile not found at /tmp/c3ipr/info_pr_58_3/conanfile.py |
Some configurations of 'tinyobjloader/1.0.6' have failed:
|
Huh, I thought that was a windows only issue. |
@flostellbrink you need to add the follow statement:
|
Well that was painfully obvious in hindsight. Thanks a lot @uilianries ! |
Some configurations of 'tinyobjloader/1.0.6' have failed:
|
An unexpected error happened and has been reported. Help is on its way! 🏇 |
Seems like Jenkins is in trouble. I gonna restart the CI job by closing/opening your PR. |
All green! 😊
|
I'm wondering if having pre-releases is a desirable goal for the CCI? 🤔 |
I'd say it is not the goal for this repository to have release candidates... But we need to agree on the conditions and post them as guidelines for new contributions |
There are some in between versions too. 1.0.7 and 1.4.1, but they are not marked as latest release on GitHub and have a partially changed API. So I was hesitant to include them. I'll remove the pre-release and we can wait for a proper release. |
All green! 😊
|
Merge in changes from conan-io/master
Specify library name and version: tinyobjloader/1.0.6, tinyobjloader/2.0-rc1
conan-center hook activated.