Skip to content

Commit 8cccc25

Browse files
authored
[ci] Enable CRT tests for CPU minimal build (#13471)
Fixes #13462
1 parent e2fc4d7 commit 8cccc25

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

Jenkinsfile

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ci/jenkins/Build.groovy.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,9 @@ stage('Build') {
116116
label: 'Create CPU minimal cmake config',
117117
)
118118
cmake_build(ci_minimal, 'build', '-j2')
119+
make_standalone_crt(ci_minimal, 'build')
119120
make_cpp_tests(ci_minimal, 'build')
120-
{{ m.upload_artifacts(tag='cpu-minimal', filenames=tvm_lib + tvm_allvisible + cpptest) }}
121+
{{ m.upload_artifacts(tag='cpu-minimal', filenames=tvm_lib + tvm_allvisible + crttest + cpptest + standalone_crt) }}
121122
{% endcall %}
122123

123124
{% call m.build_step(

ci/jenkins/Test.groovy.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ def run_unittest_minimal() {
265265
) %}
266266
{{ m.download_artifacts(tag='cpu-minimal') }}
267267
cpp_unittest(ci_minimal)
268+
micro_cpp_unittest(ci_minimal)
268269
python_unittest(ci_minimal)
269270
{% endcall %}
270271
}

tests/scripts/task_config_build_minimal.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,3 @@ echo set\(HIDE_PRIVATE_SYMBOLS ON\) >> config.cmake
3232
echo set\(USE_LIBBACKTRACE ON\) >> config.cmake
3333
echo set\(USE_CCACHE OFF\) >> config.cmake
3434
echo set\(SUMMARIZE ON\) >> config.cmake
35-
echo set\(USE_MICRO OFF\) >> config.cmake

0 commit comments

Comments
 (0)