Commit b27e15ee authored by Edwin Carlinet's avatar Edwin Carlinet
Browse files

Add "next" branch deploy into "unstable" channel.

parent 5c132a67
Pipeline #28685 passed with stages
in 40 minutes and 16 seconds
...@@ -17,7 +17,8 @@ variables: ...@@ -17,7 +17,8 @@ variables:
CONAN_UPLOAD: "https://artifactory.lrde.epita.fr/artifactory/api/conan/lrde-public@True" CONAN_UPLOAD: "https://artifactory.lrde.epita.fr/artifactory/api/conan/lrde-public@True"
CONAN_USERNAME: "lrde" CONAN_USERNAME: "lrde"
CONAN_LOGIN_USERNAME: "carlinet" CONAN_LOGIN_USERNAME: "carlinet"
CONAN_CHANNEL: "stable" # Conan tag CONAN_CHANNEL: "unstable" # Conan tag
CONAN_STABLE_CHANNEL: "stable" # Conan tag
CONAN_STABLE_BRANCH_PATTERN: "master$" CONAN_STABLE_BRANCH_PATTERN: "master$"
CONAN_PASSWORD: $CONAN_LRDE_API_KEY CONAN_PASSWORD: $CONAN_LRDE_API_KEY
CONAN_CMAKE_GENERATOR: Ninja CONAN_CMAKE_GENERATOR: Ninja
...@@ -252,7 +253,8 @@ pages: ...@@ -252,7 +253,8 @@ pages:
script: script:
- python3 package-conan.py - python3 package-conan.py
rules: rules:
- if: $CI_COMMIT_BRANCH == "master" - if: $CI_COMMIT_BRANCH == "master" && $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_COMMIT_BRANCH == "next"
package gcc-9: package gcc-9:
extends: .package extends: .package
......
...@@ -2,7 +2,7 @@ from cpt.packager import ConanMultiPackager ...@@ -2,7 +2,7 @@ from cpt.packager import ConanMultiPackager
import platform import platform
if __name__ == "__main__": if __name__ == "__main__":
builder = ConanMultiPackager(username="lrde") builder = ConanMultiPackager(username="lrde", build_policy="missing")
builder.add(settings={"arch": "x86_64", "build_type": "Release"}, options={"pylene:shared" : True}, env_vars={}, build_requires={}) builder.add(settings={"arch": "x86_64", "build_type": "Release"}, options={"pylene:shared" : True}, env_vars={}, build_requires={})
builder.add(settings={"arch": "x86_64", "build_type": "Release"}, options={"pylene:shared" : False, "pylene:fPIC" : True}, env_vars={}, build_requires={}) builder.add(settings={"arch": "x86_64", "build_type": "Release"}, options={"pylene:shared" : False, "pylene:fPIC" : True}, env_vars={}, build_requires={})
builder.add(settings={"arch": "x86_64", "build_type": "Release"}, options={"pylene:shared" : False, "pylene:fPIC" : False}, env_vars={}, build_requires={}) builder.add(settings={"arch": "x86_64", "build_type": "Release"}, options={"pylene:shared" : False, "pylene:fPIC" : False}, env_vars={}, build_requires={})
......
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