-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Conan recipe for Catch project #926
Comments
That's awesome - thanks @uilianries. |
Sure! Conan Package Tools checks the branch name and submits to target channel. e.g. master branch is used as stable channel. So, we can use the same rule to create new releases in the recipe. |
Signed-off-by: Uilian Ries <uilianries@gmail.com>
So now the recipe is in, do we need to do anything else on each release for Conan to get it? |
Each new release will update your conan recipe, but won't create and push Catch package to Conan remote. |
Thanks. Yes I suspected there was still an extra step. |
Nice! |
HI @philsquared Which release approach to bintray would you like? Do you want to upload conan packages to bintray for "master", or just the tagged releases? How do you identify your releases in CI? Thanks! |
@uilianries creating a new issue is probably "how it should be done" - but I'm fine with just continuing here. @memsharded Thanks for the guidance. A Catch "release" really just consists of updating some version numbers (which, thanks to @uilianries now updates the conanFile.py, too), "building" the single include and tagging the commit (with the form vX.X.X). |
By default, Conan uses a branch pattern to identify the stable channel, we could use release tag, e.g. Okay, I'll use the same issue to develop. |
- Apply new conventions introduced on Conan 1.8 - Removed outdated settings - Update license to follow SPDX format - Update author name Signed-off-by: Uilian Ries <uilianries@gmail.com>
- Add new Travis job to execute CPT when running Travis CI Signed-off-by: Uilian Ries <uilianries@gmail.com>
- Test package can moved to insternal conan dir - Fix sources required for Catch2 build Signed-off-by: Uilian Ries <uilianries@gmail.com>
- Build and Upload Conan package when running on Travis CI - Update gcc version on Travis - Ignore cmake and all binaries created by test package - Add simple test package including factorial example Signed-off-by: Uilian Ries <uilianries@gmail.com>
- When creating Conan package, the project license must be copied together Signed-off-by: Uilian Ries <uilianries@gmail.com>
- When building non-stable stable branch the package channel name could be used as testing to differ from stable one. Signed-off-by: Uilian Ries <uilianries@gmail.com>
- Set reference channel based on Conan channel var Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
- Update Conan recipe with Catch2 homepage -- use same address from URL - Fix CMake project order for test package - Remove explicit compiler version from Conan build script Signed-off-by: Uilian Ries <uilianries@gmail.com>
- Apply new conventions introduced on Conan 1.8 - Removed outdated settings - Update license to follow SPDX format Closes catchorg#926 Closes catchorg#943
- Package channel should be changed automatically when matching the stable branch pattern - Update Bintray upload address Signed-off-by: Uilian Ries <uilianries@gmail.com>
- Package channel should be changed automatically when matching the stable branch pattern - Update Bintray upload address Signed-off-by: Uilian Ries <uilianries@gmail.com>
Description
I have written Conan recipes for Catch, since version 1.4.1, you can see here. However, would be nice if Catch provides its own recipe in the project.
I can help with this, starting to write the recipe.
The text was updated successfully, but these errors were encountered: