Files
strata_test/Jenkinsfile
2022-10-24 20:41:50 +03:00

17 lines
509 B
Groovy

pipeline {
agent none
stages {
stage('Windows x64') {
agent { docker { image 'windows-shstk' } }
steps {
sh 'mkdir -p build/windows'
sh "cd build/windows && rm -rf ./* && cmake -DCMAKE_TOOLCHAIN_FILE=/soft/toolchain-Windows.cmake -DBUILD_NUMBER=${env.BUILD_NUMBER} ../../src"
sh 'cd build/windows && make -j4'
sh 'cd build/windows && make install -j4'
sh 'cd build/windows && make deploy'
archiveArtifacts 'release/*.zip'
sh 'rm -rf ./build ./bin ./release'
}
}
}
}