@@ -269,14 +269,11 @@ jobs:
269269 steps :
270270 - name : Checkout repository
271271 uses : actions/checkout@v4
272- - name : Make script executable
273- run : chmod +x ./tools/build_talib_macos.sh
274- - name : Build TA-Lib C Library
275- run : ./tools/build_talib_macos.sh
276- shell : bash
277272 - name : Build wheels
278273 uses : pypa/cibuildwheel@v2.23.3
279274 env :
275+ CIBW_BEFORE_ALL : |
276+ bash ./tools/build_talib_macos.sh
280277 CIBW_TEST_COMMAND : >
281278 cd .. &&
282279 pytest -k "not RSI and not threading" {project}/tests
@@ -289,14 +286,11 @@ jobs:
289286 export MACOSX_DEPLOYMENT_TARGET=13.7
290287 export DYLD_LIBRARY_PATH="/Users/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}/ta-lib-install/lib:$DYLD_LIBRARY_PATH"
291288 delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}
292- - name : Set wheel name
293- run : |
294- echo "WHEEL_NAME=ta_lib-${{env.TALIB_PY_VER}}-macos_x86_64" >> $GITHUB_ENV
295289 - name : Upload wheels
296290 uses : actions/upload-artifact@v4
297291 with :
298292 path : ./wheelhouse/*.whl
299- name : ${{ env.WHEEL_NAME }}
293+ name : " ta_lib- ${{ github.ref_name }}-macos_x86_64 "
300294 build_macos_arm64 :
301295 name : Build MacOS arm64 wheels
302296 strategy :
@@ -306,14 +300,11 @@ jobs:
306300 steps :
307301 - name : Checkout repository
308302 uses : actions/checkout@v4
309- - name : Make script executable
310- run : chmod +x ./tools/build_talib_macos.sh
311- - name : Build TA-Lib C Library
312- run : ./tools/build_talib_macos.sh
313- shell : bash
314303 - name : Build wheels
315304 uses : pypa/cibuildwheel@v2.23.3
316305 env :
306+ CIBW_BEFORE_ALL : |
307+ bash ./tools/build_talib_macos.sh
317308 CIBW_TEST_COMMAND : >
318309 cd .. &&
319310 pytest -k "not RSI and not threading" {project}/tests
@@ -326,11 +317,8 @@ jobs:
326317 export MACOSX_DEPLOYMENT_TARGET=14.0
327318 export DYLD_LIBRARY_PATH="/Users/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}/ta-lib-install/lib:$DYLD_LIBRARY_PATH"
328319 delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}
329- - name : Set wheel name
330- run : |
331- echo "WHEEL_NAME=ta_lib-${{env.TALIB_PY_VER}}-macos_arm64" >> $GITHUB_ENV
332320 - name : Upload wheels
333321 uses : actions/upload-artifact@v4
334322 with :
335323 path : ./wheelhouse/*.whl
336- name : ${{ env.WHEEL_NAME }}
324+ name : " ta_lib- ${{ github.ref_name }}-macos_arm64 "
0 commit comments