Skip to content

Commit

Permalink
try new pip (#50)
Browse files Browse the repository at this point in the history
* try new pip

* apply manylinux1 tag earlier for test

* pip
  • Loading branch information
Korijn authored and almarklein committed Jan 24, 2020
1 parent 5f32b7c commit aeb63cd
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
targetType: inline
script: |
set -ex
python -m pip install -U "pip<20.0.0"
python -m pip install -U pip
pip install -U -r dev-requirements.txt
- task: Bash@3
displayName: Create source distribution
Expand Down Expand Up @@ -101,6 +101,18 @@ jobs:
mergeTestResults: true
failTaskOnFailedTests: true
testRunTitle: Test $(vmImage)
- task: Bash@3
displayName: Manylinux1 tag
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
inputs:
targetType: inline
script: |
set -ex
sudo apt-get update
sudo apt-get install -y patchelf
auditwheel repair dist/*.whl
rm dist/*.whl
cp wheelhouse/*.whl dist/.
- task: Bash@3
displayName: Test wheel
inputs:
Expand Down Expand Up @@ -143,18 +155,6 @@ jobs:
# don't run tests, we just want to know if the sdist can be installed
pip uninstall -y wgpu
git reset --hard HEAD
- task: Bash@3
displayName: Manylinux1 tag
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
inputs:
targetType: inline
script: |
set -ex
sudo apt-get update
sudo apt-get install -y patchelf
auditwheel repair dist/*.whl
rm dist/*.whl
cp wheelhouse/*.whl dist/.
- task: Bash@3
displayName: Twine check
inputs:
Expand Down Expand Up @@ -215,7 +215,7 @@ jobs:
targetType: inline
script: |
set -ex
python -m pip install -U "pip<20.0.0" setuptools
python -m pip install -U pip setuptools
python -m pip install -U wheel twine
- task: TwineAuthenticate@1
displayName: Authenticate with PyPI
Expand Down

0 comments on commit aeb63cd

Please sign in to comment.