Skip to content

Commit

Permalink
test for python
Browse files Browse the repository at this point in the history
  • Loading branch information
koide3 committed Apr 2, 2024
1 parent 135d073 commit ccbf197
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,14 @@ jobs:
run: |
sudo apt-get -y update
sudo apt-get install -y build-essential cmake python3-pip pybind11-dev libeigen3-dev libfmt-dev libtbb-dev libomp-dev libpcl-dev libgtest-dev
pip install -U setuptools pytest numpy scipy
- name: Build
run: |
mkdir build && cd build
cmake .. -DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON -DBUILD_BENCHMARKS=ON -DBUILD_WITH_TBB=ON -DBUILD_WITH_PCL=ON
cmake --build . -j$(nproc)
ctest -j$(nproc)
cd ..
python3 setup.py build && python3 setup.py install
pytest src/example/basic_registration.py

0 comments on commit ccbf197

Please sign in to comment.