Skip to content

Commit

Permalink
Revert deployment to only one version of MacOS because the binaries a…
Browse files Browse the repository at this point in the history
…re equivalent in PyPI's eyes.
  • Loading branch information
jpivarski authored Aug 16, 2019
1 parent acb2bef commit 2c4dc6f
Showing 1 changed file with 22 additions and 79 deletions.
101 changes: 22 additions & 79 deletions .ci/azure-deploy-awkward.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,30 +62,42 @@ jobs:
twine upload dist/* --config-file $(pypirc.secureFilePath) --verbose
displayName: "Deploy"
- job: MacOS_13
- job: Windows

pool:
vmImage: "macOS-10.13"
vmImage: "vs2017-win2016"

strategy:
matrix:
"py27":
"py27-32bit":
python.version: "2.7"
python.architecture: "x64"
python.architecture: "x86"
numpy.version: "latest"
"py34":
python.version: "3.4"
"py27-64bit":
python.version: "2.7"
python.architecture: "x64"
numpy.version: "latest"
"py35":
"py35-32bit":
python.version: "3.5"
python.architecture: "x86"
numpy.version: "latest"
"py35-64bit":
python.version: "3.5"
python.architecture: "x64"
numpy.version: "latest"
"py36":
"py36-32bit":
python.version: "3.6"
python.architecture: "x86"
numpy.version: "latest"
"py36-64bit":
python.version: "3.6"
python.architecture: "x64"
numpy.version: "latest"
"py37":
"py37-32bit":
python.version: "3.7"
python.architecture: "x86"
numpy.version: "latest"
"py37-64bit":
python.version: "3.7"
python.architecture: "x64"
numpy.version: "latest"
Expand Down Expand Up @@ -119,7 +131,7 @@ jobs:
twine upload dist/* --config-file $(pypirc.secureFilePath) --verbose
displayName: "Deploy"
- job: MacOS_14
- job: MacOS

pool:
vmImage: "macOS-10.14"
Expand Down Expand Up @@ -175,72 +187,3 @@ jobs:
- script: |
twine upload dist/* --config-file $(pypirc.secureFilePath) --verbose
displayName: "Deploy"
- job: Windows

pool:
vmImage: "vs2017-win2016"

strategy:
matrix:
"py27-32bit":
python.version: "2.7"
python.architecture: "x86"
numpy.version: "latest"
"py27-64bit":
python.version: "2.7"
python.architecture: "x64"
numpy.version: "latest"
"py35-32bit":
python.version: "3.5"
python.architecture: "x86"
numpy.version: "latest"
"py35-64bit":
python.version: "3.5"
python.architecture: "x64"
numpy.version: "latest"
"py36-32bit":
python.version: "3.6"
python.architecture: "x86"
numpy.version: "latest"
"py36-64bit":
python.version: "3.6"
python.architecture: "x64"
numpy.version: "latest"
"py37-32bit":
python.version: "3.7"
python.architecture: "x86"
numpy.version: "latest"
"py37-64bit":
python.version: "3.7"
python.architecture: "x64"
numpy.version: "latest"

steps:
- checkout: self
submodules: recursive

- task: DownloadSecureFile@1
name: pypirc
inputs:
secureFile: pivarski-pypirc
displayName: "Credentials"

- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
architecture: '$(python.architecture)'
displayName: 'Python $(python.version)'

- script: |
python -m pip install --upgrade pip
python -m pip install twine wheel
displayName: "Install"
- script: |
python setup.py bdist_wheel
displayName: "Build"
- script: |
twine upload dist/* --config-file $(pypirc.secureFilePath) --verbose
displayName: "Deploy"

0 comments on commit 2c4dc6f

Please sign in to comment.