Move python bindings from pybind11 to nanobind (#61) #330
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: Test Windows | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| # Skip running if the commit message contains '[ci skip]' | |
| if: "! contains(toJSON(github.event.commits.*.message), '[ci skip]')" | |
| name: Build wheels - ${{ matrix.os }}-${{ matrix.arch }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: windows-latest | |
| arch: x64 | |
| # Windows ARM is not available as of Mar 2025, but coming soon: https://github.com/github/roadmap/issues/1098 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: 'recursive' | |
| - uses: actions/setup-python@v5 | |
| name: Install Python | |
| with: | |
| python-version: '3.12' | |
| - name: install python packages | |
| run: python -m pip install numpy | |
| - name: configure | |
| run: mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. | |
| - name: build | |
| run: cd build && cmake --build "." | |
| - name: run test | |
| run: python test/polyscope_test.py -v |