summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2020-09-23 16:05:37 +0800
committerfengweihao <[email protected]>2020-09-23 16:06:51 +0800
commitf1051e77b472e918c3ce1f90e477255442639ebc (patch)
tree09e3f23c4aadcfc25e01e563b68525a91592af1c /ci
parent87fcacf83b40028adb4c8cfa27d5097583ba4381 (diff)
certstore上传yum仓库
开启tcmalloc
Diffstat (limited to 'ci')
-rw-r--r--ci/travis.sh17
1 files changed, 9 insertions, 8 deletions
diff --git a/ci/travis.sh b/ci/travis.sh
index 5bea103..2756f9a 100644
--- a/ci/travis.sh
+++ b/ci/travis.sh
@@ -43,20 +43,21 @@ cd build
cmake3 -DCMAKE_CXX_FLAGS=$CXX_FLAGS \
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
-DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX \
- -DTFE_VERSION_DAILY_BUILD=$TESTING_VERSION_BUILD \
+ -DENABLE_DEVEL=$ENABLE_DEVEL_SWITCH \
..
make
-#make test
if [ -n "${PACKAGE}" ]; then
make package
- #cp ~/rpm_upload_tools.py ./
- #python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *.rpm
fi
-if [ -n "${UPLOAD_SYMBOL_FILES}" ]; then
- rpm -i certstore*debuginfo*.rpm
- #cp /usr/lib/debug/opt/tsg/tfe/bin/tfe.debug /tmp/tfe.debuginfo.${CI_COMMIT_SHORT_SHA}
- #sentry-cli upload-dif -t elf /tmp/tfe.debuginfo.${CI_COMMIT_SHORT_SHA}
+if [ -n "${UPLOAD}" ]; then
+ cp ~/rpm_upload_tools.py ./
+ python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *.rpm
+
+ rpm -i $SYMBOL_TARGET*debuginfo*.rpm
+ _symbol_file=`find /usr/lib/debug/ -name "$SYMBOL_TARGET*.debug"`
+ cp $_symbol_file ${_symbol_file}info.${CI_COMMIT_SHORT_SHA}
+ sentry-cli upload-dif -t elf ${_symbol_file}info.${CI_COMMIT_SHORT_SHA}
fi