mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
passed the OnnxRuntimeBuildDirectory to the docker for the dotnet linux test (#381)
* passed the OnnxRuntimeBuildDirectory to the docker * removed the requirement for the docker host to set the env var * set the env var to the path where the build dir is mounted in the container
This commit is contained in:
parent
ccca1e9402
commit
ab730cc58d
1 changed files with 1 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ docker run -h $HOSTNAME \
|
|||
--volume "$BUILD_DIR:/home/onnxruntimedev" \
|
||||
--volume "$HOME/.cache/onnxruntime:/home/onnxruntimedev/.cache/onnxruntime" \
|
||||
"onnxruntime-$IMAGE" \
|
||||
-e "OnnxRuntimeBuildDirectory=/home/onnxruntimedev" \
|
||||
/bin/bash /onnxruntime_src/csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh \
|
||||
/home/onnxruntimedev/$NUGET_REPO_DIRNAME /onnxruntime_src /home/onnxruntimedev $TestDataUrl $TestDataChecksum &
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue