mirror of https://github.com/koide3/small_gicp.git
test for python
This commit is contained in:
parent
135d073dcd
commit
fbe9669398
|
|
@ -1,4 +1,4 @@
|
|||
name: Build
|
||||
name: Test
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
@ -25,6 +25,7 @@ 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: |
|
||||
|
|
@ -32,4 +33,6 @@ jobs:
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue