summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
author杨威 <[email protected]>2023-06-12 16:25:33 +0800
committer杨威 <[email protected]>2023-06-13 13:30:44 +0800
commit5d7af4f6907d7f2cdcd255072a971b057338bbe6 (patch)
tree75ab5bbbc4b7a0833e73c3b85211e45459d298c9 /.gitlab-ci.yml
parent7533e13195cb972fc43a8ed6d43f84892a19da74 (diff)
✨ feat(hasp verify): 链接hasp-tools,支持硬锁检测
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml19
1 files changed, 12 insertions, 7 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index aac9236..fe1a661 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -343,24 +343,29 @@ release_build_release_for_centos8:
###############################################################################
# envelope and upload
###############################################################################
-
envelope_rpm:
stage: envelope
image: $BUILD_IMAGE_CENTOS7
variables:
+ BUILD_TYPE: RelWithDebInfo
+ CAPTURE_MODE: MARSIO
+ PLATFORM_MODE: INLINE
+ MEM_POOL: JEMALLOC
+ HASP_ENABLED: "ON"
FEATURE_ID: 100
- APP_NAME_IN_RPM_SPEC: sapp
+ HASP_INTERNAL_S: 3600
+ PACKAGE: 1
+ extends: .build_before_script
script:
- - chmod +x ./ci/envelope_rpm.sh
- - ./ci/envelope_rpm.sh
+ - yum install -y hasp-tools
+ - chmod +x ./ci/travis.sh
+ - ./ci/travis.sh
artifacts:
name: "sapp-pr-$CI_COMMIT_REF_NAME-release"
paths:
- build/*-pr-*.rpm
tags:
- - envelope
- only:
- - tags
+ - share
upload_enveloped_rpm:
stage: upload