summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author杨威 <[email protected]>2020-09-10 16:46:34 +0800
committer杨威 <[email protected]>2020-09-10 16:46:34 +0800
commit0eb4c41487e2a94205a15a1cf07d8f564cc2969b (patch)
tree378489cd2325e6c05355866271b97d0848b777a3
parent810d0e0c3f2cb9a17a57f9d30e0aaf1458ab2d5c (diff)
更新ci文件,testing版本上传至testing源v4.1.4-testing
-rw-r--r--.gitlab-ci.yml33
1 files changed, 29 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f7dd392..6d62b62 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,7 +28,8 @@ branch_build_debug:
CAPTURE_MODE: MARSIO
PLATFORM_MODE: INLINE
except:
- - /^develop.*$/i
+ - /^dev*.*$/i
+ - /^rel*.*$/i
- /^master.*$/i
- tags
@@ -40,7 +41,8 @@ branch_build_release:
PLATFORM_MODE: INLINE
extends: .build_by_travis
except:
- - /^develop.*$/i
+ - /^dev*.*$/i
+ - /^rel*.*$/i
- /^master.*$/i
- tags
@@ -57,7 +59,8 @@ develop_build_debug:
paths:
- build/*.rpm
only:
- - /^develop.*$/i
+ - /^dev*.*$/i
+ - /^rel*.*$/i
- /^master.*$/i
develop_build_release:
@@ -73,7 +76,8 @@ develop_build_release:
paths:
- build/*.rpm
only:
- - /^develop.*$/i
+ - /^dev*.*$/i
+ - /^rel*.*$/i
- /^master.*$/i
@@ -95,3 +99,24 @@ release_build_release:
- build/*.rpm
only:
- tags
+ except:
+ - /^v[0-9].*-testing$/i
+
+testing_build_release:
+ stage: build
+ variables:
+ BUILD_TYPE: RelWithDebInfo
+ CAPTURE_MODE: MARSIO
+ PLATFORM_MODE: INLINE
+ PACKAGE: 1
+ UPLOAD: 1
+ SYMBOL_TARGET: sapp
+ PULP3_REPO_NAME: platform-testing-x86_64.el7
+ PULP3_DIST_NAME: platform-testing-x86_64.el7
+ extends: .build_by_travis
+ artifacts:
+ name: "sapp-$CI_COMMIT_REF_NAME-release"
+ paths:
+ - build/*.rpm
+ only:
+ - /^v[0-9].*-testing$/i \ No newline at end of file