Skip to content

Commit 2daddcf

Browse files
mehrdadhylc
authored andcommitted
[CI] Add TVM_INTEGRATION_I386_ONLY for Integration Test on i386 (apache#9388)
* add script * address comment
1 parent 0132664 commit 2daddcf

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ stage('Unit Test') {
331331
unpack_lib('cpu', tvm_multilib_tsim)
332332
timeout(time: max_time, unit: 'MINUTES') {
333333
sh "${docker_run} ${ci_cpu} ./tests/scripts/task_ci_setup.sh"
334-
sh "${docker_run} ${ci_cpu} ./tests/scripts/task_python_integration.sh"
334+
sh "${docker_run} ${ci_cpu} ./tests/scripts/task_python_integration_i386only.sh"
335335
junit "build/pytest-results/*.xml"
336336
}
337337
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/bash
2+
# Licensed to the Apache Software Foundation (ASF) under one
3+
# or more contributor license agreements. See the NOTICE file
4+
# distributed with this work for additional information
5+
# regarding copyright ownership. The ASF licenses this file
6+
# to you under the Apache License, Version 2.0 (the
7+
# "License"); you may not use this file except in compliance
8+
# with the License. You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing,
13+
# software distributed under the License is distributed on an
14+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
# KIND, either express or implied. See the License for the
16+
# specific language governing permissions and limitations
17+
# under the License.
18+
set -e
19+
set -u
20+
21+
export TVM_INTEGRATION_I386_ONLY=1
22+
23+
./tests/scripts/task_python_integration.sh

0 commit comments

Comments
 (0)