|
| 1 | +# This file is autogenerated by maturin v1.8.7 |
| 2 | +# To update, run |
| 3 | +# |
| 4 | +# maturin generate-ci github |
| 5 | +# |
| 6 | +#name: Python |
| 7 | +# |
| 8 | +#on: |
| 9 | +# push: |
| 10 | +# branches: |
| 11 | +# - main |
| 12 | +# tags: |
| 13 | +# - 'v*' |
| 14 | +# |
| 15 | +#permissions: |
| 16 | +# contents: read |
| 17 | +# |
| 18 | +#jobs: |
| 19 | +# linux: |
| 20 | +# runs-on: ${{ matrix.platform.runner }} |
| 21 | +# strategy: |
| 22 | +# matrix: |
| 23 | +# platform: |
| 24 | +# - runner: ubuntu-22.04 |
| 25 | +# target: x86_64 |
| 26 | +# - runner: ubuntu-22.04 |
| 27 | +# target: x86 |
| 28 | +# - runner: ubuntu-22.04 |
| 29 | +# target: aarch64 |
| 30 | +# - runner: ubuntu-22.04 |
| 31 | +# target: armv7 |
| 32 | +# - runner: ubuntu-22.04 |
| 33 | +# target: s390x |
| 34 | +# - runner: ubuntu-22.04 |
| 35 | +# target: ppc64le |
| 36 | +# steps: |
| 37 | +# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
| 38 | +# - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 |
| 39 | +# with: |
| 40 | +# python-version: '>=3.7' |
| 41 | +# - name: Build wheels |
| 42 | +# uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1.49.1 |
| 43 | +# with: |
| 44 | +# target: ${{ matrix.platform.target }} |
| 45 | +# args: --release --manifest-path client-py/Cargo.toml --out dist |
| 46 | +# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} |
| 47 | +# manylinux: auto |
| 48 | +# - name: Build free-threaded wheels |
| 49 | +# uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1.49.1 |
| 50 | +# with: |
| 51 | +# target: ${{ matrix.platform.target }} |
| 52 | +# args: --release --manifest-path client-py/Cargo.toml --out dist -i python3.13t |
| 53 | +# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} |
| 54 | +# manylinux: auto |
| 55 | +# - name: Upload wheels to GitHub |
| 56 | +# uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 |
| 57 | +# with: |
| 58 | +# name: wheels-linux-${{ matrix.platform.target }} |
| 59 | +# path: dist |
| 60 | +# retention-days: 5 |
| 61 | +# |
| 62 | +# musllinux: |
| 63 | +# runs-on: ${{ matrix.platform.runner }} |
| 64 | +# strategy: |
| 65 | +# matrix: |
| 66 | +# platform: |
| 67 | +# - runner: ubuntu-22.04 |
| 68 | +# target: x86_64 |
| 69 | +# - runner: ubuntu-22.04 |
| 70 | +# target: x86 |
| 71 | +# - runner: ubuntu-22.04 |
| 72 | +# target: aarch64 |
| 73 | +# - runner: ubuntu-22.04 |
| 74 | +# target: armv7 |
| 75 | +# steps: |
| 76 | +# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
| 77 | +# - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 |
| 78 | +# with: |
| 79 | +# python-version: '>=3.7' |
| 80 | +# - name: Build wheels |
| 81 | +# uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1.49.1 |
| 82 | +# with: |
| 83 | +# target: ${{ matrix.platform.target }} |
| 84 | +# args: --release --manifest-path client-py/Cargo.toml --out dist |
| 85 | +# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} |
| 86 | +# manylinux: musllinux_1_2 |
| 87 | +# - name: Build free-threaded wheels |
| 88 | +# uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1.49.1 |
| 89 | +# with: |
| 90 | +# target: ${{ matrix.platform.target }} |
| 91 | +# args: --release --manifest-path client-py/Cargo.toml --out dist -i python3.13t |
| 92 | +# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} |
| 93 | +# manylinux: musllinux_1_2 |
| 94 | +# - name: Upload wheels to GitHub |
| 95 | +# uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 |
| 96 | +# with: |
| 97 | +# name: wheels-musllinux-${{ matrix.platform.target }} |
| 98 | +# path: dist |
| 99 | +# retention-days: 5 |
| 100 | +# |
| 101 | +# windows: |
| 102 | +# runs-on: ${{ matrix.platform.runner }} |
| 103 | +# strategy: |
| 104 | +# matrix: |
| 105 | +# platform: |
| 106 | +# - runner: windows-latest |
| 107 | +# target: x64 |
| 108 | +# - runner: windows-latest |
| 109 | +# target: x86 |
| 110 | +# - runner: windows-latest |
| 111 | +# target: arm64 |
| 112 | +# steps: |
| 113 | +# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
| 114 | +# - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 |
| 115 | +# with: |
| 116 | +# python-version: '>=3.7' |
| 117 | +# architecture: ${{ matrix.platform.target }} |
| 118 | +# - name: Build wheels |
| 119 | +# uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1.49.1 |
| 120 | +# with: |
| 121 | +# target: ${{ matrix.platform.target }} |
| 122 | +# args: --release --manifest-path client-py/Cargo.toml --out dist |
| 123 | +# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} |
| 124 | +# - name: Build free-threaded wheels |
| 125 | +# uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1.49.1 |
| 126 | +# with: |
| 127 | +# target: ${{ matrix.platform.target }} |
| 128 | +# args: --release --manifest-path client-py/Cargo.toml --out dist -i python3.13t |
| 129 | +# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} |
| 130 | +# - name: Upload wheels to GitHub |
| 131 | +# uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 |
| 132 | +# with: |
| 133 | +# name: wheels-windows-${{ matrix.platform.target }} |
| 134 | +# path: dist |
| 135 | +# retention-days: 5 |
| 136 | +# |
| 137 | +# macos: |
| 138 | +# runs-on: ${{ matrix.platform.runner }} |
| 139 | +# strategy: |
| 140 | +# matrix: |
| 141 | +# platform: |
| 142 | +# - runner: macos-13 |
| 143 | +# target: x86_64 |
| 144 | +# - runner: macos-14 |
| 145 | +# target: aarch64 |
| 146 | +# steps: |
| 147 | +# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
| 148 | +# - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 |
| 149 | +# with: |
| 150 | +# python-version: '>=3.7' |
| 151 | +# - name: Build wheels |
| 152 | +# uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1.49.1 |
| 153 | +# with: |
| 154 | +# target: ${{ matrix.platform.target }} |
| 155 | +# args: --release --manifest-path client-py/Cargo.toml --out dist |
| 156 | +# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} |
| 157 | +# - name: Build free-threaded wheels |
| 158 | +# uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1.49.1 |
| 159 | +# with: |
| 160 | +# target: ${{ matrix.platform.target }} |
| 161 | +# args: --release --manifest-path client-py/Cargo.toml --out dist -i python3.13t |
| 162 | +# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} |
| 163 | +# - name: Upload wheels to GitHub |
| 164 | +# uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 |
| 165 | +# with: |
| 166 | +# name: wheels-macos-${{ matrix.platform.target }} |
| 167 | +# path: dist |
| 168 | +# retention-days: 5 |
| 169 | +# |
| 170 | +# sdist: |
| 171 | +# runs-on: ubuntu-latest |
| 172 | +# steps: |
| 173 | +# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
| 174 | +# - name: Build sdist |
| 175 | +# uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1.49.1 |
| 176 | +# with: |
| 177 | +# command: sdist |
| 178 | +# args: --manifest-path client-py/Cargo.toml --out dist |
| 179 | +# - name: Upload sdist to GitHub |
| 180 | +# uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 |
| 181 | +# with: |
| 182 | +# name: wheels-sdist |
| 183 | +# path: dist |
| 184 | +# retention-days: 5 |
| 185 | +# |
| 186 | +# release: |
| 187 | +# name: Release |
| 188 | +# runs-on: ubuntu-latest |
| 189 | +# if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }} |
| 190 | +# needs: [linux, musllinux, windows, macos, sdist] |
| 191 | +# permissions: |
| 192 | +# # Use to sign the release artifacts |
| 193 | +# id-token: write |
| 194 | +# # Used to upload release artifacts |
| 195 | +# contents: write |
| 196 | +# # Used to generate artifact attestation |
| 197 | +# attestations: write |
| 198 | +# steps: |
| 199 | +# - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 |
| 200 | +# - name: Generate artifact attestation |
| 201 | +# uses: actions/attest-build-provenance@db473fddc028af60658334401dc6fa3ffd8669fd # v2.3.0 |
| 202 | +# with: |
| 203 | +# subject-path: 'wheels-*/*' |
| 204 | +# - name: Publish to PyPI |
| 205 | +# if: ${{ startsWith(github.ref, 'refs/tags/') }} |
| 206 | +# uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1.49.1 |
| 207 | +# env: |
| 208 | +# MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} |
| 209 | +# with: |
| 210 | +# command: upload |
| 211 | +# args: --non-interactive --skip-existing wheels-*/* |
0 commit comments