mirror of
https://github.com/kakwa/uts-server
synced 2024-12-04 15:05:54 +01:00
Updated Jenkinsfile
This commit is contained in:
parent
42efdc2cd3
commit
1f6094f0c7
92
Jenkinsfile
vendored
92
Jenkinsfile
vendored
@ -1,56 +1,64 @@
|
||||
pipeline {
|
||||
agent none
|
||||
agent any
|
||||
stages {
|
||||
stage('Compile') {
|
||||
steps {
|
||||
parallel(
|
||||
"OpenBSD 6.1": {
|
||||
node('openbsd-6.1') {
|
||||
sh 'git config --global user.name "jenkins@kakwa.fr"'
|
||||
sh 'git config --global user.email "jenkins@kakwa.fr"'
|
||||
git 'https://github.com/kakwa/uts-server'
|
||||
sh 'git clean -fdx'
|
||||
sh 'export CC=/usr/local/bin/egcc;export CXX=/usr/local/bin/ec++; cmake . -DBUNDLE_CIVETWEB=ON'
|
||||
sh 'export CC=/usr/local/bin/egcc;export CXX=/usr/local/bin/ec++; make -j4'
|
||||
sh './tests/cfg/pki/create_tsa_certs'
|
||||
sh './tests/external_test.sh'
|
||||
}
|
||||
node(label: 'openbsd-6.1') {
|
||||
sh 'git config --global user.name "jenkins@kakwa.fr"'
|
||||
sh 'git config --global user.email "jenkins@kakwa.fr"'
|
||||
git 'https://github.com/kakwa/uts-server'
|
||||
sh 'git clean -fdx'
|
||||
sh 'export CC=/usr/local/bin/egcc;export CXX=/usr/local/bin/ec++; cmake . -DBUNDLE_CIVETWEB=ON'
|
||||
sh 'export CC=/usr/local/bin/egcc;export CXX=/usr/local/bin/ec++; make -j4'
|
||||
sh './tests/cfg/pki/create_tsa_certs'
|
||||
sh './tests/external_test.sh'
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
"FreeBSD 11": {
|
||||
node('freebsd-11') {
|
||||
sh 'git config --global user.email "jenkins@kakwa.fr"'
|
||||
sh 'git config --global user.name "jenkins@kakwa.fr"'
|
||||
git 'https://github.com/kakwa/uts-server'
|
||||
sh 'git clean -fdx'
|
||||
sh 'cmake . -DBUNDLE_CIVETWEB=ON'
|
||||
sh 'make -j4'
|
||||
sh './tests/cfg/pki/create_tsa_certs'
|
||||
sh './tests/external_test.sh'
|
||||
}
|
||||
node(label: 'freebsd-11') {
|
||||
sh 'git config --global user.email "jenkins@kakwa.fr"'
|
||||
sh 'git config --global user.name "jenkins@kakwa.fr"'
|
||||
git 'https://github.com/kakwa/uts-server'
|
||||
sh 'git clean -fdx'
|
||||
sh 'cmake . -DBUNDLE_CIVETWEB=ON'
|
||||
sh 'make -j4'
|
||||
sh './tests/cfg/pki/create_tsa_certs'
|
||||
sh './tests/external_test.sh'
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
"CentOS 7": {
|
||||
node('centos-7') {
|
||||
sh 'git config --global user.email "jenkins@kakwa.fr"'
|
||||
sh 'git config --global user.name "jenkins@kakwa.fr"'
|
||||
git 'https://github.com/kakwa/uts-server'
|
||||
sh 'git clean -fdx'
|
||||
sh 'export CXX=/usr/bin/clang++; export CC=/usr/bin/clang; cmake . -DBUNDLE_CIVETWEB=ON'
|
||||
sh 'export CXX=/usr/bin/clang++; export CC=/usr/bin/clang; make -j4'
|
||||
sh './tests/cfg/pki/create_tsa_certs'
|
||||
sh './tests/external_test.sh'
|
||||
}
|
||||
node(label: 'centos-7') {
|
||||
sh 'git config --global user.email "jenkins@kakwa.fr"'
|
||||
sh 'git config --global user.name "jenkins@kakwa.fr"'
|
||||
git 'https://github.com/kakwa/uts-server'
|
||||
sh 'git clean -fdx'
|
||||
sh 'export CXX=/usr/bin/clang++; export CC=/usr/bin/clang; cmake . -DBUNDLE_CIVETWEB=ON'
|
||||
sh 'export CXX=/usr/bin/clang++; export CC=/usr/bin/clang; make -j4'
|
||||
sh './tests/cfg/pki/create_tsa_certs'
|
||||
sh './tests/external_test.sh'
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
"Debian 8": {
|
||||
node('debian-8') {
|
||||
sh 'git config --global user.email "jenkins@kakwa.fr"'
|
||||
sh 'git config --global user.name "jenkins@kakwa.fr"'
|
||||
git 'https://github.com/kakwa/uts-server'
|
||||
sh 'git clean -fdx'
|
||||
sh 'cmake . -DBUNDLE_CIVETWEB=ON'
|
||||
sh 'make -j4'
|
||||
sh './tests/cfg/pki/create_tsa_certs'
|
||||
sh './tests/external_test.sh'
|
||||
}
|
||||
node(label: 'debian-8') {
|
||||
sh 'git config --global user.email "jenkins@kakwa.fr"'
|
||||
sh 'git config --global user.name "jenkins@kakwa.fr"'
|
||||
git 'https://github.com/kakwa/uts-server'
|
||||
sh 'git clean -fdx'
|
||||
sh 'cmake . -DBUNDLE_CIVETWEB=ON'
|
||||
sh 'make -j4'
|
||||
sh './tests/cfg/pki/create_tsa_certs'
|
||||
sh './tests/external_test.sh'
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
)
|
||||
}
|
||||
@ -60,4 +68,4 @@ pipeline {
|
||||
GIT_SSL_NO_VERIFY = 'true'
|
||||
CIVETWEB_GITURL = 'https://gogs.kakwa.fr/kakwa/civetweb/'
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user