Updated azure-ci-build-pipeline.yaml

This commit is contained in:
Marek Wolan
2023-07-03 12:44:01 +00:00
parent 4b56e7bd3a
commit fa231057a8

View File

@@ -55,12 +55,15 @@ steps:
displayName: 'Build PrimAITE'
- script: |
- ${{ if eq( variables['Agent.OS'], 'Linux') }}:
PRIMAITE_WHEEL=$(ls ./dist/primaite*.whl)
python -m pip install $PRIMAITE_WHEEL[dev]
- ${{ elseif eq( variables['Agent.OS'], 'Windows_NT') }}:
displayName: 'Install PrimAITE'
condition: eq( variables['Agent.OS'], 'Linux' )
- script: |
forfiles /p dist\ /m *.whl /c "cmd /c python -m pip install @file"
displayName: 'Install PrimAITE'
condition: eq( variables['Agent.OS'], 'Windows_NT' )
- script: |
primaite setup