Skip to content

Commit

Permalink
Retrigger qiskit-pkg with corrected path
Browse files Browse the repository at this point in the history
  • Loading branch information
mtreinish committed Aug 17, 2023
1 parent 6ec9083 commit 8c003b4
Showing 1 changed file with 1 addition and 55 deletions.
56 changes: 1 addition & 55 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,60 +92,6 @@ parameters:
stages:
- stage: "Deploy"
jobs:
- template: ".azure/wheels.yml"
parameters:
jobName: "linux"
pool: {vmImage: 'ubuntu-latest'}

- template: ".azure/wheels.yml"
parameters:
jobName: "macos"
pool: {vmImage: 'macOS-11'}

- template: ".azure/wheels.yml"
parameters:
jobName: "macos_arm"
pool: {vmImage: 'macOS-11'}
env:
CIBW_BEFORE_ALL: rustup target add aarch64-apple-darwin
CIBW_ARCHS_MACOS: arm64 universal2
CIBW_ENVIRONMENT: >-
CARGO_BUILD_TARGET="aarch64-apple-darwin"
PYO3_CROSS_LIB_DIR="/Library/Frameworks/Python.framework/Versions/$(python -c 'import sys; print(str(sys.version_info[0])+"."+str(sys.version_info[1]))')/lib/python$(python -c 'import sys; print(str(sys.version_info[0])+"."+str(sys.version_info[1]))')"
- template: ".azure/wheels.yml"
parameters:
jobName: "windows"
pool: {vmImage: 'windows-latest'}
setupPython:
- ${{ each version in parameters.supportedPythonVersions }}:
- task: UsePythonVersion@0
inputs:
versionSpec: ${{ version }}
architecture: x86
- task: UsePythonVersion@0
inputs:
versionSpec: ${{ version }}
architecture: x64

- job: 'sdist'
pool: {vmImage: 'ubuntu-latest'}
steps:
- task: UsePythonVersion@0
- bash: |
set -e
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools_rust
python setup.py sdist
- task: PublishBuildArtifacts@1
inputs: {pathtoPublish: 'dist'}
condition: succeededOrFailed()
- bash: |
python -m pip install --upgrade twine
twine upload dist/*
env:
TWINE_USERNAME: "qiskit"
TWINE_PASSWORD: $(TWINE_PASSWORD)
- job: 'qiskit_pkg'
pool: {vmImage: 'ubuntu-latest'}
steps:
Expand All @@ -156,7 +102,7 @@ stages:
cd qiskit_pkg
python -m build .
- task: PublishBuildArtifacts@1
inputs: {pathtoPublish: 'dist'}
inputs: {pathtoPublish: 'qiskit_pkg/dist'}
condition: succeededOrFailed()
- bash: |
python -m pip install --upgrade twine
Expand Down

0 comments on commit 8c003b4

Please sign in to comment.