-
Notifications
You must be signed in to change notification settings - Fork 6
/
Jenkinsfile
30 lines (30 loc) · 1.11 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
pipeline {
agent {
dockerfile {
label 'docker'
additionalBuildArgs '--build-arg K_COMMIT=$(cd deps/wasm-semantics/deps/k && git rev-parse --short=7 HEAD) --build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g)'
}
}
options { ansiColor('xterm') }
stages {
stage('Init title') {
when { changeRequest() }
steps { script { currentBuild.displayName = "PR ${env.CHANGE_ID}: ${env.CHANGE_TITLE}" } }
}
stage('Build') {
parallel {
stage('KWasm (normal)') { steps { sh 'make build -j4' } }
stage('KWasm (coverage)') { steps { sh 'make build -j4 BUILD=coverage' } }
stage('Polkadot') { steps { sh 'make polkadot-runtime-source ; git checkout src/ ;' } }
}
}
stage('Test') {
options { timeout(time: 20, unit: 'MINUTES') }
parallel {
stage('Prove High Level Specs') { steps { sh 'make prove-specs -j6' } }
stage('Python Config') { steps { sh 'make test-python-config' } }
stage('Run Search') { steps { sh 'make test-search' } }
}
}
}
}