Skip to content

Commit

Permalink
Jenkinsfile changes for apache#7333.
Browse files Browse the repository at this point in the history
 * Make build/standalone_crt available to CI unit tests.
 * We could do this with stash but it's complex because we would need
   to use wildcards. Instead, rebuild standalone_crt source tree before testing.
  • Loading branch information
areusch committed Feb 1, 2021
1 parent 2365c7e commit f1a03cc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ stage('Unit Test') {
unpack_lib('gpu', tvm_multilib)
timeout(time: max_time, unit: 'MINUTES') {
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_ci_python_setup.sh"
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_config_build_gpu.sh"
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_build.sh build standalone_crt"
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_sphinx_precheck.sh"
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_python_unittest_gpuonly.sh"
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_python_integration_gpuonly.sh"
Expand All @@ -262,6 +264,8 @@ stage('Unit Test') {
unpack_lib('i386', tvm_multilib)
timeout(time: max_time, unit: 'MINUTES') {
sh "${docker_run} ${ci_i386} ./tests/scripts/task_ci_python_setup.sh"
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_config_build_i386.sh"
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_build.sh build standalone_crt"
sh "${docker_run} ${ci_i386} ./tests/scripts/task_python_unittest.sh"
sh "${docker_run} ${ci_i386} ./tests/scripts/task_python_integration.sh"
sh "${docker_run} ${ci_i386} ./tests/scripts/task_python_vta_fsim.sh"
Expand All @@ -276,6 +280,8 @@ stage('Unit Test') {
unpack_lib('arm', tvm_multilib)
timeout(time: max_time, unit: 'MINUTES') {
sh "${docker_run} ${ci_arm} ./tests/scripts/task_ci_python_setup.sh"
sh "${docker_run} ${ci_arm} ./tests/scripts/task_config_build_arm.sh"
sh "${docker_run} ${ci_arm} ./tests/scripts/task_build.sh build standalone_crt"
sh "${docker_run} ${ci_arm} ./tests/scripts/task_python_unittest.sh"
// sh "${docker_run} ${ci_arm} ./tests/scripts/task_python_integration.sh"
}
Expand Down

0 comments on commit f1a03cc

Please sign in to comment.