Add windows build of tools
This commit is contained in:
parent
0801f0d7f8
commit
6f6784a91a
1 changed files with 40 additions and 0 deletions
40
Jenkinsfile
vendored
40
Jenkinsfile
vendored
|
@ -24,5 +24,45 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage("Build on Windows") {
|
||||||
|
agent {
|
||||||
|
label 'windows'
|
||||||
|
}
|
||||||
|
|
||||||
|
steps {
|
||||||
|
bat '''
|
||||||
|
@echo off
|
||||||
|
|
||||||
|
git clean -xfd
|
||||||
|
git reset --hard
|
||||||
|
|
||||||
|
mkdir cpp\\build
|
||||||
|
cd cpp\\build
|
||||||
|
cmake ..
|
||||||
|
make
|
||||||
|
|
||||||
|
cd ..\\..
|
||||||
|
|
||||||
|
cd dart
|
||||||
|
mkdir out
|
||||||
|
|
||||||
|
dart compile exe -o out\\dbikc.exe bin\\dbikc.dart
|
||||||
|
dart compile exe -o out\\uuidgen.exe bin\\uuidgen.dart
|
||||||
|
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
'''
|
||||||
|
}
|
||||||
|
|
||||||
|
post {
|
||||||
|
always {
|
||||||
|
archiveArtifacts artifacts: "dart\\out\\*.exe", fingerprint: true
|
||||||
|
archiveArtifacts artifacts: "cpp\\build\\vsleep.exe", fingerprint: true
|
||||||
|
archiveArtifacts artifacts: "cpp\\build\\pause.exe", fingerprint: true
|
||||||
|
deleteDir()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue