summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile33
1 files changed, 30 insertions, 3 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 3812aca..f0f5c6a 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,7 +1,32 @@
pipeline {
- agent any
+ agent { label 'linux' }
stages {
////////////////////////////////////////////////////
+ stage('Windows mingw') {
+ agent { label 'windows && mingw && c++20' }
+ environment
+ {
+ PATH="C:\\msys64\\ucrt64\\bin;C:\\msys64\\usr\\bin;${env.PATH}"
+ }
+ steps {
+ echo 'Cleaning workspace ...'
+ bat 'git clean -d -x -f'
+ echo 'Building (mingw) ...'
+ bat 'sh -c "CXX=g++ AR=ar ./bootstrap.sh"'
+ echo 'Testing (mingw) ...'
+ bat 'ctor check'
+ echo 'Testing suite (mingw) ...'
+ bat 'sh -c "(cd test/suite; CTORDIR=../../build CXX=g++ ./test.sh)"'
+ }
+ post {
+ always {
+ xunit(thresholds: [ skipped(failureThreshold: '0'),
+ failed(failureThreshold: '0') ],
+ tools: [ CppUnit(pattern: 'build/test/*.xml') ])
+ }
+ }
+ }
+ ////////////////////////////////////////////////////
stage('Linux gcc') {
agent { label 'linux && gcc && c++20' }
steps {
@@ -56,9 +81,11 @@ pipeline {
dir ('build/test') {
writeFile file:'dummy', text:''
}
- bat '"%VSDEVCMD%" && bootstrap.bat && snot.exe'
+ bat '"%VSDEVCMD%" && bootstrap.bat && ctor.exe'
echo 'Testing (msvc) ...'
- bat 'snot.exe check'
+ bat 'ctor.exe check'
+ echo 'Testing suite (msvc) ...'
+ bat '(cd test/suite; test.bat)'
}
post {
always {