aboutsummaryrefslogtreecommitdiffstats
path: root/.azure-pipelines/wheel-builder.yml
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2019-05-08 14:44:25 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2019-05-08 14:44:25 -0400
commit630b0062976d57d84532b090fb6359abf4af82b6 (patch)
treea7b545cfd251323e73b931502640417fc6e5de26 /.azure-pipelines/wheel-builder.yml
parentab115a9d1953f4e71be818b614beba96fd96df22 (diff)
downloadcryptography-630b0062976d57d84532b090fb6359abf4af82b6.tar.gz
cryptography-630b0062976d57d84532b090fb6359abf4af82b6.tar.bz2
cryptography-630b0062976d57d84532b090fb6359abf4af82b6.zip
Use a different azure task for uploading and stop installing idna (#4882)
Diffstat (limited to '.azure-pipelines/wheel-builder.yml')
-rw-r--r--.azure-pipelines/wheel-builder.yml16
1 files changed, 10 insertions, 6 deletions
diff --git a/.azure-pipelines/wheel-builder.yml b/.azure-pipelines/wheel-builder.yml
index 1507b4b4..1504aae7 100644
--- a/.azure-pipelines/wheel-builder.yml
+++ b/.azure-pipelines/wheel-builder.yml
@@ -35,7 +35,7 @@ jobs:
displayName: Create virtualenv
- script: .venv/bin/pip install -U wheel
displayName: Update wheel to the latest version
- - script: .venv/bin/pip install cffi six idna asn1crypto ipaddress "enum34; python_version < '3'"
+ - script: .venv/bin/pip install cffi six asn1crypto ipaddress "enum34; python_version < '3'"
displayName: Install our Python dependencies
- script: |
@@ -64,8 +64,10 @@ jobs:
- script: otool -L `find .venv -name '_openssl*.so'` | grep -vG "libcrypto\\|libssl"
displayName: Verify that we did not link against OpenSSL
- - upload: wheelhouse/
- artifact: cryptography-macos-python$(python.version)
+ - task: PublishBuildArtifacts@1
+ inputs:
+ pathToPublish: wheelhouse/
+ artifactName: cryptography-macos-python$(python.version)
- job: 'manylinux1'
pool:
@@ -82,7 +84,7 @@ jobs:
steps:
- script: /opt/python/$PYTHON_VERSION/bin/python -m virtualenv .venv
displayName: Create virtualenv
- - script: .venv/bin/pip install cffi six idna asn1crypto ipaddress enum34
+ - script: .venv/bin/pip install cffi six asn1crypto ipaddress enum34
displayName: Install our Python dependencies
- script: |
set -e
@@ -117,5 +119,7 @@ jobs:
- script: |
.venv/bin/python -c "from cryptography.hazmat.backends.openssl.backend import backend;print('Loaded: ' + backend.openssl_version_text());print('Linked Against: ' + backend._ffi.string(backend._lib.OPENSSL_VERSION_TEXT).decode('ascii'))"
displayName: Print the OpenSSL we built and linked against
- - upload: wheelhouse/
- artifact: cryptography-manylinux1-$(PYTHON_VERSION)
+ - task: PublishBuildArtifacts@1
+ inputs:
+ pathToPublish: wheelhouse/
+ artifactName: cryptography-manylinux1-$(PYTHON_VERSION)