adding new method for proper interpolation by the inverse left Jacobi… #318
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 | |
| on: [push, pull_request] | |
| jobs: | |
| build_wheels: | |
| name: Build wheels on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-13, windows-2022] | |
| steps: | |
| - uses: actions/checkout@v4.2.2 | |
| - name: Build wheels | |
| uses: pypa/cibuildwheel@v2.16.5 | |
| with: | |
| package-dir: mrobpy | |
| - name: Check repo consistency | |
| run: git status --porcelain | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: wheels-${{ strategy.job-index }} | |
| path: ./wheelhouse/*.whl | |
| publish_pypi: | |
| name: Publish wheels to PyPI | |
| needs: build_wheels | |
| if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Download artifacts | |
| uses: actions/download-artifact@v4.1.7 | |
| with: | |
| pattern: wheel-* | |
| merge-multiple: true | |
| - name: Publish to PyPI | |
| uses: pypa/gh-action-pypi-publish@release/v1 | |
| with: | |
| user: __token__ | |
| password: ${{ secrets.PYPI_API_TOKEN }} | |
| packages_dir: wheels/ | |
| verbose: true | |
| pattern: wheels-* | |
| merge-multiple: true | |
| publish-github-release: | |
| name: Publish wheels to GitHub Releases | |
| needs: build_wheels | |
| if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Download artifacts | |
| uses: actions/download-artifact@v4.1.7 | |
| with: | |
| pattern: wheels-* | |
| merge-multiple: true | |
| - uses: softprops/action-gh-release@v1 | |
| with: | |
| files: wheels/*.whl | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |