diff --git a/.github/workflows/demo_test.yml b/.github/workflows/demo_test.yml index 23ff09a1..4a172e64 100644 --- a/.github/workflows/demo_test.yml +++ b/.github/workflows/demo_test.yml @@ -427,7 +427,7 @@ jobs: run: docker exec openvino_test bash -c "source /opt/intel/sgxsdk/environment; cd /root/occlum; OCCLUM_RELEASE_BUILD=y make install" - name: Run openVINO benchmark - run: docker exec openvino_test bash -c "cd /root/demos/openvino && SGX_MODE=SIM ./run_benchmark_on_occlum.sh" + run: docker exec openvino_test bash -c "cd /root/demos/openvino && cp -rf /root/occlum/demos/openvino/* . && SGX_MODE=SIM ./run_benchmark_on_occlum.sh" # Python test also needs its own image because in Alpine environment, modules are built locally and consumes a lot of time. diff --git a/demos/openvino/openvino.yaml b/demos/openvino/openvino.yaml index 4355631c..3f582ce7 100644 --- a/demos/openvino/openvino.yaml +++ b/demos/openvino/openvino.yaml @@ -7,13 +7,12 @@ targets: copy: - files: - ../openvino_src/bin/intel64/Release/benchmark_app - # copy plugins.xml - - target: /lib - copy: - - files: - - ../openvino_src/bin/intel64/Release/lib/plugins.xml - # copy models + # copy models and libs - target: / copy: - - files: - - ../model \ No newline at end of file + - dirs: + - ../model + - target: /root/demos/openvino/openvino_src/bin/intel64/Release/ + copy: + - dirs: + - ../openvino_src/bin/intel64/Release/lib