Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Mac intel import issue #25

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: mac intel
Yvictor committed Feb 12, 2025
commit d8ff9d1c03de5c91f3c9bdc6f8564ec0af7cae23
40 changes: 38 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -210,12 +210,48 @@ jobs:
run: |
pip install dist/*.whl
python -c "import polars_talib; print('Import successful')"
shell: bash

macos-intel:
runs-on: macos-13
strategy:
matrix:
target: [x86_64]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: install uv
uses: astral-sh/setup-uv@v5
- name: install tools
run: |
uv tool install maturin
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
sccache: 'true'
env:
DEPS_PATH: ${{ github.workspace }}/dependencies
TA_INCLUDE_PATH: ${{ github.workspace }}/dependencies/include
TA_LIBRARY_PATH: ${{ github.workspace }}/dependencies/lib
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-macos-${{ matrix.target }}
path: dist
- name: Test wheel installation
run: |
pip install dist/*.whl
python -c "import polars_talib; print('Import successful')"
macos:
runs-on: macos-latest
strategy:
matrix:
target: [x86_64, aarch64-apple-darwin]
target: [aarch64-apple-darwin] # x86_64,
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
@@ -250,7 +286,7 @@ jobs:
name: Release
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
needs: [linux, macos, windows]
needs: [linux, macos, windows, macos-intel, linux-arm]
steps:
- uses: actions/download-artifact@v3
with: