Skip to content

Commit dd05013

Browse files
committed
openvino ci test update
1 parent 50aa613 commit dd05013

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

.ci/scripts/setup-openvino.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ make -j$(nproc)
2121
cd ..
2222
cmake --install build --prefix dist
2323

24-
#cd backends/openvino/scripts
25-
#./openvino_build.sh --enable_python
24+
cd ../backends/openvino/scripts
25+
./openvino_build.sh --enable_python

.ci/scripts/test_openvino.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
# Copyright (c) Meta Platforms, Inc. and affiliates.
3+
# All rights reserved.
4+
#
5+
# This source code is licensed under the BSD-style license found in the
6+
# LICENSE file in the root directory of this source tree.
7+
8+
set -exu
9+
10+
# shellcheck source=/dev/null
11+
source "$(dirname "${BASH_SOURCE[0]}")/utils.sh"
12+
13+
source openvino/dist/setupvars.sh
14+
cd backends/openvino/tests
15+
python test_runner.py --test_type ops
16+
python test_runner.py --test_type models

.github/workflows/pull.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,3 +759,4 @@ jobs:
759759
BUILD_TOOL="cmake"
760760
761761
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-openvino.sh
762+
PYTHON_EXECUTABLE=python bash .ci/scripts/test_openvino.sh

0 commit comments

Comments
 (0)