summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
author刘学利 <[email protected]>2020-10-09 11:00:18 +0800
committer刘学利 <[email protected]>2020-10-09 11:00:18 +0800
commit5084bef5bf1c6ac1a352c3deed4bbc786aa53c13 (patch)
tree49308fbbf925d221cee0ac69171b7a263a1c3345 /.gitlab-ci.yml
parentd80b5fbad46c4a3d6d74556a7d56ae9672d2d931 (diff)
Fix memory out of bound
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml32
1 files changed, 31 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0be8a6a..edd5b6f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,6 +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: libasan
stages:
- build
@@ -46,6 +47,12 @@ develop_build_debug:
variables:
BUILD_TYPE: Debug
PACKAGE: 1
+ UPLOAD_RPM: 1
+ ASAN_OPTION: ADDRESS
+ TESTING_VERSION_BUILD: 1
+ INSTALL_DEPENDENCY_LIBRARY: libasan
+ PULP3_REPO_NAME: framework-testing-x86_64.el7
+ PULP3_DIST_NAME: framework-testing-x86_64.el7
artifacts:
name: "MESA_field_stat2-$CI_COMMIT_REF_NAME-debug"
paths:
@@ -60,6 +67,12 @@ develop_build_release:
variables:
BUILD_TYPE: RelWithDebInfo
PACKAGE: 1
+ UPLOAD_RPM: 1
+ ASAN_OPTION: ADDRESS
+ TESTING_VERSION_BUILD: 1
+ INSTALL_DEPENDENCY_LIBRARY: libasan
+ PULP3_REPO_NAME: framework-testing-x86_64.el7
+ PULP3_DIST_NAME: framework-testing-x86_64.el7
artifacts:
name: "MESA_field_stat2-$CI_COMMIT_REF_NAME-release"
paths:
@@ -68,13 +81,30 @@ develop_build_release:
- /^develop.*$/i
- /^master.*$/i
+release_build_debug:
+ stage: build
+ variables:
+ BUILD_TYPE: Debug
+ PACKAGE: 1
+ UPLOAD_RPM: 1
+ PULP3_REPO_NAME: framework-stable-x86_64.el7
+ PULP3_DIST_NAME: framework-stable-x86_64.el7
+ extends: .build_by_travis
+ artifacts:
+ name: "MESA_field_stat2-$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: libMESA_field_stat2
PULP3_REPO_NAME: framework-stable-x86_64.el7
PULP3_DIST_NAME: framework-stable-x86_64.el7
extends: .build_by_travis