Skip to content

Commit 5ba67d0

Browse files
committed
.github/workflows: ...
1 parent ab4b1ea commit 5ba67d0

File tree

1 file changed

+6
-46
lines changed

1 file changed

+6
-46
lines changed

.github/workflows/wheels.yml

Lines changed: 6 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ env:
1111
TALIB_PY_VER: ${{ github.ref_name }}
1212
PIP_NO_VERIFY: 0
1313
PIP_VERBOSE: 1
14-
CIBW_BUILD_VERBOSITY: 2
14+
CIBW_BEFORE_BUILD: pip install -U setuptools Cython wheel meson-python ninja && pip install -U numpy
15+
CIBW_TEST_REQUIRES: pytest pandas polars
16+
CIBW_TEST_SKIP: "*win32* cp*"
17+
CIBW_SKIP: "pp* cp*"
1518

1619
jobs:
1720
build_manylinux_x86_64:
@@ -25,13 +28,9 @@ jobs:
2528
CIBW_MANYLINUX_I686_IMAGE: manylinux_2_28
2629
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: manylinux_2_28
2730
CIBW_MANYLINUX_PYPY_I686_IMAGE: manylinux_2_28
28-
CIBW_BEFORE_BUILD: pip install -U setuptools Cython wheel meson-python ninja && pip install -U numpy
29-
CIBW_TEST_REQUIRES: pytest pandas polars
3031
CIBW_TEST_COMMAND: >
3132
cd .. &&
3233
pytest -k "not RSI and not threading" {project}/tests
33-
CIBW_TEST_SKIP: "*win32 cp*"
34-
CIBW_SKIP: "pp* cp*-musllinux*"
3534
steps:
3635
- name: Checkout repository
3736
uses: actions/checkout@v4
@@ -71,13 +70,9 @@ jobs:
7170
os: ["ubuntu-22.04"]
7271
runs-on: ${{ matrix.os }}
7372
env:
74-
CIBW_BEFORE_BUILD: pip install -U setuptools Cython wheel meson-python ninja && pip install -U numpy
75-
CIBW_TEST_REQUIRES: pytest pandas polars
7673
CIBW_TEST_COMMAND: >
7774
cd .. &&
7875
pytest -k "not RSI and not threading" {project}/tests
79-
CIBW_TEST_SKIP: "*win32 cp*"
80-
CIBW_SKIP: "pp* cp*-manylinux*"
8176
steps:
8277
- name: Checkout repository
8378
uses: actions/checkout@v4
@@ -132,13 +127,9 @@ jobs:
132127
CIBW_MANYLINUX_I686_IMAGE: manylinux_2_28
133128
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: manylinux_2_28
134129
CIBW_MANYLINUX_PYPY_I686_IMAGE: manylinux_2_28
135-
CIBW_BEFORE_BUILD: pip install -U setuptools Cython wheel meson-python ninja && pip install -U numpy
136-
CIBW_TEST_REQUIRES: pytest pandas polars
137130
CIBW_TEST_COMMAND: >
138131
cd .. &&
139132
pytest -k "not RSI and not threading" {project}/tests
140-
CIBW_TEST_SKIP: "*win32 cp*"
141-
CIBW_SKIP: "pp* cp*-musllinux*"
142133
steps:
143134
- name: Checkout repository
144135
uses: actions/checkout@v4
@@ -178,13 +169,9 @@ jobs:
178169
os: ["ubuntu-22.04"]
179170
runs-on: ${{ matrix.os }}
180171
env:
181-
CIBW_BEFORE_BUILD: pip install -U setuptools Cython wheel meson-python ninja && pip install -U numpy
182-
CIBW_TEST_REQUIRES: pytest pandas polars
183172
CIBW_TEST_COMMAND: >
184173
cd .. &&
185174
pytest -k "not RSI and not threading" {project}/tests
186-
CIBW_TEST_SKIP: "*win32 cp*"
187-
CIBW_SKIP: "pp* cp*-manylinux*"
188175
steps:
189176
- name: Checkout repository
190177
uses: actions/checkout@v4
@@ -235,8 +222,6 @@ jobs:
235222
matrix:
236223
os: ["windows-2022"]
237224
runs-on: ${{ matrix.os }}
238-
env:
239-
MSBUILDTREATHIGHERTOOLSVERSIONASCURRENT: 1
240225
steps:
241226
- name: Checkout the repository
242227
uses: actions/checkout@v4
@@ -250,13 +235,10 @@ jobs:
250235
- name: Build wheels
251236
uses: pypa/[email protected]
252237
env:
253-
CIBW_BEFORE_BUILD: pip install -U setuptools Cython wheel meson-python ninja && pip install -U numpy
254-
CIBW_TEST_REQUIRES: pytest pandas polars
255238
CIBW_TEST_COMMAND: >
256239
cd .. &&
257240
pytest --rootdir=C: -k "not RSI and not threading" {project}/tests
258-
CIBW_TEST_SKIP: "*win32* cp*"
259-
CIBW_SKIP: "pp*"
241+
MSBUILDTREATHIGHERTOOLSVERSIONASCURRENT: 1
260242
CIBW_ARCHS_WINDOWS: AMD64
261243
CIBW_ENVIRONMENT_WINDOWS: >
262244
TA_LIBRARY_PATH="ta-lib-$TALIB_C_VER\\_build;$LIB"
@@ -276,8 +258,6 @@ jobs:
276258
matrix:
277259
os: ["windows-2022"]
278260
runs-on: ${{ matrix.os }}
279-
env:
280-
MSBUILDTREATHIGHERTOOLSVERSIONASCURRENT: 1
281261
steps:
282262
- name: Checkout the repository
283263
uses: actions/checkout@v4
@@ -291,13 +271,9 @@ jobs:
291271
- name: Build wheels
292272
uses: pypa/[email protected]
293273
env:
294-
CIBW_BEFORE_BUILD: pip install -U setuptools Cython wheel meson-python ninja && pip install -U numpy
295-
CIBW_TEST_REQUIRES: pytest pandas polars
296274
CIBW_TEST_COMMAND: >
297275
cd .. &&
298276
pytest --rootdir=C: -k "not RSI and not threading" {project}/tests
299-
CIBW_TEST_SKIP: "*win32 cp*"
300-
CIBW_SKIP: "pp*"
301277
MSBUILDTREATHIGHERTOOLSVERSIONASCURRENT: 1
302278
CIBW_ARCHS_WINDOWS: x86
303279
CIBW_ENVIRONMENT_WINDOWS: >
@@ -318,8 +294,6 @@ jobs:
318294
matrix:
319295
os: ["windows-11-arm"]
320296
runs-on: ${{ matrix.os }}
321-
env:
322-
MSBUILDTREATHIGHERTOOLSVERSIONASCURRENT: 1
323297
steps:
324298
- name: Checkout the repository
325299
uses: actions/checkout@v4
@@ -333,16 +307,10 @@ jobs:
333307
- name: Build wheels
334308
uses: pypa/[email protected]
335309
env:
336-
PIP_NO_VERIFY: 0
337-
PIP_VERBOSE: 1
338-
CIBW_BUILD_VERBOSITY: 2
339-
CIBW_BEFORE_BUILD: pip install -U setuptools Cython wheel meson-python ninja && pip install -U numpy
340-
CIBW_TEST_REQUIRES: pytest pandas polars
341310
CIBW_TEST_COMMAND: >
342311
cd .. &&
343312
pytest --rootdir=C: -k "not RSI and not threading" {project}/tests
344-
CIBW_TEST_SKIP: "*win32* cp*"
345-
CIBW_SKIP: "pp*"
313+
MSBUILDTREATHIGHERTOOLSVERSIONASCURRENT: 1
346314
CIBW_ARCHS_WINDOWS: ARM64
347315
CIBW_ENVIRONMENT_WINDOWS: >
348316
TA_LIBRARY_PATH="ta-lib-$TALIB_C_VER\\_build;$LIB"
@@ -373,13 +341,9 @@ jobs:
373341
- name: Build wheels
374342
uses: pypa/[email protected]
375343
env:
376-
CIBW_BEFORE_BUILD: pip install -U setuptools Cython wheel meson-python ninja && pip install -U numpy
377-
CIBW_TEST_REQUIRES: pytest pandas polars
378344
CIBW_TEST_COMMAND: >
379345
cd .. &&
380346
pytest -k "not RSI and not threading" {project}/tests
381-
CIBW_TEST_SKIP: "*win32 cp*"
382-
CIBW_SKIP: "pp*"
383347
CIBW_ARCHS_MACOS: x86_64
384348
CIBW_ENVIRONMENT_MACOS : >
385349
TA_LIBRARY_PATH="ta-lib-install/lib"
@@ -414,13 +378,9 @@ jobs:
414378
- name: Build wheels
415379
uses: pypa/[email protected]
416380
env:
417-
CIBW_BEFORE_BUILD: pip install -U setuptools Cython wheel meson-python ninja && pip install -U numpy
418-
CIBW_TEST_REQUIRES: pytest pandas polars
419381
CIBW_TEST_COMMAND: >
420382
cd .. &&
421383
pytest -k "not RSI and not threading" {project}/tests
422-
CIBW_TEST_SKIP: "*win32 cp*"
423-
CIBW_SKIP: "pp*"
424384
CIBW_ARCHS_MACOS: arm64
425385
CIBW_ENVIRONMENT_MACOS : >
426386
TA_LIBRARY_PATH="ta-lib-install/lib"

0 commit comments

Comments
 (0)