From 836bc5f5092dd44339a574335d66fa4e025d3efc Mon Sep 17 00:00:00 2001 From: Mattia Montanari Date: Thu, 21 May 2020 17:54:59 +0100 Subject: [PATCH] Dir for CI --- .github/workflows/ccpp.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 0afd2af..d2e1ff1 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -9,11 +9,15 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Install Eigen and Pybind11 - run: sudo apt update && sudo apt install -y libeigen3-dev && pip3 install pybind11 pytest numpy scipy - - name: Compile + - name: Install python moduels + run: sudo apt update && sudo apt install -y libeigen3-dev && pip3 install pybind11 pytest numpy scipy cython + - name: Compile Bybind run: export CPATH=/usr/include/eigen3 && cd examples/python && source build.sh - - name: Test + - 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 pygjk_trial.py