forked from PyMesh/PyMesh
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
21 lines (17 loc) · 935 Bytes
/
circle.yml
File metadata and controls
21 lines (17 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
checkout:
post:
- export PYMESH_PATH=`pwd`
- git submodule sync
- git submodule update --init
dependencies:
pre:
- sudo add-apt-repository -y ppa:george-edison55/cmake-3.x
- sudo apt-get update; sudo apt-get install -y cmake libeigen3-dev libcgal10 libgmp-dev libgmpxx4ldbl libumfpack5.6.2 libcgal-dev python3-nose python3-numpy python3-scipy python3-setuptools swig; sudo apt-get clean
- mkdir -p third_party/build; cd third_party/build; cmake ..; make; make install; make clean;
- mkdir build; cd build; cmake ..; make; make tools
#- mkdir build; cd build; cmake -DPYTHON_LIBRARY=/opt/circleci/python/3.5.0/lib/libpython3.5m.a -DPYTHON_INCLUDE_DIR=/opt/circleci/python/3.5.0/include/python3.5m/ ..; make; make tools
- sudo ./setup.py install
test:
override:
- cd build; make all_tests
- python -c "import pymesh; pymesh.test()"