File: wheel.yml

package info (click to toggle)
python-zstandard 0.25.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,052 kB
  • sloc: ansic: 43,739; python: 8,712; makefile: 23; sh: 2
file content (203 lines) | stat: -rw-r--r-- 6,409 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
on:
  push:
  pull_request:
  schedule:
    - cron: '30 13 * * *'
permissions: { }
jobs:
  linux:
    strategy:
      fail-fast: false

      matrix:
        py:
          - 'cp39'
          - 'cp310'
          - 'cp311'
          - 'cp312'
          - 'cp313'
          - 'cp313t'
          - 'cp314'
          - 'cp314t'
        arch:
          - 'aarch64'
          - 'i686'
          - 'ppc64le'
          - 's390x'
          - 'x86_64'
        abi:
          - 'manylinux'
          - 'musllinux'
        image:
          - 'manylinux2014'
          - 'manylinux_2_28'
          - 'musllinux_1_1'
          - 'musllinux_1_2'
        exclude:
          # Cancel out abi - image mismatch.
          - abi: 'manylinux'
            image: 'musllinux_1_1'
          - abi: 'manylinux'
            image: 'musllinux_1_2'
          - abi: 'musllinux'
            image: 'manylinux2014'
          - abi: 'musllinux'
            image: 'manylinux_2_28'
          # Remove some older ABIs that don't need to exist.
          - arch: 'i686'
            image: 'musllinux_1_1'
          - arch: 'ppc64le'
            image: 'musllinux_1_1'
          - arch: 's390x'
            image: 'musllinux_1_1'
          # Switch to manylinux_2_28 on 3.14+.
          - py: 'cp39'
            image: 'manylinux_2_28'
          - py: 'cp310'
            image: 'manylinux_2_28'
          - py: 'cp311'
            image: 'manylinux_2_28'
          - py: 'cp312'
            image: 'manylinux_2_28'
          - py: 'cp313'
            image: 'manylinux_2_28'
          - py: 'cp314'
            image: 'manylinux2014'
          - py: 'cp314t'
            image: 'manylinux2014'
          # Drop support for musllinux_1_1 on 3.14+
          - py: 'cp314'
            image: 'musllinux_1_1'
          - py: 'cp314t'
            image: 'musllinux_1_1'
    runs-on: ${{ matrix.arch == 'aarch64' && 'ubuntu-22.04-arm' || 'ubuntu-22.04' }}
    env:
      CIBW_ARCHS: ${{ matrix.arch }}
      CIBW_BUILD: ${{ matrix.py }}-${{ matrix.abi }}_${{ matrix.arch }}
      # uv not present on musllinux cross-compiled images.
      CIBW_BUILD_FRONTEND: ${{ (matrix.abi == 'musllinux' && (matrix.arch == 'ppc64le' || matrix.arch == 's390x')) && 'build' || 'build[uv]' }}
      CIBW_BUILD_VERBOSITY: '1'
      CIBW_MANYLINUX_AARCH64_IMAGE: quay.io/pypa/${{ matrix.image }}_aarch64:latest
      CIBW_MANYLINUX_I686_IMAGE: quay.io/pypa/${{ matrix.image }}_i686:latest
      CIBW_MANYLINUX_PPC64LE_IMAGE: quay.io/pypa/${{ matrix.image }}_ppc64le:latest
      CIBW_MANYLINUX_S390X_IMAGE: quay.io/pypa/${{ matrix.image }}_s390x:latest
      CIBW_MANYLINUX_X86_64_IMAGE: quay.io/pypa/${{ matrix.image }}_x86_64:latest
      CIBW_MUSLLINUX_AARCH64_IMAGE: quay.io/pypa/${{ matrix.image }}_aarch64:latest
      CIBW_MUSLLINUX_I686_IMAGE: quay.io/pypa/${{ matrix.image }}_i686:latest
      CIBW_MUSLLINUX_PPC64LE_IMAGE: quay.io/pypa/${{ matrix.image }}_ppc64le:latest
      CIBW_MUSLLINUX_S390X_IMAGE: quay.io/pypa/${{ matrix.image }}_s390x:latest
      CIBW_MUSLLINUX_X86_64_IMAGE: quay.io/pypa/${{ matrix.image }}_x86_64:latest
    steps:
      - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
        with:
          persist-credentials: false

      - name: Install uv
        uses: astral-sh/setup-uv@d9e0f98d3fc6adb07d1e3d37f3043649ddad06a1 # v6.5.0
        with:
          version: "0.8.11"

      - name: Set up QEMU
        if: ${{ matrix.arch == 'ppc64le' || matrix.arch == 's390x' }}
        uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0

      - name: Build wheels
        run: |
          uvx -p 3.13 cibuildwheel@3.1.4

      - name: Upload Wheel
        if: ${{ !endsWith(matrix.py, 't') }}
        uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
        with:
          name: linux-${{ matrix.py }}-${{ matrix.arch }}-${{ matrix.abi }}-${{ matrix.image }}
          path: ./wheelhouse/*.whl

  macos:
    strategy:
      fail-fast: false
      matrix:
        py:
          - 'cp39'
          - 'cp310'
          - 'cp311'
          - 'cp312'
          - 'cp313'
          - 'cp313t'
          - 'cp314'
          - 'cp314t'
        arch:
          - 'arm64'
          - 'x86_64'
    runs-on: ${{ matrix.arch == 'x86_64' && 'macos-13' || 'macos-14' }}
    env:
      CIBW_ARCHES: ${{ matrix.arch }}
      CIBW_BUILD: ${{ matrix.py }}-macosx_${{ matrix.arch }}
      CIBW_BUILD_VERBOSITY: '1'
    steps:
      - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
        with:
          persist-credentials: false

      - name: Install uv
        uses: astral-sh/setup-uv@d9e0f98d3fc6adb07d1e3d37f3043649ddad06a1 # v6.5.0
        with:
          version: "0.8.11"

      - name: Build wheels
        run: |
          uvx -p 3.13 cibuildwheel@3.1.4

      - name: Upload Wheel
        if: ${{ !endsWith(matrix.py, 't') }}
        uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
        with:
          name: macos-${{ matrix.py }}-${{ matrix.arch }}
          path: ./wheelhouse/*.whl

  windows:
    strategy:
      fail-fast: false
      matrix:
        py:
          - 'cp39'
          - 'cp310'
          - 'cp311'
          - 'cp312'
          - 'cp313'
          - 'cp313t'
          - 'cp314'
          - 'cp314t'
        arch:
          - 'win32'
          - 'win_amd64'
          - 'win_arm64'
        exclude:
          - py: 'cp39'
            arch: 'win_arm64'
          - py: 'cp310'
            arch: 'win_arm64'
    runs-on: ${{ matrix.arch == 'win_arm64' && 'windows-11-arm' || 'windows-2022' }}
    env:
      CIBW_ARCHES: ${{ matrix.arch }}
      CIBW_BUILD: ${{ matrix.py }}-${{ matrix.arch }}
      CIBW_BUILD_VERBOSITY: '1'
    steps:
      - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
        with:
          persist-credentials: false

      - name: Install uv
        uses: astral-sh/setup-uv@d9e0f98d3fc6adb07d1e3d37f3043649ddad06a1 # v6.5.0
        with:
          version: "0.8.11"

      - name: Build wheels
        run: |
          uvx -p 3.13 cibuildwheel@3.1.4

      - name: Upload Wheel
        if: ${{ !endsWith(matrix.py, 't') }}
        uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
        with:
          name: windows-${{ matrix.py }}-${{ matrix.arch }}
          path: ./wheelhouse/*.whl