Closed DEGoodmanWilson closed 8 years ago
"conan test" command is the first step to test the package. Then I have appveyor and travis compiling all the packages. It looks good, but there is a problem with osx x32 packages, it fails because it doesn't find the ssl libraries for x32 in the system. (But I think that noone is using osx x32, so maybe I can exclude this builds) The linux builds are failing too because now it's needed the cacert file. I think it was not the best idea to force the cacert file name. I'm taking your branch and modifying some things.
I've pushed to release/7.47.1 your changes with some other things. Will see if travis and appveyor are ok. If you want to try any package just do:
The package is now ok (https://travis-ci.org/lasote/conan-libcurl) and pushed to master. I added two options "custom_cacert" with default false (if you want to use your cacert file) and darwin_ssl only with macos and default true that links with security framework. Its working ok and no cacert file is needed.
You need to link the apple frameworks like the CMakeLists.txt file of the test folder:
if(APPLE) ADD_FRAMEWORK(Cocoa main) ADD_FRAMEWORK(Security main) endif() TARGET_LINK_LIBRARIES(main ${CONAN_LIBS})
Thanks for your help!
Could you advise how I could go about testing this?