提交 28ac77cb 编写于 作者: sangshuduo's avatar sangshuduo

fix: disable make install on arm64

上级 8356bcf8
...@@ -134,6 +134,19 @@ def sync_source() { ...@@ -134,6 +134,19 @@ def sync_source() {
git submodule update --init --recursive git submodule update --init --recursive
''' '''
} }
def pre_test_arm64() {
sync_source()
sh '''
cd ${WK}
mkdir -p debug
cd debug
go env -w GOPROXY=https://goproxy.cn,direct
go env -w GO111MODULE=on
cmake .. -DBUILD_HTTP=false -DBUILD_TOOLS=true > /dev/null
make -j8 >/dev/null
'''
return 1
}
def pre_test() { def pre_test() {
sync_source() sync_source()
sh ''' sh '''
...@@ -330,7 +343,7 @@ pipeline { ...@@ -330,7 +343,7 @@ pipeline {
agent {label " worker07_arm64 || worker09_arm64 "} agent {label " worker07_arm64 || worker09_arm64 "}
steps { steps {
timeout(time: 20, unit: 'MINUTES') { timeout(time: 20, unit: 'MINUTES') {
pre_test() pre_test_arm64()
script { script {
sh ''' sh '''
echo "arm64 build done" echo "arm64 build done"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册