diff options
| author | yangwei <[email protected]> | 2024-08-07 14:04:07 +0800 |
|---|---|---|
| committer | luwenpeng <[email protected]> | 2024-08-12 15:48:37 +0800 |
| commit | 90ca08568edfd70ff77cf4c045fda27b36a14d1c (patch) | |
| tree | 8663c42f95824104da62394c53cb6c6f459cdfc1 /ci | |
| parent | 6bb5c44ee39d920cd6e3da7fab52a1a1cce548ba (diff) | |
🐎 ci(stage upgrade): split to 4 stage
Diffstat (limited to 'ci')
| -rw-r--r-- | ci/travis.sh | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/ci/travis.sh b/ci/travis.sh index f5aebec..fc6efc3 100644 --- a/ci/travis.sh +++ b/ci/travis.sh @@ -32,21 +32,6 @@ env | sort : "${NO_RTTI:=OFF}" : "${COMPILER_IS_GNUCXX:=OFF}" -# Install dependency from YUM -yum install -y mrzcpd-corei7 -yum install -y numactl-libs # required by mrzcpd -yum install -y libibverbs # required by mrzcpd -yum install -y libfieldstat4-devel -yum install -y tcpdump -dnf install -y epel-release -dnf install -y wireshark wireshark-cli -dnf install -y libpcap-devel -dnf install -y jq - -if [ $ASAN_OPTION ] && [ -f "/opt/rh/devtoolset-7/enable" ]; then - source /opt/rh/devtoolset-7/enable -fi - mkdir build || true cd build @@ -56,17 +41,11 @@ cmake3 -DCMAKE_CXX_FLAGS=$CXX_FLAGS \ -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX \ -DVERSION_DAILY_BUILD=$TESTING_VERSION_BUILD \ .. -make -j 4 -ctest --output-on-failure + +make -j $NPROCESSORS 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 stellar*debuginfo*.rpm - cp /usr/lib/debug/opt/tsg/stellar/bin/stellar*debug /tmp/stellar.debuginfo.${CI_COMMIT_SHORT_SHA} - sentry-cli upload-dif -t elf /tmp/stellar.debuginfo.${CI_COMMIT_SHORT_SHA} -fi |
