mirror of
https://github.com/valitydev/woody_erlang.git
synced 2024-11-06 02:15:19 +00:00
e615c85d70
* Add compex term formatting microbenchmark * Format FP numbers more neatly * Provide fast-path verbatim term formatter * Add memory pressure benchmark runner * Switch to rebar3_bench 0.2.1 package * Employ assert macros throughout main ct suite
47 lines
898 B
Groovy
47 lines
898 B
Groovy
#!groovy
|
|
// -*- mode: groovy -*-
|
|
|
|
def finalHook = {
|
|
runStage('store CT logs') {
|
|
archive '_build/test/logs/'
|
|
}
|
|
}
|
|
|
|
build('woody_erlang', 'docker-host', finalHook) {
|
|
checkoutRepo()
|
|
loadBuildUtils()
|
|
|
|
def pipeDefault
|
|
def withWsCache
|
|
runStage('load pipeline') {
|
|
env.JENKINS_LIB = "build_utils/jenkins_lib"
|
|
pipeDefault = load("${env.JENKINS_LIB}/pipeDefault.groovy")
|
|
withWsCache = load("${env.JENKINS_LIB}/withWsCache.groovy")
|
|
}
|
|
|
|
pipeDefault() {
|
|
runStage('compile') {
|
|
withGithubPrivkey {
|
|
sh 'make wc_compile'
|
|
}
|
|
}
|
|
runStage('lint') {
|
|
sh 'make wc_lint'
|
|
}
|
|
runStage('xref') {
|
|
sh 'make wc_xref'
|
|
}
|
|
runStage('dialyze') {
|
|
withGithubPrivkey {
|
|
withWsCache("_build/test/rebar3_21.3.8.7_plt") {
|
|
sh 'make wc_dialyze'
|
|
}
|
|
}
|
|
}
|
|
runStage('test') {
|
|
sh "make wc_test"
|
|
}
|
|
}
|
|
}
|
|
|