diff --git a/tools/ci_build/github/linux/delete_unused_files_before_upload.sh b/tools/ci_build/github/linux/delete_unused_files_before_upload.sh index 5d7d01e31f..7398bc025b 100755 --- a/tools/ci_build/github/linux/delete_unused_files_before_upload.sh +++ b/tools/ci_build/github/linux/delete_unused_files_before_upload.sh @@ -2,6 +2,7 @@ set -e -x rm -rf $BUILD_BINARIESDIRECTORY/Release/onnxruntime $BUILD_BINARIESDIRECTORY/Release/pybind11 rm -f $BUILD_BINARIESDIRECTORY/Release/models +rm -rf $BUILD_BINARIESDIRECTORY/Release/vcpkg_installed find $BUILD_BINARIESDIRECTORY/Release/_deps -mindepth 1 ! -regex "^$BUILD_BINARIESDIRECTORY/Release/_deps/onnx-src\(/.*\)?" -delete cd $BUILD_BINARIESDIRECTORY/Release find -executable -type f > $BUILD_BINARIESDIRECTORY/Release/perms.txt diff --git a/tools/ci_build/github/linux/run_build.sh b/tools/ci_build/github/linux/run_build.sh index 25b3610872..db8c271e3c 100755 --- a/tools/ci_build/github/linux/run_build.sh +++ b/tools/ci_build/github/linux/run_build.sh @@ -37,7 +37,7 @@ if [ $BUILD_OS = "yocto" ]; then make -j$(nproc) else - COMMON_BUILD_ARGS="--skip_submodule_sync --enable_onnx_tests --parallel --use_binskim_compliant_compile_flags --cmake_path /usr/bin/cmake --ctest_path /usr/bin/ctest" + COMMON_BUILD_ARGS="--skip_submodule_sync --enable_onnx_tests --parallel --use_vcpkg --use_binskim_compliant_compile_flags --cmake_path /usr/bin/cmake --ctest_path /usr/bin/ctest" if [ $BUILD_DEVICE = "gpu" ]; then _CUDNN_VERSION=$(echo $CUDNN_VERSION | cut -d. -f1-2) diff --git a/tools/ci_build/github/linux/run_dockerbuild.sh b/tools/ci_build/github/linux/run_dockerbuild.sh index fa066022c7..df94a48c58 100755 --- a/tools/ci_build/github/linux/run_dockerbuild.sh +++ b/tools/ci_build/github/linux/run_dockerbuild.sh @@ -117,7 +117,7 @@ if [ $BUILD_DEVICE = "openvino" ] && [[ $BUILD_EXTR_PAR == *"--use_openvino GPU_ fi # Though this command has a yocto version argument, none of our ci build pipelines use yocto. $DOCKER_CMD run $RUNTIME --rm $DOCKER_RUN_PARAMETER \ - -e NIGHTLY_BUILD \ + -e NIGHTLY_BUILD -e SYSTEM_COLLECTIONURI \ -e $ALLOW_RELEASED_ONNX_OPSET_ONLY_ENV \ "onnxruntime-$IMAGE" \ /bin/bash /onnxruntime_src/tools/ci_build/github/linux/run_build.sh \