summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
author刘学利 <[email protected]>2020-10-10 12:05:09 +0800
committer刘学利 <[email protected]>2020-10-10 12:05:09 +0800
commit2fc03e9524f85281bc30bfee5a059f04cf5e9554 (patch)
tree3056846ac15523aa6e6e04a7b602d286550c0de1 /.gitlab-ci.yml
parentfaa909c3c583b9450fd207de9955c644b8e3304b (diff)
Develop export version
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml30
1 files changed, 28 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 81270d9..1ceff43 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,7 +3,7 @@ variables:
GIT_STRATEGY: "clone"
BUILD_PADDING_PREFIX: /tmp/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX_PREFIX_PREFIX_PREFIX_PREFIX_PREFIX/
INSTALL_PREFIX: "/opt/MESA/lib/"
- INSTALL_DEPENDENCY_LIBRARY: libMESA_handle_logger-devel libMESA_htable-devel libMESA_field_stat2-devel libMESA_field_stat-devel sapp-devel framework_env libdocumentanalyze-devel libMESA_prof_load-devel
+ INSTALL_DEPENDENCY_LIBRARY: libMESA_handle_logger-devel libMESA_htable-devel libMESA_field_stat2-devel libMESA_field_stat-devel sapp-devel framework_env libdocumentanalyze-devel libMESA_prof_load-devel libasan
stages:
- build
@@ -47,6 +47,11 @@ develop_build_debug:
variables:
BUILD_TYPE: Debug
PACKAGE: 1
+ UPLOAD_RPM: 1
+ ASAN_OPTION: ADDRESS
+ TESTING_VERSION_BUILD: 1
+ PULP3_REPO_NAME: protocol-testing-x86_64.el7
+ PULP3_DIST_NAME: protocol-testing-x86_64.el7
artifacts:
name: "http-$CI_COMMIT_REF_NAME-debug"
paths:
@@ -61,6 +66,11 @@ develop_build_release:
variables:
BUILD_TYPE: RelWithDebInfo
PACKAGE: 1
+ UPLOAD_RPM: 1
+ ASAN_OPTION: ADDRESS
+ TESTING_VERSION_BUILD: 1
+ PULP3_REPO_NAME: protocol-testing-x86_64.el7
+ PULP3_DIST_NAME: protocol-testing-x86_64.el7
artifacts:
name: "http-$CI_COMMIT_REF_NAME-release"
paths:
@@ -69,13 +79,29 @@ develop_build_release:
- /^develop.*$/i
- /^master.*$/i
+release_build_debug:
+ stage: build
+ variables:
+ BUILD_TYPE: Debug
+ PACKAGE: 1
+ UPLOAD_RPM: 1
+ PULP3_REPO_NAME: protocol-stable-x86_64.el7
+ PULP3_DIST_NAME: protocol-stable-x86_64.el7
+ extends: .build_by_travis
+ artifacts:
+ name: "http-$CI_COMMIT_REF_NAME-release"
+ paths:
+ - build/*.rpm
+ only:
+ - tags
release_build_release:
stage: build
variables:
BUILD_TYPE: RelWithDebInfo
PACKAGE: 1
- UPLOAD: 1
+ UPLOAD_RPM: 1
+ UPLOAD_SYMBOL_FILES: 1
SYMBOL_TARGET: http
PULP3_REPO_NAME: protocol-stable-x86_64.el7
PULP3_DIST_NAME: protocol-stable-x86_64.el7