forked from runtimeverification/beacon-chain-verification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJenkinsfile
34 lines (33 loc) · 886 Bytes
/
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
pipeline {
options { ansiColor('xterm') }
agent {
dockerfile {
label 'docker'
additionalBuildArgs '--build-arg K_COMMIT=$(cd deps/k && git rev-parse --short=7 HEAD) --build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g)'
}
}
stages {
stage('Init title') {
when { changeRequest() }
steps { script { currentBuild.displayName = "PR ${env.CHANGE_ID}: ${env.CHANGE_TITLE}" } }
}
stage('Build and Test') {
parallel {
stage('Dynamic - K') {
stages {
stage('Build') { steps { sh 'cd dynamic && make build -j2' } }
stage('Test') { steps { sh 'cd dynamic && make test -j4' } }
}
}
//stage('Static - Coq') {
// steps {
// sh '''
// cd casper/coq
// make
// '''
// }
//}
}
}
}
}