From 3cabb8c197a262c5162bb1b4e6e2f9f94ac2d7af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=BE=D0=BB=D1=8F=D0=BD=D1=81=D0=BA=D0=B8=D1=85=20?= =?UTF-8?q?=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=28Polyanskikh=5FSV=29?= Date: Thu, 16 Jan 2025 16:16:30 +0400 Subject: [PATCH 1/4] add wheels for win32 --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 90a41966..3f5f99ea 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -361,7 +361,7 @@ jobs: strategy: fail-fast: false matrix: - target: [ x64, aarch64 ] + target: [ x64, aarch64, x86 ] python_version: [ '3.10', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9', 'pypy-3.10', '3.13t' ] exclude: - target: aarch64 @@ -378,7 +378,7 @@ jobs: if: matrix.python_version != '3.13t' with: python-version: ${{ matrix.python_version }} - architecture: x64 + architecture: ${{ matrix.target == 'x86' && 'x86' || 'x64' }} - uses: Quansight-Labs/setup-python@v5 if: matrix.python_version == '3.13t' && matrix.target == 'x64' with: From eb5b65d6f20ae311d8c403f8f936fe5d6c122565 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=BE=D0=BB=D1=8F=D0=BD=D1=81=D0=BA=D0=B8=D1=85=20?= =?UTF-8?q?=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=28Polyanskikh=5FSV=29?= Date: Thu, 16 Jan 2025 21:26:30 +0400 Subject: [PATCH 2/4] exclude pypy and 3.13t with x86 target --- .github/workflows/CI.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3f5f99ea..b48d1323 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -372,6 +372,16 @@ jobs: python_version: pypy-3.9 - target: aarch64 python_version: pypy-3.10 + - target: x86 + python_version: pypy-3.7 + - target: x86 + python_version: pypy-3.8 + - target: x86 + python_version: pypy-3.9 + - target: x86 + python_version: pypy-3.10 + - target: x86 + python_version: 3.13t steps: - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac - uses: actions/setup-python@v5 From 4af6a7e1e9821af3d199f1e8d7d7f277c1cdc051 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=BE=D0=BB=D1=8F=D0=BD=D1=81=D0=BA=D0=B8=D1=85=20?= =?UTF-8?q?=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=28Polyanskikh=5FSV=29?= Date: Thu, 16 Jan 2025 22:29:39 +0400 Subject: [PATCH 3/4] upload-artifact@v3 -> upload-artifact@v4 --- .github/workflows/CI.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b48d1323..15020437 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -347,7 +347,7 @@ jobs: export BINDGEN_EXTRA_CLANG_ARGS="--sysroot=/usr/local/musl/armv7-unknown-linux-musleabihf" - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wheels path: dist @@ -422,7 +422,7 @@ jobs: args: --release --out dist sccache: 'true' - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wheels path: dist @@ -457,7 +457,7 @@ jobs: args: --release --out dist --interpreter ${{ matrix.python_version }} sccache: 'true' - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wheels path: dist @@ -476,7 +476,7 @@ jobs: command: sdist args: --out dist - name: Upload sdist - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wheels path: dist From 7396ade015cc19ca020e1772a2aa02cdd9fa1152 Mon Sep 17 00:00:00 2001 From: "TAHRI Ahmed R." Date: Mon, 20 Jan 2025 13:10:57 +0100 Subject: [PATCH 4/4] Apply suggestions from code review --- .github/workflows/CI.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 15020437..b48d1323 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -347,7 +347,7 @@ jobs: export BINDGEN_EXTRA_CLANG_ARGS="--sysroot=/usr/local/musl/armv7-unknown-linux-musleabihf" - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: wheels path: dist @@ -422,7 +422,7 @@ jobs: args: --release --out dist sccache: 'true' - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: wheels path: dist @@ -457,7 +457,7 @@ jobs: args: --release --out dist --interpreter ${{ matrix.python_version }} sccache: 'true' - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: wheels path: dist @@ -476,7 +476,7 @@ jobs: command: sdist args: --out dist - name: Upload sdist - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: wheels path: dist