From 2d35c9ab35782f11a18335fccba2992ce88a26c5 Mon Sep 17 00:00:00 2001 From: lvhan028 Date: Wed, 26 Oct 2022 04:35:59 -0700 Subject: [PATCH] fix test_windows_onnruntime workflow error in circleci (#1254) --- .circleci/scripts/linux/build.sh | 6 +----- .circleci/test.yml | 8 +------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.circleci/scripts/linux/build.sh b/.circleci/scripts/linux/build.sh index fdd55ca60..77342f9dd 100644 --- a/.circleci/scripts/linux/build.sh +++ b/.circleci/scripts/linux/build.sh @@ -6,11 +6,7 @@ cd mmdeploy MMDEPLOY_DIR=$(pwd) mkdir -p build && cd build cmake .. -DMMDEPLOY_BUILD_SDK=ON -DMMDEPLOY_BUILD_TEST=ON -DMMDEPLOY_BUILD_SDK_PYTHON_API=ON \ - -DMMDEPLOY_BUILD_SDK_CXX_API=ON -DMMDEPLOY_BUILD_SDK_CSHARP_API=ON \ + -DMMDEPLOY_BUILD_EXAMPLES=ON -DMMDEPLOY_BUILD_SDK_CXX_API=ON -DMMDEPLOY_BUILD_SDK_CSHARP_API=ON \ -DMMDEPLOY_TARGET_DEVICES="$1" -DMMDEPLOY_TARGET_BACKENDS="$2" "${ARGS[@]:2}" make -j$(nproc) && make install -cd install/example -mkdir -p build -cd build -cmake ../cpp -DMMDeploy_DIR="$MMDEPLOY_DIR"/build/install/lib/cmake/MMDeploy "${ARGS[@]:2}" && make -j$(nproc) diff --git a/.circleci/test.yml b/.circleci/test.yml index d751ae6a6..07648f4b1 100644 --- a/.circleci/test.yml +++ b/.circleci/test.yml @@ -216,19 +216,13 @@ jobs: -DMMDEPLOY_BUILD_SDK=ON ` -DMMDEPLOY_BUILD_TEST=ON ` -DMMDEPLOY_BUILD_SDK_PYTHON_API=ON ` + -DMMDEPLOY_BUILD_EXAMPLES=ON ` -DMMDEPLOY_BUILD_SDK_CXX_API=ON ` -DMMDEPLOY_BUILD_SDK_CSHARP_API=ON ` -DMMDEPLOY_TARGET_BACKENDS="ort" ` -DOpenCV_DIR="$env:OPENCV_PACKAGE_DIR" cmake --build . --config Release -- /m cmake --install . --config Release - cd install/example - mkdir build -ErrorAction SilentlyContinue - cd build - cmake ../cpp -G "Visual Studio 16 2019" -A x64 -T v142 ` - -DMMDeploy_DIR="$env:MMDEPLOY_DIR/build/install/lib/cmake/MMDeploy" ` - -DOpenCV_DIR="$env:OPENCV_PACKAGE_DIR" - cmake --build . --config Release -- /m - install_mmdeploy - install_model_converter_req - perform_model_converter_ut