Commit 5364538d authored by Edwin Carlinet's avatar Edwin Carlinet
Browse files

Conan package is desployed on the development/ranges branch under pylene/head@carlinet/testing.

parent caf1ad86
......@@ -123,7 +123,27 @@ documentation:
##########
# Deploy #
##########
variables:
PACKAGE_NAME: "pylene" # Conan package name
PACKAGE_TAG: "testing" # Conan tag
PACKAGE_VERSION: "head" # Version to build
CONAN_USER: "carlinet"
pages:
<<: *documentation-base
only:
- dev
package:
stage: deploy
dependencies: []
script:
- conan remote add lrde-public https://artifactory.lrde.epita.fr/artifactory/api/conan/lrde-public
- conan user carlinet -r lrde-public -p $CONAN_LRDE_API_KEY
- conan create .. --build missing $PACKAGE_NAME/$PACKAGE_VERSION@$CONAN_USER/$PACKAGE_TAG
- conan upload -r lrde-public --all $PACKAGE_NAME/$PACKAGE_VERSION@$CONAN_USER/$PACKAGE_TAG
only: [ "dev", "development/ranges" ]
......@@ -85,20 +85,18 @@ endif()
# Subdirectories
add_subdirectory(pylene)
add_subdirectory(fixtures)
if (NOT PYLENE_BUILD_LIBS_ONLY)
add_subdirectory(fixtures)
if (PYLENE_BUILD_BENCHMARKS)
add_subdirectory(bench EXCLUDE_FROM_ALL)
endif()
if (BUILD_TESTING)
include(CTest)
add_subdirectory(tests EXCLUDE_FROM_ALL)
endif()
add_subdirectory(doc EXCLUDE_FROM_ALL)
add_subdirectory(apps EXCLUDE_FROM_ALL)
add_subdirectory(cli EXCLUDE_FROM_ALL)
......
......@@ -3,7 +3,7 @@ from conans import CMake, ConanFile, tools
class Pylene(ConanFile):
name = "pylene"
version = "2.0"
version = "head"
license = "https://gitlab.lrde.epita.fr/olena/pylene/blob/dev/LICENSE"
url = "https://gitlab.lrde.epita.fr/olena/pylene"
description = "C++ Generic Image Processing Library."
......
include(CMakeFindDependencyMacro)
find_dependency(Boost 1.58)
find_dependency(range-v3 0.3.7)
find_dependency(range-v3 0.4.0)
if (CMAKE_COMPILER_IS_GNUCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.2)
find_dependency(cmcstl2)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/PyleneTargets.cmake")
conan-center https://conan.bintray.com True
dutiona-lrde https://api.bintray.com/conan/dutiona/lrde True
lrde-public https://artifactory.lrde.epita.fr/artifactory/api/conan/lrde-public True
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment