21
21
USE_QEMU : ${{ fromJSON(github.event.inputs.use_qemu || 'false') || (github.event_name == 'schedule') || startsWith(github.ref, 'refs/tags/') }}
22
22
23
23
jobs :
24
- lint :
25
- name : Lint
26
- runs-on : ubuntu-22.04
27
- steps :
28
- - uses : actions/checkout@v3
29
- - uses : actions/setup-python@v4
30
- with :
31
- python-version : " 3.x"
32
- -
uses :
pre-commit/[email protected]
24
+ # lint:
25
+ # name: Lint
26
+ # runs-on: ubuntu-22.04
27
+ # steps:
28
+ # - uses: actions/checkout@v3
29
+ # - uses: actions/setup-python@v4
30
+ # with:
31
+ # python-version: "3.x"
32
+ # - uses: pre-commit/[email protected]
33
33
34
34
35
35
build_wheels :
36
36
name : Build ${{ matrix.build }}${{ matrix.arch }} wheels on ${{ matrix.os }}
37
- needs : [lint]
37
+ # needs: [lint]
38
38
runs-on : ${{ matrix.os }}
39
39
strategy :
40
40
fail-fast : false
41
41
matrix :
42
42
include :
43
- - os : ubuntu-22.04
44
- arch : " x86_64"
45
- build : " manylinux_"
46
- use_qemu : false
47
- - os : ubuntu-22.04
48
- arch : " x86_64"
49
- build : " musllinux_"
50
- use_qemu : false
51
- - os : ubuntu-22.04
52
- arch : " i686"
53
- build : " manylinux_"
54
- use_qemu : false
55
- - os : ubuntu-22.04
56
- arch : " i686"
57
- build : " musllinux_"
58
- use_qemu : false
59
- - os : ubuntu-22.04
60
- arch : " aarch64"
61
- build : " manylinux_"
62
- use_qemu : true
63
- - os : ubuntu-22.04
64
- arch : " aarch64"
65
- build : " musllinux_"
66
- use_qemu : true
67
- - os : ubuntu-22.04
68
- arch : " ppc64le"
69
- build : " manylinux_"
70
- use_qemu : true
71
- - os : ubuntu-22.04
72
- arch : " ppc64le"
73
- build : " musllinux_"
74
- use_qemu : true
75
- - os : ubuntu-22.04
76
- arch : " s390x"
77
- build : " manylinux_"
78
- use_qemu : true
79
- - os : ubuntu-22.04
80
- arch : " s390x"
81
- build : " musllinux_"
82
- use_qemu : true
83
- - os : windows-2019
84
- arch : " AMD64"
85
- build : " "
86
- use_qemu : false
43
+ # - os: ubuntu-22.04
44
+ # arch: "x86_64"
45
+ # build: "manylinux_"
46
+ # use_qemu: false
47
+ # - os: ubuntu-22.04
48
+ # arch: "x86_64"
49
+ # build: "musllinux_"
50
+ # use_qemu: false
51
+ # - os: ubuntu-22.04
52
+ # arch: "i686"
53
+ # build: "manylinux_"
54
+ # use_qemu: false
55
+ # - os: ubuntu-22.04
56
+ # arch: "i686"
57
+ # build: "musllinux_"
58
+ # use_qemu: false
59
+ # - os: ubuntu-22.04
60
+ # arch: "aarch64"
61
+ # build: "manylinux_"
62
+ # use_qemu: true
63
+ # - os: ubuntu-22.04
64
+ # arch: "aarch64"
65
+ # build: "musllinux_"
66
+ # use_qemu: true
67
+ # - os: ubuntu-22.04
68
+ # arch: "ppc64le"
69
+ # build: "manylinux_"
70
+ # use_qemu: true
71
+ # - os: ubuntu-22.04
72
+ # arch: "ppc64le"
73
+ # build: "musllinux_"
74
+ # use_qemu: true
75
+ # - os: ubuntu-22.04
76
+ # arch: "s390x"
77
+ # build: "manylinux_"
78
+ # use_qemu: true
79
+ # - os: ubuntu-22.04
80
+ # arch: "s390x"
81
+ # build: "musllinux_"
82
+ # use_qemu: true
83
+ # - os: windows-2019
84
+ # arch: "AMD64"
85
+ # build: ""
86
+ # use_qemu: false
87
87
- os : windows-2022
88
88
arch : " ARM64"
89
89
build : " "
90
90
use_qemu : false
91
- - os : windows-2019
92
- arch : " x86"
93
- build : " "
94
- use_qemu : false
95
- - os : macos-11
96
- arch : " x86_64"
97
- build : " "
98
- use_qemu : false
91
+ # - os: windows-2019
92
+ # arch: "x86"
93
+ # build: ""
94
+ # use_qemu: false
95
+ # - os: macos-11
96
+ # arch: "x86_64"
97
+ # build: ""
98
+ # use_qemu: false
99
99
100
100
steps :
101
101
- uses : actions/checkout@v3
@@ -119,114 +119,114 @@ jobs:
119
119
with :
120
120
path : ./wheelhouse/*.whl
121
121
122
- build_manylinux2010_wheels :
123
- name : Build ${{ matrix.arch }} manylinux2010 wheels
124
- needs : [lint]
125
- runs-on : ubuntu-22.04
126
- strategy :
127
- fail-fast : false
128
- matrix :
129
- include :
130
- - arch : " x86_64"
131
- - arch : " i686"
132
-
133
- steps :
134
- - uses : actions/checkout@v3
135
- with :
136
- fetch-depth : 0 # required for versioneer to find tags
137
-
138
- - name : Build wheels
139
-
140
- env :
141
- CIBW_ARCHS : " ${{ matrix.arch }}"
142
- CIBW_BUILD : " cp39-manylinux_*"
143
- CIBW_MANYLINUX_X86_64_IMAGE : " manylinux2010"
144
- CIBW_MANYLINUX_I686_IMAGE : " manylinux2010"
145
-
146
- - uses : actions/upload-artifact@v3
147
- with :
148
- path : ./wheelhouse/*.whl
149
-
150
- build_sdist :
151
- name : Build source distribution
152
- needs : [lint]
153
- runs-on : ubuntu-22.04
154
- steps :
155
- - uses : actions/checkout@v3
156
- with :
157
- fetch-depth : 0 # required for versioneer to find tags
158
-
159
- - name : Build SDist
160
- run : pipx run build --sdist
161
-
162
- - uses : actions/upload-artifact@v3
163
- with :
164
- path : dist/*.tar.gz
165
-
166
- test_sdist :
167
- name : Test SDist with python ${{ matrix.python }}
168
- needs : [build_sdist]
169
- # 22.04 doesn't have 2.7 or 3.6
170
- runs-on : ubuntu-20.04
171
- strategy :
172
- fail-fast : false
173
- matrix :
174
- python : ["2.7", "3.6", "3.11"]
175
-
176
- steps :
177
- - uses : actions/checkout@v3
178
- - uses : actions/setup-python@v4
179
- name : Install Python ${{ matrix.python }}
180
- with :
181
- python-version : ${{ matrix.python }}
182
-
183
- - name : Install dependencies
184
- run : |
185
- sudo apt-get update
186
- sudo apt-get install -y --no-install-recommends libssl-dev
187
- pip install -r requirements-test.txt
188
-
189
- - uses : actions/download-artifact@v3
190
- with :
191
- name : artifact
192
- path : dist
193
-
194
- - name : Install SDist
195
- env :
196
- SKBUILD_CONFIGURE_OPTIONS : " -DBUILD_CMAKE_FROM_SOURCE:BOOL=OFF"
197
- run : |
198
- pip install dist/*.tar.gz
199
- rm -rf dist
200
-
201
- - name : Test installed SDist
202
- run : pytest ./tests
203
-
204
- check_dist :
205
- name : Check dist
206
- needs : [build_wheels, build_manylinux2010_wheels, build_sdist, test_sdist]
207
- runs-on : ubuntu-22.04
208
- steps :
209
- - uses : actions/download-artifact@v3
210
- with :
211
- name : artifact
212
- path : dist
213
-
214
- - run : pipx run twine check --strict dist/*
215
-
216
- upload_pypi :
217
- name : Upload to PyPI
218
- needs : [check_dist]
219
- runs-on : ubuntu-latest
220
- if : github.event_name == 'push' && github.repository == 'scikit-build/cmake-python-distributions' && startsWith(github.ref, 'refs/tags/')
221
- environment :
222
- name : pypi
223
- url : https://pypi.org/p/cmake
224
- permissions :
225
- id-token : write
226
- steps :
227
- - uses : actions/download-artifact@v3
228
- with :
229
- name : artifact
230
- path : dist
231
-
232
- - uses : pypa/gh-action-pypi-publish@release/v1
122
+ # build_manylinux2010_wheels:
123
+ # name: Build ${{ matrix.arch }} manylinux2010 wheels
124
+ # needs: [lint]
125
+ # runs-on: ubuntu-22.04
126
+ # strategy:
127
+ # fail-fast: false
128
+ # matrix:
129
+ # include:
130
+ # - arch: "x86_64"
131
+ # - arch: "i686"
132
+
133
+ # steps:
134
+ # - uses: actions/checkout@v3
135
+ # with:
136
+ # fetch-depth: 0 # required for versioneer to find tags
137
+
138
+ # - name: Build wheels
139
+
140
+ # env:
141
+ # CIBW_ARCHS: "${{ matrix.arch }}"
142
+ # CIBW_BUILD: "cp39-manylinux_*"
143
+ # CIBW_MANYLINUX_X86_64_IMAGE: "manylinux2010"
144
+ # CIBW_MANYLINUX_I686_IMAGE: "manylinux2010"
145
+
146
+ # - uses: actions/upload-artifact@v3
147
+ # with:
148
+ # path: ./wheelhouse/*.whl
149
+
150
+ # build_sdist:
151
+ # name: Build source distribution
152
+ # needs: [lint]
153
+ # runs-on: ubuntu-22.04
154
+ # steps:
155
+ # - uses: actions/checkout@v3
156
+ # with:
157
+ # fetch-depth: 0 # required for versioneer to find tags
158
+
159
+ # - name: Build SDist
160
+ # run: pipx run build --sdist
161
+
162
+ # - uses: actions/upload-artifact@v3
163
+ # with:
164
+ # path: dist/*.tar.gz
165
+
166
+ # test_sdist:
167
+ # name: Test SDist with python ${{ matrix.python }}
168
+ # needs: [build_sdist]
169
+ # # 22.04 doesn't have 2.7 or 3.6
170
+ # runs-on: ubuntu-20.04
171
+ # strategy:
172
+ # fail-fast: false
173
+ # matrix:
174
+ # python: ["2.7", "3.6", "3.11"]
175
+
176
+ # steps:
177
+ # - uses: actions/checkout@v3
178
+ # - uses: actions/setup-python@v4
179
+ # name: Install Python ${{ matrix.python }}
180
+ # with:
181
+ # python-version: ${{ matrix.python }}
182
+
183
+ # - name: Install dependencies
184
+ # run: |
185
+ # sudo apt-get update
186
+ # sudo apt-get install -y --no-install-recommends libssl-dev
187
+ # pip install -r requirements-test.txt
188
+
189
+ # - uses: actions/download-artifact@v3
190
+ # with:
191
+ # name: artifact
192
+ # path: dist
193
+
194
+ # - name: Install SDist
195
+ # env:
196
+ # SKBUILD_CONFIGURE_OPTIONS: "-DBUILD_CMAKE_FROM_SOURCE:BOOL=OFF"
197
+ # run: |
198
+ # pip install dist/*.tar.gz
199
+ # rm -rf dist
200
+
201
+ # - name: Test installed SDist
202
+ # run: pytest ./tests
203
+
204
+ # check_dist:
205
+ # name: Check dist
206
+ # needs: [build_wheels, build_manylinux2010_wheels, build_sdist, test_sdist]
207
+ # runs-on: ubuntu-22.04
208
+ # steps:
209
+ # - uses: actions/download-artifact@v3
210
+ # with:
211
+ # name: artifact
212
+ # path: dist
213
+
214
+ # - run: pipx run twine check --strict dist/*
215
+
216
+ # upload_pypi:
217
+ # name: Upload to PyPI
218
+ # needs: [check_dist]
219
+ # runs-on: ubuntu-latest
220
+ # if: github.event_name == 'push' && github.repository == 'scikit-build/cmake-python-distributions' && startsWith(github.ref, 'refs/tags/')
221
+ # environment:
222
+ # name: pypi
223
+ # url: https://pypi.org/p/cmake
224
+ # permissions:
225
+ # id-token: write
226
+ # steps:
227
+ # - uses: actions/download-artifact@v3
228
+ # with:
229
+ # name: artifact
230
+ # path: dist
231
+
232
+ # - uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments