Commit 2726b019 authored by Michaël Roynard's avatar Michaël Roynard

Migrate to new artifactory repo

parent 78852a69
Pipeline #2643 failed with stages
in 55 seconds
variables:
CC: "gcc" # eg. gcc or clang
CXX: "g++" # eg. g++ or clang++
RELEASE_TYPE: "Release" # default release type
CONAN_PROFILE: "gcc-release" # profile to use with conan
CONAN_REMOTE_NAME: "dutiona-lrde" # Conan remote name
CONAN_REMOTE_URL: "https://api.bintray.com/conan/dutiona/lrde" # Conan remote name
CONAN_USER: "dutiona" # Conan user name
CONAN_API_KEY: "e2a665548385e82bf1ecbb4739d3582b83b8235f" # Conan API key on public bintray repositories
NAME: "gtest-constexpr-ext" # Conan package name
TAG: "stable" # Conan tag
VERSION: "0.1" # Version to build
CMAKE_GENERATOR: "-G Ninja" # include -G if defined
BUILD_DIRECTORY: "build-in-docker" # build directory name
SOURCE_DIRECTORY: ".." # where cmake search source files from the build directory
TARGET: "check" # target to invoke
TESTS: "ON" # build and run unit tests
CC: "gcc" # eg. gcc or clang
CXX: "g++" # eg. g++ or clang++
RELEASE_TYPE: "Release" # default release type
CONAN_PROFILE: "gcc-release" # profile to use with conan
CONAN_PUBLIC_REMOTE_NAME: "lrde-public" # Conan remote name
CONAN_PUBLIC_REMOTE_URL: "https://artifactory.lrde.epita.fr/artifactory/api/conan/lrde-public" # Conan remote name
CONAN_PRIVATE_REMOTE_NAME: "lrde-private" # Conan remote name
CONAN_PRIVATE_REMOTE_URL: "http://artifactory.lrde.epita.fr/artifactory/api/conan/lrde-private" # Conan remote name
CONAN_USER: "mroynard" # Conan user name
CONAN_API_KEY: "AKCp5bAiaob11EFd9cnDkF1LJBqG5QDgTgbQttVmSfgokeLK4yE6AQ9KM7WyUqBCK1MwTp9H1" # Conan API key on public bintray repositories
NAME: "gtest-constexpr-ext" # Conan package name
TAG: "stable" # Conan tag
VERSION: "0.1" # Version to build
CMAKE_GENERATOR: "-G Ninja" # include -G if defined
BUILD_DIRECTORY: "build-in-docker" # build directory name
SOURCE_DIRECTORY: ".." # where cmake search source files from the build directory
TARGET: "check" # target to invoke
TESTS: "ON" # build and run unit tests
stages:
- build
......@@ -29,11 +31,20 @@ stages:
- export CXX=$CXX
- $CC --version
- $CXX --version
- conan remote add $CONAN_PUBLIC_REMOTE_NAME $CONAN_PUBLIC_REMOTE_URL
- conan remote add $CONAN_PRIVATE_REMOTE_NAME $CONAN_PRIVATE_REMOTE_URL
- conan user
-p $CONAN_API_KEY
-r $CONAN_PUBLIC_REMOTE_NAME $CONAN_USER
- conan user
-p $CONAN_API_KEY
-r $CONAN_PRIVATE_REMOTE_NAME $CONAN_USER
- conan remote list
- conan install ..
--build missing
-pr $CONAN_PROFILE
- mkdir -p $BUILD_DIRECTORY
- cd $BUILD_DIRECTORY
- conan remote add $CONAN_REMOTE_NAME $CONAN_REMOTE_URL
- conan user -p $CONAN_API_KEY -r $CONAN_REMOTE_NAME $CONAN_USER
- conan remote list
- conan install ..
--build missing
-pr $CONAN_PROFILE
......@@ -83,16 +94,26 @@ distcheck-build-linux-clang-debug:
- export CXX=$CXX
- $CC --version
- $CXX --version
- conan remote add $CONAN_REMOTE_NAME $CONAN_REMOTE_URL
- conan user -p $CONAN_API_KEY -r $CONAN_REMOTE_NAME $CONAN_USER
- conan remote add $CONAN_PUBLIC_REMOTE_NAME $CONAN_PUBLIC_REMOTE_URL
- conan remote add $CONAN_PRIVATE_REMOTE_NAME $CONAN_PRIVATE_REMOTE_URL
- conan user
-p $CONAN_API_KEY
-r $CONAN_PUBLIC_REMOTE_NAME $CONAN_USER
- conan user
-p $CONAN_API_KEY
-r $CONAN_PRIVATE_REMOTE_NAME $CONAN_USER
- conan remote list
- conan install ..
--build missing
-pr $CONAN_PROFILE
- conan create
--build missing
-pr $CONAN_PROFILE
. $NAME/$VERSION@$CONAN_USER/$TAG-$CONAN_PROFILE
--build missing
-pr $CONAN_PROFILE
. $NAME/$VERSION@$CONAN_USER/$TAG-$CONAN_PROFILE
- conan upload
-r $CONAN_REMOTE_NAME
$NAME/$VERSION@$CONAN_USER/$TAG-$CONAN_PROFILE
--all
-r $CONAN_PRIVATE_REMOTE_NAME
$NAME/$VERSION@$CONAN_USER/$TAG-$CONAN_PROFILE
distcheck-package-linux-gcc-release:
<<: *distcheck-basic-package-linux
......
......@@ -31,5 +31,5 @@ class GtestConstexprExt(ConanFile):
self.cpp_info.includedirs = ["include"]
def requirements(self):
self.requires("gtest/1.8.0@dutiona/stable-{}-{}".format(
self.requires("gtest/1.8.0@mroynard/stable-{}-{}".format(
self.settings.compiler, str(self.settings.build_type).lower()))
Markdown is supported
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