mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-09 17:28:58 +00:00
Fix Bug: Step failed but not exited with error (#17442)
### Description Add "set -ex" in the script. ### Motivation and Context Build failed but it still passed. https://dev.azure.com/onnxruntime/onnxruntime/_build/results?buildId=1132003&view=logs&j=7536d2cd-87d4-54fe-4891-bfbbf2741d83&t=39e3f98f-7fe5-578c-20bd-5ae5a4590bda
This commit is contained in:
parent
b38fb0da06
commit
0a3eb60b01
1 changed files with 2 additions and 1 deletions
|
|
@ -85,7 +85,8 @@ jobs:
|
|||
-e CCACHE_DIR=/cache \
|
||||
onnxruntimetensorrt86gpubuild \
|
||||
/bin/bash -c "
|
||||
cccache -s; \
|
||||
set -ex; \
|
||||
ccache -s; \
|
||||
/opt/python/cp38-cp38/bin/python3 /onnxruntime_src/tools/ci_build/build.py \
|
||||
--build_dir /build --cmake_generator Ninja \
|
||||
--config Release \
|
||||
|
|
|
|||
Loading…
Reference in a new issue