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