diff options
| author | âpengxuanzhengâ <[email protected]> | 2022-03-02 07:53:16 +0000 |
|---|---|---|
| committer | âpengxuanzhengâ <[email protected]> | 2022-03-02 09:29:17 +0000 |
| commit | e7f4277894c8654e47565f01f22d4ffba3db661e (patch) | |
| tree | 4e757c52d4eba2c2e2804c10815d255945675097 /ci | |
| parent | 9d688a9e9eedc7811013beedf43ced03c5f62495 (diff) | |
𧪠test: å¢å gtest
Diffstat (limited to 'ci')
| -rw-r--r-- | ci/travis.sh | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/ci/travis.sh b/ci/travis.sh index 40a2780c..faadc35c 100644 --- a/ci/travis.sh +++ b/ci/travis.sh @@ -44,6 +44,7 @@ cmake3 -DCMAKE_CXX_FLAGS=$CXX_FLAGS \ -DCMAKE_BUILD_TYPE=$BUILD_TYPE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX \ -DENABLE_DEVEL=$ENABLE_DEVEL_SWITCH \ + -DHOS_MOCK=$HOS_MOCK \ .. make @@ -57,8 +58,9 @@ if [ -n "${UPLOAD}" ]; then python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *.rpm fi -#if [ -n "${UPLOAD_SYMBOL_FILES}" ]; then -# rpm -i tfe*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} -#fi +if [ -n "${UPLOAD_SYMBOL_FILES}" ]; then + rpm -i $SYMBOL_TARGE*debuginfo*.rpm + _symbol_file=`find /usr/lib/debug/ -name "$SYMBOL_TARGET*.so*.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
\ No newline at end of file |
