Update Python wrapper for C repo PR #8 + CUDA 12/13 support #30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build MKL Mac/Linux | |
| on: | |
| push: | |
| branches: [master, develop**, ci] | |
| tags: | |
| - "*" | |
| pull_request: | |
| branches: [master, develop**] | |
| jobs: | |
| build_wheels: | |
| name: Build wheel on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # macos-latest now uses arm64 runners, but MKL is x86_64 only, so restrict to the macos-15-intel runners to get x86_64 architecture. | |
| os: [ubuntu-latest, macos-15-intel] | |
| steps: | |
| - uses: actions/checkout@master | |
| - name: Build wheels | |
| uses: pypa/[email protected] | |
| with: | |
| package-dir: backend/mkl | |
| config-file: backend/mkl/cibuildwheel.toml | |
| output-dir: wheelhouse | |
| - name: Upload artifacts to github | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: wheels-mkl-${{ matrix.os }} | |
| path: ./wheelhouse |