first
This commit is contained in:
17
Jenkinsfile
vendored
Normal file
17
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user