Skip to content

Commit

Permalink
Remove 'call' from conda commands
Browse files Browse the repository at this point in the history
  • Loading branch information
wenbingl authored Mar 6, 2025
1 parent 8f30327 commit 71db91d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -474,31 +474,31 @@ stages:
displayName: Create Anaconda environment

- script: |
call conda init
call conda activate pyenv
conda init
conda activate pyenv
python -m pip install --upgrade pip
python -m pip install onnxruntime==$(ort.version)
python -m pip install -r requirements-dev.txt
displayName: Install requirements{-dev}.txt and cmake python modules
condition: ne(variables['python.version'], '3.12')
- script: |
call conda init
call conda activate pyenv
conda init
conda activate pyenv
set CMAKE_ARGS=-DOCOS_ONNXRUNTIME_VERSION=$(ort.version)
python -m pip install .
displayName: Build the wheel
- script: |
call conda init
call conda activate pyenv
conda init
conda activate pyenv
python -m pip install $(torch.version)
displayName: Install pytorch
condition: ne(variables['python.version'], '3.12')
- script: |
call conda init
call conda activate pyenv
conda init
conda activate pyenv
python -m pytest test
displayName: Run python test
condition: ne(variables['python.version'], '3.12')
Expand Down

0 comments on commit 71db91d

Please sign in to comment.