-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The Linux x86-64 wheel, Windows 64- and 32-bit wheels, the `qiskit-terra` sdist and the `qiskit` metapackage all failed to upload, though the other seven wheels succeeded. This retriggers CD to reploy them.
- Loading branch information
1 parent
0a969db
commit eaebfbc
Showing
2 changed files
with
5 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ | |
name: Wheel Builds | ||
on: | ||
push: | ||
tags: | ||
- '*' | ||
branches: ["redeploy-0.46.3"] | ||
|
||
jobs: | ||
build_wheels: | ||
name: Build wheels | ||
|
@@ -12,57 +12,27 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-12, windows-latest] | ||
os: [ubuntu-latest, windows-latest] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
name: Install Python | ||
with: | ||
python-version: '3.10' | ||
- uses: dtolnay/rust-toolchain@stable | ||
if: runner.os != 'macOS' | ||
- uses: dtolnay/[email protected] | ||
if: runner.os == 'macOS' | ||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
path: ./wheelhouse/*.whl | ||
name: wheels-${{ matrix.os }} | ||
build_wheels_macos_arm: | ||
name: Build wheels on macOS arm | ||
runs-on: ${{ matrix.os }} | ||
environment: release | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [macos-12] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
name: Install Python | ||
with: | ||
python-version: '3.10' | ||
- uses: dtolnay/rust-toolchain@stable | ||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
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]))')" | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
path: ./wheelhouse/*.whl | ||
name: wheels-${{ matrix.os }}-arm | ||
upload_shared_wheels: | ||
name: Upload shared build wheels | ||
runs-on: ubuntu-latest | ||
environment: release | ||
permissions: | ||
id-token: write | ||
needs: ["build_wheels", "build_wheels_macos_arm"] | ||
needs: ["build_wheels"] | ||
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
|
@@ -73,107 +43,6 @@ jobs: | |
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
packages-dir: deploy | ||
build_wheels_s390x: | ||
name: Build wheels on s390x | ||
runs-on: ${{ matrix.os }} | ||
environment: release | ||
permissions: | ||
id-token: write | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
name: Install Python | ||
with: | ||
python-version: '3.10' | ||
- uses: dtolnay/rust-toolchain@stable | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
with: | ||
platforms: all | ||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS_LINUX: s390x | ||
CIBW_TEST_SKIP: "cp*" | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: wheels-${{ matrix.os }}-s390x | ||
path: ./wheelhouse/*.whl | ||
- name: Publish package distributions to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
packages-dir: wheelhouse/ | ||
build_wheels_ppc64le: | ||
name: Build wheels on ppc64le | ||
runs-on: ${{ matrix.os }} | ||
environment: release | ||
permissions: | ||
id-token: write | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
name: Install Python | ||
with: | ||
python-version: '3.10' | ||
- uses: dtolnay/rust-toolchain@stable | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
with: | ||
platforms: all | ||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS_LINUX: ppc64le | ||
CIBW_TEST_SKIP: "cp*" | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: wheels-${{ matrix.os }}-ppc64le | ||
path: ./wheelhouse/*.whl | ||
- name: Publish package distributions to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
packages-dir: wheelhouse/ | ||
build_wheels_aarch64: | ||
name: Build wheels on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
environment: release | ||
permissions: | ||
id-token: write | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
name: Install Python | ||
with: | ||
python-version: '3.10' | ||
- uses: dtolnay/rust-toolchain@stable | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
with: | ||
platforms: all | ||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS_LINUX: aarch64 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: wheels-${{ matrix.os }}-aarch64 | ||
path: ./wheelhouse/*.whl | ||
- name: Publish package distributions to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
packages-dir: wheelhouse/ | ||
sdist: | ||
name: Build and publish terra sdist | ||
runs-on: ${{ matrix.os }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters