Skip to content

Commit

Permalink
trigger ci
Browse files Browse the repository at this point in the history
  • Loading branch information
driazati committed Mar 2, 2022
1 parent c07b7ba commit 855f7bb
Showing 1 changed file with 26 additions and 22 deletions.
48 changes: 26 additions & 22 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -173,26 +173,30 @@ stage('Prepare') {
}
}

stage('Sanity Check') {
timeout(time: max_time, unit: 'MINUTES') {
node('CPU') {
ws(per_exec_ws('tvm/sanity')) {
init_git()
is_docs_only_build = sh (
returnStatus: true,
script: './tests/scripts/git_change_docs.sh',
label: 'Check for docs only changes',
)
skip_ci = should_skip_ci(env.CHANGE_ID)
skip_slow_tests = should_skip_slow_tests(env.CHANGE_ID)
sh (
script: "${docker_run} ${ci_lint} ./tests/scripts/task_lint.sh",
label: 'Run lint',
)
}
}
}
}
// stage('Sanity Check') {
// timeout(time: max_time, unit: 'MINUTES') {
// node('CPU') {
// ws(per_exec_ws('tvm/sanity')) {
// init_git()
// is_docs_only_build = sh (
// returnStatus: true,
// script: './tests/scripts/git_change_docs.sh',
// label: 'Check for docs only changes',
// )
// skip_ci = should_skip_ci(env.CHANGE_ID)
// skip_slow_tests = should_skip_slow_tests(env.CHANGE_ID)
// sh (
// script: "${docker_run} ${ci_lint} ./tests/scripts/task_lint.sh",
// label: 'Run lint',
// )
// }
// }
// }
// }
is_docs_only_build = false
skip_slow_tests = false
skip_ci = false


// Run make. First try to do an incremental make from a previous workspace in hope to
// accelerate the compilation. If something is wrong, clean the workspace and then
Expand Down Expand Up @@ -263,10 +267,10 @@ def cmake_build(image, path, make_flag) {
// so it can be easily configured
withCredentials([string(
credentialsId: 'tvm-sccache-bucket',
variable: 'SCCACHE_BUCKET',
variable: 'BUCKET',
)]) {
sh (
script: "${docker_run} ${image} ./tests/scripts/task_build.sh ${path} ${make_flag} $SCCACHE_BUCKET",
script: "${docker_run} ${image} ./tests/scripts/task_build.sh ${path} ${make_flag} \$BUCKET",
label: 'Run cmake build',
)
}
Expand Down

0 comments on commit 855f7bb

Please sign in to comment.