Dir for CI
parent
4c0580cc75
commit
836bc5f509
|
@ -9,11 +9,15 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install Eigen and Pybind11
|
- name: Install python moduels
|
||||||
run: sudo apt update && sudo apt install -y libeigen3-dev && pip3 install pybind11 pytest numpy scipy
|
run: sudo apt update && sudo apt install -y libeigen3-dev && pip3 install pybind11 pytest numpy scipy cython
|
||||||
- name: Compile
|
- name: Compile Bybind
|
||||||
run: export CPATH=/usr/include/eigen3 && cd examples/python && source build.sh
|
run: export CPATH=/usr/include/eigen3 && cd examples/python && source build.sh
|
||||||
- name: Test
|
- name: Test Bybind
|
||||||
run: |
|
run: |
|
||||||
cd examples/python
|
cd examples/python
|
||||||
python3 -m pytest -s -v test.py
|
python3 -m pytest -s -v test.py
|
||||||
|
- name: Run cython
|
||||||
|
run: |
|
||||||
|
cd examples/cython
|
||||||
|
python3 setup.py build_ext --inplace && python3 pygjk_trial.py
|
||||||
|
|
Loading…
Reference in New Issue