Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ jobs:
{os: ubuntu-24.04, dist: cp312-manylinux_x86_64},
{os: ubuntu-24.04, dist: cp313-manylinux_x86_64},
{os: ubuntu-24.04, dist: cp314-manylinux_x86_64},
{os: ubuntu-24.04, dist: cp38-manylinux_aarch64, linuxarch: aarch64},
{os: ubuntu-24.04, dist: cp39-manylinux_aarch64, linuxarch: aarch64},
{os: ubuntu-24.04, dist: cp310-manylinux_aarch64, linuxarch: aarch64},
{os: ubuntu-24.04, dist: cp311-manylinux_aarch64, linuxarch: aarch64},
{os: ubuntu-24.04, dist: cp312-manylinux_aarch64, linuxarch: aarch64},
{os: ubuntu-24.04, dist: cp313-manylinux_aarch64, linuxarch: aarch64},
{os: ubuntu-24.04, dist: cp314-manylinux_aarch64, linuxarch: aarch64},

# cp38-manylinux_i686 disabled because pandas isn't prebuilt and takes 20 minutes to build.
# {os: ubuntu-latest, dist: cp38-manylinux_i686},
Expand Down Expand Up @@ -144,12 +151,17 @@ jobs:
]
env:
CIBW_BUILD: "${{ matrix.os_dist.dist }}"
CIBW_ARCHS_LINUX: "${{ matrix.os_dist.linuxarch || 'auto' }}"
CIBW_ARCHS_MACOS: "${{ matrix.os_dist.macosarch }}"
CIBW_TEST_REQUIRES: cirq-core pytest
CIBW_TEST_COMMAND: pytest {project}/src {project}/glue/cirq && stim help
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 # v3
- if: runner.os == 'Linux' && matrix.os_dist.linuxarch == 'aarch64'
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
with:
platforms: arm64
- run: python dev/overwrite_dev_versions_with_date.py
- run: python -m pip install pybind11~=2.11.1 cibuildwheel~=3.3.1 setuptools wheel
- run: python -m cibuildwheel --print-build-identifiers
Expand Down
3 changes: 2 additions & 1 deletion doc/developer_documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -518,8 +518,9 @@ cibuildwheels can also be invoked locally, assuming you have Docker installed, u

```bash
CIBW_BUILD=cp39-manylinux_x86_64 cibuildwheel --platform linux
CIBW_BUILD=cp39-manylinux_aarch64 CIBW_ARCHS_LINUX=aarch64 cibuildwheel --platform linux
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The variable is set twice?

# output goes into wheelhouse/
````
```

When these wheels are finished building, they are automatically uploaded to
pypi as a dev version of stim.
Expand Down