Updated the S1 distance function coordinate range from [-pi...+pi] to… #310
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: pip | |
on: [push] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
# Clones to ${{ github.workspace }}. | |
- name: Clone PicoTree | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
# On macos-latest, OpenMP is not installed and not visible to CMake. | |
- name: Setup OpenMP for macOS | |
if: runner.os == 'macOS' | |
run: | | |
brew install libomp | |
brew link --force libomp | |
# The global version of pybind11 allows us to find it via CMake. | |
- name: Update setup related tools | |
run: | | |
python -m pip install wheel | |
python -m pip install setuptools | |
python -m pip install ninja | |
python -m pip install scikit-build | |
python -m pip install pybind11-global | |
- name: Install with pip | |
run: python -m pip install ./ -v | |
- name: Test Python bindings | |
run: python -m unittest discover -s ./test/pyco_tree -p '*_test.py' -v |