Merged PR 103: Change build pipeline to enable installing from wheel on windows
## Summary Just splits the install primaite step into two depending if agent is using windows or not. ## Test process Ran a build successfully. ## Checklist - [ ] This PR is linked to a **work item** - [ ] I have performed **self-review** of the code - [ ] I have written **tests** for any new functionality added with this PR - [ ] I have updated the **documentation** if this PR changes or adds functionality - [ ] I have run **pre-commit** checks for code style
This commit is contained in:
@@ -58,6 +58,12 @@ steps:
|
|||||||
PRIMAITE_WHEEL=$(ls ./dist/primaite*.whl)
|
PRIMAITE_WHEEL=$(ls ./dist/primaite*.whl)
|
||||||
python -m pip install $PRIMAITE_WHEEL[dev]
|
python -m pip install $PRIMAITE_WHEEL[dev]
|
||||||
displayName: 'Install PrimAITE'
|
displayName: 'Install PrimAITE'
|
||||||
|
condition: or(eq( variables['Agent.OS'], 'Linux' ), eq( variables['Agent.OS'], 'Darwin' ))
|
||||||
|
|
||||||
|
- script: |
|
||||||
|
forfiles /p dist\ /m *.whl /c "cmd /c python -m pip install @file[dev]"
|
||||||
|
displayName: 'Install PrimAITE'
|
||||||
|
condition: eq( variables['Agent.OS'], 'Windows_NT' )
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
primaite setup
|
primaite setup
|
||||||
|
|||||||
Reference in New Issue
Block a user