-
Notifications
You must be signed in to change notification settings - Fork 22
/
Jenkinsfile
67 lines (59 loc) · 3.17 KB
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
pipeline {
agent none
stages {
stage('Compile') {
steps {
parallel(
"OpenBSD 6.1": {
node(label: 'openbsd-6.1') {
sh 'git config --global user.name "[email protected]"'
sh 'git config --global user.email "[email protected]"'
git(url: 'https://github.com/kakwa/uts-server', poll: true, changelog: true)
sh 'git clean -fdx'
sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/; export CC=/usr/local/bin/egcc;export CXX=/usr/local/bin/ec++; cmake . -DBUNDLE_CIVETWEB=ON'
sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/; 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(label: 'freebsd-11') {
sh 'git config --global user.email "[email protected]"'
sh 'git config --global user.name "[email protected]"'
git(url: 'https://github.com/kakwa/uts-server', poll: true, changelog: true)
sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/;git clean -fdx'
sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/;cmake . -DBUNDLE_CIVETWEB=ON'
sh 'make -j4'
sh './tests/cfg/pki/create_tsa_certs'
sh './tests/external_test.sh'
}
},
"CentOS 7": {
node(label: 'centos-7') {
sh 'git config --global user.email "[email protected]"'
sh 'git config --global user.name "[email protected]"'
git(url: 'https://github.com/kakwa/uts-server', poll: true, changelog: true)
sh 'git clean -fdx'
sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/; export CXX=/usr/bin/clang++; export CC=/usr/bin/clang; cmake . -DBUNDLE_CIVETWEB=ON'
sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/; 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(label: 'debian-8') {
sh 'git config --global user.email "[email protected]"'
sh 'git config --global user.name "[email protected]"'
git(url: 'https://github.com/kakwa/uts-server', poll: true, changelog: true)
sh 'git clean -fdx'
sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/; cmake . -DBUNDLE_CIVETWEB=ON'
sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/; make -j4'
sh './tests/cfg/pki/create_tsa_certs'
sh './tests/external_test.sh'
}
}
)
}
}
}
}