-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.cirrus.yml
98 lines (98 loc) · 4.01 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
task:
name: freebsd-14-gcc
freebsd_instance:
image_family: freebsd-14-0
install_script: pkg install -y git gmake gcc
submodules_script:
- git submodule init
- git submodule update
script: CXX=g++ RANLIB=gcc-ranlib13 AR=gcc-ar13 gmake
tests_script: CXX=g++ RANLIB=gcc-ranlib13 AR=gcc-ar13 gmake check
task:
name: freebsd-14-gcc-conan
freebsd_instance:
image_family: freebsd-14-0
install_script:
- pkg install -y git gmake cmake gcc llvm15 devel/py-pip py311-sqlite3
- pip install --user 'pyyaml==5.3.1' 'conan<2'
- ln -s /usr/local/bin/clang-format15 /usr/local/bin/clang-format
script:
- export CC=gcc CXX=g++ RANLIB=gcc-ranlib13 AR=gcc-ar13 PATH=~/.local/bin:$PATH
- conan install . --build missing -s compiler.libcxx=libstdc++11
- gmake all
tests_script: CXX=g++ RANLIB=gcc-ranlib13 AR=gcc-ar13 gmake check
task:
name: freebsd-14-gcc-cmake
freebsd_instance:
image_family: freebsd-14-0
install_script:
- pkg install -y git gmake cmake gcc llvm15 devel/py-pip py311-sqlite3
- pip install --user 'pyyaml==5.3.1' 'conan<2'
- ln -s /usr/local/bin/clang-format15 /usr/local/bin/clang-format
script:
- export CC=gcc CXX=g++ RANLIB=gcc-ranlib13 AR=gcc-ar13 PATH=~/.local/bin:$PATH
- mkdir build && cd build
- conan install .. -g cmake_find_package --build missing -s compiler.libcxx=libstdc++11
- cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_MODULE_PATH=${PWD} -DBUILD_TESTING=ON -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/tmp/install -DCMAKE_AR=`which $AR` -DCMAKE_RANLIB=`which $RANLIB`
- cmake --build .
- cmake --build . --target install
tests_script: cd build && cmake --build . --target test
task:
name: freebsd-14-clang
freebsd_instance:
image_family: freebsd-14-0
install_script: pkg install -y git gmake binutils llvm15
submodules_script:
- git submodule init
- git submodule update
script: CXX=clang++15 RANLIB=llvm-ranlib15 AR=llvm-ar15 gmake
tests_script: CXX=clang++15 RANLIB=llvm-ranlib15 AR=llvm-ar15 gmake check
task:
name: freebsd-14-clang-conan
freebsd_instance:
image_family: freebsd-14-0
install_script:
- pkg install -y git gmake cmake llvm15 binutils devel/py-pip py311-sqlite3
- pip install --user 'pyyaml==5.3.1' 'conan<2'
- ln -s /usr/local/bin/clang-format15 /usr/bin/clang-format
script:
- export CC=clang15 CXX=clang++15 RANLIB=llvm-ranlib15 AR=llvm-ar15 PATH=~/.local/bin:$PATH
- conan install . --build missing
- gmake all
tests_script: CXX=clang++15 RANLIB=llvm-ranlib15 AR=llvm-ar15 gmake check
task:
name: freebsd-14-clang-cmake
freebsd_instance:
image_family: freebsd-14-0
install_script:
- pkg install -y git gmake cmake llvm15 binutils devel/py-pip py311-sqlite3
- pip install --user 'pyyaml==5.3.1' 'conan<2'
- ln -s /usr/local/bin/clang-format15 /usr/bin/clang-format
script:
- export CC=clang15 CXX=clang++15 RANLIB=llvm-ranlib15 AR=llvm-ar15 PATH=~/.local/bin:$PATH
- mkdir build && cd build
- conan install .. -g cmake_find_package --build missing
- cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_MODULE_PATH=${PWD} -DBUILD_TESTING=ON -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/tmp/install -DCMAKE_AR=`which $AR` -DCMAKE_RANLIB=`which $RANLIB`
- cmake --build .
- cmake --build . --target install
tests_script: cd build && cmake --build . --target test
task:
name: freebsd-13-gcc
freebsd_instance:
image_family: freebsd-13-3
install_script: pkg install -y git gmake gcc
submodules_script:
- git submodule init
- git submodule update
script: CXX=g++ RANLIB=gcc-ranlib13 AR=gcc-ar13 gmake
tests_script: CXX=g++ RANLIB=gcc-ranlib13 AR=gcc-ar13 gmake check
task:
name: freebsd-13-clang
freebsd_instance:
image_family: freebsd-13-3
install_script: pkg install -y git gmake binutils llvm15
submodules_script:
- git submodule init
- git submodule update
script: CXX=clang++15 RANLIB=llvm-ranlib15 AR=llvm-ar15 gmake
tests_script: CXX=clang++15 RANLIB=llvm-ranlib15 AR=llvm-ar15 gmake check