diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2020-03-21 15:14:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-21 14:14:46 -0500 |
commit | 937a7daf1ffbec28e06ecda9be28b17d776fc442 (patch) | |
tree | 03f930b05ae9c745ffd5b27d537bbf9612b47a6f /.azure-pipelines/wheel-builder.yml | |
parent | 1ac825f28d0c4956c309b4470ec85430b1bbf3dc (diff) | |
download | cryptography-937a7daf1ffbec28e06ecda9be28b17d776fc442.tar.gz cryptography-937a7daf1ffbec28e06ecda9be28b17d776fc442.tar.bz2 cryptography-937a7daf1ffbec28e06ecda9be28b17d776fc442.zip |
Move wheel builer to github actions (#5147)
Diffstat (limited to '.azure-pipelines/wheel-builder.yml')
-rw-r--r-- | .azure-pipelines/wheel-builder.yml | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/.azure-pipelines/wheel-builder.yml b/.azure-pipelines/wheel-builder.yml index 47668263..6fcb3bc1 100644 --- a/.azure-pipelines/wheel-builder.yml +++ b/.azure-pipelines/wheel-builder.yml @@ -150,82 +150,3 @@ jobs: inputs: pathToPublish: wheelhouse/ artifactName: cryptography-$(PLATFORM)-$(PYTHON_VERSION) - - - job: 'windows' - pool: - vmImage: 'windows-2019' - container: $[variables.containerImage] - strategy: - matrix: - Python27-x86: - containerImage: 'pyca/cryptography-runner-windows:py27-x86' - PYTHON_VERSION: '27' - OPENSSL_DIR: 'OpenSSL-Win32-2010' - WINDOWS_ARCH: 'x86' - Python27-x86-64: - containerImage: 'pyca/cryptography-runner-windows:py27-x86_64' - PYTHON_VERSION: '27' - OPENSSL_DIR: 'OpenSSL-Win64-2010' - WINDOWS_ARCH: 'x86_64' - Python35-x86: - containerImage: 'pyca/cryptography-runner-windows:py35-x86' - PYTHON_VERSION: '35' - OPENSSL_DIR: 'OpenSSL-Win32-2015' - WINDOWS_ARCH: 'x86' - Python35-x86-64: - containerImage: 'pyca/cryptography-runner-windows:py35-x86_64' - PYTHON_VERSION: '35' - OPENSSL_DIR: 'OpenSSL-Win64-2015' - WINDOWS_ARCH: 'x86_64' - Python36-x86: - containerImage: 'pyca/cryptography-runner-windows:py3-x86' - PYTHON_VERSION: '36' - OPENSSL_DIR: 'OpenSSL-Win32-2015' - WINDOWS_ARCH: 'x86' - Python36-x86-64: - containerImage: 'pyca/cryptography-runner-windows:py3-x86_64' - PYTHON_VERSION: '36' - OPENSSL_DIR: 'OpenSSL-Win64-2015' - WINDOWS_ARCH: 'x86_64' - Python37-x86: - containerImage: 'pyca/cryptography-runner-windows:py3-x86' - PYTHON_VERSION: '37' - OPENSSL_DIR: 'OpenSSL-Win32-2015' - WINDOWS_ARCH: 'x86' - Python37-x86-64: - containerImage: 'pyca/cryptography-runner-windows:py3-x86_64' - PYTHON_VERSION: '37' - OPENSSL_DIR: 'OpenSSL-Win64-2015' - WINDOWS_ARCH: 'x86_64' - Python38-x86: - containerImage: 'pyca/cryptography-runner-windows:py3-x86' - PYTHON_VERSION: '38' - OPENSSL_DIR: 'OpenSSL-Win32-2015' - WINDOWS_ARCH: 'x86' - Python38-x86-64: - containerImage: 'pyca/cryptography-runner-windows:py3-x86_64' - PYTHON_VERSION: '38' - OPENSSL_DIR: 'OpenSSL-Win64-2015' - WINDOWS_ARCH: 'x86_64' - steps: - - script: | - "C:/Python%PYTHON_VERSION%/Scripts/pip" install cffi six ipaddress "enum34; python_version < '3'" - displayName: Install wheel and our Python dependencies - - script: | - set INCLUDE=C:/%OPENSSL_DIR%/include;%INCLUDE% - set LIB=C:/%OPENSSL_DIR%/lib;%LIB% - C:/Python%PYTHON_VERSION%/Scripts/pip wheel cryptography==%BUILD_VERSION% --wheel-dir=wheelhouse --no-binary cryptography - displayName: Build the wheel - - script: '"C:/Python%PYTHON_VERSION%/Scripts/pip" install -f wheelhouse cryptography --no-index' - displayName: Test installing the wheel - - script: | - "C:/Python%PYTHON_VERSION%/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 - - script: mkdir cryptography-wheelhouse - displayName: Create a directory for placing the final wheel in - - script: move wheelhouse\cryptography*.whl cryptography-wheelhouse\ - displayName: Move the cryptography wheel into the final wheel house - - task: PublishBuildArtifacts@1 - inputs: - pathToPublish: cryptography-wheelhouse/ - artifactName: cryptography-windows-$(WINDOWS_ARCH)-python$(PYTHON_VERSION) |