Skip to content

Updated the S1 distance function coordinate range from [-pi...+pi] to… #310

Updated the S1 distance function coordinate range from [-pi...+pi] to…

Updated the S1 distance function coordinate range from [-pi...+pi] to… #310

Workflow file for this run

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