diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2024-12-23 12:14:46 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2025-01-08 19:01:09 +0100 |
commit | a7f2893bfb5149944be598bd93b642ead27c1886 (patch) | |
tree | b2086fda57e5453b3493d91923d1855bc2bcd0b5 /Jenkinsfile | |
parent | c50b7554cfd23b53107f2a2917a0be22a68b0c11 (diff) |
WIPmsvc-rebased
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 25 |
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') ]) + } + } + } + //////////////////////////////////////////////////// } } |