git-svn-id: svn://db.shs.com.ru/SHS@745 738bdf72-bf90-11e4-8568-23898e386563
This commit is contained in:
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@@ -33,7 +33,7 @@ pipeline {
|
||||
stage('MacOS') {
|
||||
steps {
|
||||
echo 'build MacOS'
|
||||
sh "mkdir -p build/osx'
|
||||
sh "mkdir -p build/osx"
|
||||
sh "cd build/osx && rm -rf ./* && cmake -DCMAKE_TOOLCHAIN_FILE=/soft/toolchain-Darwin.cmake -DBUILD_NUMBER=${env.BUILD_NUMBER} ../../src"
|
||||
sh "cd build/osx && make -j${JOBS_COUNT}"
|
||||
sh "cd build/osx && make install -j${JOBS_COUNT}"
|
||||
@@ -52,7 +52,7 @@ pipeline {
|
||||
steps {
|
||||
echo 'build Android'
|
||||
script {
|
||||
sh 'mkdir -p build/android'
|
||||
sh "mkdir -p build/android"
|
||||
def archs = ['armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64']
|
||||
for (int i = 0; i < archs.size(); ++i) {
|
||||
echo 'build Android ${archs[i]}'
|
||||
@@ -88,9 +88,9 @@ pipeline {
|
||||
post {
|
||||
always {
|
||||
echo 'clean'
|
||||
//sh 'cd build && rm -rf ./*'
|
||||
//sh 'cd release && rm -rf ./*'
|
||||
//sh 'cd bin && rm -rf ./*'
|
||||
//sh "cd build && rm -rf ./*"
|
||||
//sh "cd release && rm -rf ./*"
|
||||
//sh "cd bin && rm -rf ./*"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user