diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml deleted file mode 100644 index c8844d9..0000000 --- a/.github/workflows/ccpp.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: C/C++ CI - -on: [push] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Install python moduels - run: sudo apt update && sudo apt install -y libeigen3-dev python3-setuptools && pip3 install pybind11 pytest numpy scipy cython - - name: Compile Bybind - run: export CPATH=/usr/include/eigen3 && cd examples/python && source build.sh - - name: Test Bybind - run: | - cd examples/python - python3 -m pytest -s -v test.py - - name: Run cython - run: | - cd examples/cython - python3 setup.py build_ext --inplace && python3 -m pytest -s -v test.py diff --git a/README.md b/README.md index c231037..6e712f6 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ If you have some basic tools installed (git, compiler and cmake) clone this repo: ``` -git clone +git clone https://github.com/MattiaMontanari/openGJK.git ``` followed by these commands: @@ -35,12 +35,14 @@ followed by these commands: cmake -E make_directory build cmake -E chdir build cmake -DRUN_UNITESTS=ON -DCMAKE_BUILD_TYPE=Release .. cmake --build build -cmake -E chdir build/src/examples/c ./example_lib_opengjk_ce +cmake -E chdir build/examples/c ./example_lib_opengjk_ce cmake -E chdir "build/test" ctest --build-config Release ``` If you get no errors, the successfull output is: + > `Distance between bodies 3.653650`. + However, if you do get an error - any error - please file a bug! Support requests are welcome too. # Beyond getting started