mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-02 23:39:58 +00:00
Minor fixes to CI definitions (#80)
* Align win gpu ci parameters with vsts definition * Fix linux CI script to avoid docker name conflict
This commit is contained in:
parent
47a6992e1b
commit
1e59b6f1c2
2 changed files with 3 additions and 2 deletions
|
|
@ -87,7 +87,7 @@ jobs:
|
|||
- task: BatchScript@1
|
||||
inputs:
|
||||
filename: build.bat
|
||||
arguments: ' --enable_onnx_tests --use_cuda --cuda_home="C:\local\cuda-9.1.85-windows10-x64-0" --cudnn_home="C:\local\cudnn-9.1-windows10-x64-v7.1\cuda"'
|
||||
arguments: ' --use_cuda --cuda_home="C:\local\cuda-9.1.85-windows10-x64-0" --cudnn_home="C:\local\cudnn-9.1-windows10-x64-v7.1\cuda"'
|
||||
workingFolder: "$(Build.SourcesDirectory)"
|
||||
|
||||
- task: CmdLine@1
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ fi
|
|||
set +e
|
||||
|
||||
if [ $BUILD_DEVICE = "cpu" ]; then
|
||||
docker rm -f $HOSTNAME || true
|
||||
docker rm -f "onnxruntime-$BUILD_DEVICE" || true
|
||||
docker run -h $HOSTNAME \
|
||||
--rm -e AZURE_BLOB_KEY \
|
||||
--name "onnxruntime-$BUILD_DEVICE" \
|
||||
|
|
@ -45,6 +45,7 @@ if [ $BUILD_DEVICE = "cpu" ]; then
|
|||
/bin/bash /onnxruntime_src/tools/ci_build/github/linux/run_build.sh \
|
||||
-d $BUILD_DEVICE -x "$BUILD_EXTR_PAR" &
|
||||
else
|
||||
docker rm -f "onnxruntime-$BUILD_DEVICE" || true
|
||||
nvidia-docker run --rm -h $HOSTNAME \
|
||||
--rm -e AZURE_BLOB_KEY \
|
||||
--name "onnxruntime-$BUILD_DEVICE" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue