@@ -3,9 +3,9 @@ name: release-deploy
33on :
44 release :
55 types : [ published ]
6- # push:
7- # branches: [ main ]
8- # pull_request:
6+ push :
7+ branches : [ main ]
8+ pull_request :
99
1010jobs :
1111 build-sdist :
@@ -157,7 +157,7 @@ jobs:
157157 run : |
158158 python -m pip install -U pip
159159 python -m pip install -U setuptools-rust
160- python -m pip install cibuildwheel==2.16.2
160+ python -m pip install cibuildwheel>=2.23
161161
162162 - name : Build wheels
163163 env :
@@ -167,8 +167,8 @@ jobs:
167167 CIBW_MANYLINUX_I686_IMAGE : ${{ matrix.manylinux_image }}
168168 CIBW_BUILD_VERBOSITY : 1
169169 CIBW_BEFORE_ALL : |
170- curl -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable -y && rustup target add i686-pc-windows-msvc && rustup target add aarch64-apple-darwin
171- CIBW_ENVIRONMENT : ' PATH="$PATH:$HOME/.cargo/bin"'
170+ curl -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable -y && rustup target add i686-pc-windows-msvc && rustup target add aarch64-apple-darwin && rustup target add x86_64-apple-darwin
171+ CIBW_ENVIRONMENT : PATH="$PATH:$HOME/.cargo/bin" MACOSX_DEPLOYMENT_TARGET='10.12 '
172172 run : |
173173 python --version
174174 python -m cibuildwheel --output-dir dist
@@ -233,22 +233,22 @@ jobs:
233233 # The pypi upload fails with non-linux containers, so grab the uploaded
234234 # artifacts and run using those
235235 # See: https://github.com/pypa/gh-action-pypi-publish/discussions/15
236- deploy :
237- name : Upload wheels to PyPI
238- needs : [ test-package ]
239- runs-on : ubuntu-latest
240- environment :
241- name : pypi
242- url : https://pypi.org/project/pylibjpeg-rle/
243- permissions :
244- id-token : write
245-
246- steps :
247- - name : Download the wheels
248- uses : actions/download-artifact@v4
249- with :
250- path : dist/
251- merge-multiple : true
252-
253- - name : Publish package to PyPi
254- uses : pypa/gh-action-pypi-publish@release/v1
236+ # deploy:
237+ # name: Upload wheels to PyPI
238+ # needs: [ test-package ]
239+ # runs-on: ubuntu-latest
240+ # environment:
241+ # name: pypi
242+ # url: https://pypi.org/project/pylibjpeg-rle/
243+ # permissions:
244+ # id-token: write
245+ #
246+ # steps:
247+ # - name: Download the wheels
248+ # uses: actions/download-artifact@v4
249+ # with:
250+ # path: dist/
251+ # merge-multiple: true
252+ #
253+ # - name: Publish package to PyPi
254+ # uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments