-
Notifications
You must be signed in to change notification settings - Fork 1
/
.cirrus.yml
44 lines (41 loc) · 1.3 KB
/
.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
task:
name: FreeBSD
alias: test-freebsd
env:
MAKE_FLAGS: -j 8
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 cgal gmp mpfr boost-libs cmake ninja
build_script:
- export CGAL_VERSION=6.0.1
- fetch "https://github.com/CGAL/cgal/releases/download/v${CGAL_VERSION}/CGAL-${CGAL_VERSION}.tar.xz" -o CGAL-${CGAL_VERSION}.tar.xz
- tar xJf CGAL-${CGAL_VERSION}.tar.xz
- cmake -GNinja -S . -B build -DSFCGAL_BUILD_TESTS=ON -DCGAL_DIR=CGAL-${CGAL_VERSION}
- cmake --build build
- ctest -VV --test-dir build
freebsd_instance:
cpu: 8
memory: 24g
matrix:
- name: 15.0-CURRENT
freebsd_instance:
image_family: freebsd-15-0-snap
- name: 14.1-RELEASE
freebsd_instance:
image_family: freebsd-14-1
- name: 13.3-RELEASE
freebsd_instance:
image_family: freebsd-13-3
task:
name: macOS
alias: test-macos
test_script:
- brew update
- brew install cmake boost cgal gmp mpfr
- cmake -DSFCGAL_BUILD_TESTS=ON -S . -B build
- cmake --build build
- ctest -VV --test-dir build
matrix:
macos_instance:
image: ghcr.io/cirruslabs/macos-runner:sonoma