summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 8a649be58ccbe53dddcc70837e430aedc9c4bb4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
include:
  - template: License-Scanning.gitlab-ci.yml

#create_package:
  #image: conanio/gcc7
  #stage: build
  #script:
    #- conan remote add gitlab $CI_API_V4_URL/packages/conan
    #- conan create . my-group+my-project/beta
    #- CONAN_LOGIN_USERNAME=ci_user CONAN_PASSWORD=${CI_JOB_TOKEN} conan upload Hello/0.1@root+ci-conan/beta1 --all --remote=gitlab

upload_package:
  image: conanio/gcc7
  stage: build
  script:
    - conan remote add gitlab https://gitlab.com/api/v4/packages/conan
    - mkdir -p pkg && cd pkg && conan new example/0.1 -t && conan create . && conan upload example/0.1@xlgmokha+c-conan/beta --all

license_scanning:
  variables:
    LOG_LEVEL: 'debug'
  #image:
    #name: $CI_REGISTRY/analyzers/license-management:13-0-stable