7575 # name: wheels-linux-${{ matrix.platform.target }}
7676 # path: dist
7777
78- # windows:
79- # name: Build wheels for Windows
80- # needs: generate-stub
81- # runs-on: ${{ matrix.platform.runner }}
82- # strategy:
83- # matrix:
84- # platform:
85- # - runner: windows-latest
86- # target: x64
87- # - runner: windows-latest
88- # target: x86
89- # steps:
90- # - uses: actions/checkout@v4
91- # - name: Download stub artifact
92- # uses: actions/download-artifact@v4
93- # with:
94- # name: pysplashsurf.pyi
95- # path: pysplashsurf/pysplashsurf/
96- # - uses: actions/setup-python@v5
97- # with:
98- # python-version: 3.x
99- # architecture: ${{ matrix.platform.target }}
100- # - name: Build wheels
101- # uses: PyO3/maturin-action@v1
102- # with:
103- # target: ${{ matrix.platform.target }}
104- # args: --release --out dist -m pysplashsurf\Cargo.toml
105- # sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
106- # - name: Upload wheels
107- # uses: actions/upload-artifact@v4
108- # with:
109- # name: wheels-windows-${{ matrix.platform.target }}
110- # path: dist
111-
11278 macos :
11379 name : Build wheels
11480 needs : generate-stub
@@ -117,19 +83,23 @@ jobs:
11783 matrix :
11884 platform :
11985 - runner : macos-13
120- # target: x86_64
12186 python-version : " cp312-macosx_x86_64"
12287 macosx_deployment_target : " 13.0"
12388 - runner : macos-14
124- # target: aarch64
12589 python-version : " cp312-macosx_arm64"
12690 macosx_deployment_target : " 14.0"
12791 - runner : windows-latest
128- # target: x64
12992 python-version : " cp312-win_amd64"
13093 - runner : windows-latest
131- # target: x86
13294 python-version : " cp312-win32"
95+ - runner : ubuntu-24.04
96+ python-version : " cp312-manylinux_x86_64"
97+ - runner : ubuntu-24.04
98+ python-version : " cp312-manylinux_i686"
99+ - runner : ubuntu-24.04
100+ python-version : " cp312-manylinux_aarch64"
101+ - runner : ubuntu-24.04
102+ python-version : " cp312-manylinux_armv7l"
133103 steps :
134104 - uses : actions/checkout@v4
135105 - name : Download stub artifact
@@ -147,14 +117,9 @@ jobs:
147117 env :
148118 CIBW_BUILD : ${{ matrix.platform.python-version }}
149119 CIBW_BEFORE_ALL : curl -sSf https://sh.rustup.rs | sh -s -- -y
120+ CIBW_ENVIRONMENT_LINUX : " PATH=$HOME/.cargo/bin:$PATH"
150121 CIBW_ENVIRONMENT_MACOS : >-
151122 PATH=$HOME/.cargo/bin:$PATH MACOSX_DEPLOYMENT_TARGET=${{ matrix.platform.macosx_deployment_target }}
152- # - name: Build wheels
153- # uses: PyO3/maturin-action@v1
154- # with:
155- # target: ${{ matrix.platform.target }}
156- # args: --release --out dist -m pysplashsurf/Cargo.toml
157- # sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
158123 - name : Upload wheels
159124 uses : actions/upload-artifact@v4
160125 with :
0 commit comments