-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.cirrus.yml
25 lines (22 loc) · 917 Bytes
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
freebsd_instance:
image: freebsd-13-2-release-amd64
cpu: 4
env:
MAKE_FLAGS: -j 4
task:
install_script:
- sed -i.bak -e 's,pkg+http://pkg.FreeBSD.org/\${ABI}/quarterly,pkg+http://pkg.FreeBSD.org/\${ABI}/latest,' /etc/pkg/FreeBSD.conf
- ASSUME_ALWAYS_YES=yes pkg bootstrap -f
- pkg install -y gmp mpfr boost-libs cmake ninja py39-pytest py39-pip py39-wheel
build_script:
- fetch "https://github.com/CGAL/cgal/releases/download/v5.6/CGAL-5.6.tar.xz" -o CGAL-5.6.tar.xz
- fetch "https://gitlab.com/SFCGAL/SFCGAL/-/archive/master/SFCGAL-master.tar.gz" -o SFCGAL.tar.gz
- tar xzf SFCGAL.tar.gz
- cd SFCGAL-master
- tar xJf ../CGAL-5.6.tar.xz
- cmake -GNinja -S . -B build -DCGAL_DIR=CGAL-5.6
- cmake --build build
- cmake --install build
- cd ..
- env CFLAGS=-I/usr/local/include python3.9 setup.py build install
- ls tests/test_* | xargs pytest-3.9