summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2024-12-23 12:14:46 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2024-12-23 20:07:52 +0100
commit4aa3c169b0a716d56254dbda2ab2b90d1876e7ad (patch)
treed7de3a3dcc5919ffb2776446be5b7c881c83c2ca /Jenkinsfile
parent78c5477b3989d67169de2d05665adfb801caab23 (diff)
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 290f412..3812aca 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -44,5 +44,30 @@ pipeline {
}
}
////////////////////////////////////////////////////
+ stage('Windows msvc') {
+ agent { label 'win10 && msvc' }
+ environment
+ {
+ VSDEVCMD="C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\Common7\\Tools\\VsDevCmd.bat"
+ }
+ steps {
+ echo 'Cleaning workspace ...'
+ bat 'git clean -d -x -f'
+ dir ('build/test') {
+ writeFile file:'dummy', text:''
+ }
+ bat '"%VSDEVCMD%" && bootstrap.bat && snot.exe'
+ echo 'Testing (msvc) ...'
+ bat 'snot.exe check'
+ }
+ post {
+ always {
+ xunit(thresholds: [ skipped(failureThreshold: '0'),
+ failed(failureThreshold: '0') ],
+ tools: [ CppUnit(pattern: 'build/test/*.xml') ])
+ }
+ }
+ }
+ ////////////////////////////////////////////////////
}
}