-
Notifications
You must be signed in to change notification settings - Fork 715
/
.cirrus.yml
52 lines (50 loc) · 1.52 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
freebsd_task:
freebsd_instance:
image_family: freebsd-13-3
matrix:
- name: freebsd_clang
env:
CXX: clang++
- name: freebsd_gcc
gcc_script: pkg install -y gcc
env:
CXX: g++
test_script: make CXX=$CXX -j$(sysctl -n hw.ncpu) test
env:
LC_ALL: en_US.UTF-8
linux_task:
locales_script:
- apt-get update && apt-get -y install locales
- echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
- locale-gen en_US.UTF-8
matrix:
- name: linux_clang
container:
image: silkeh/clang:13
env:
CXX: clang++
- name: linux_gcc
container:
image: gcc:10
memory: 8G
env:
CXX: g++
test_script: make CXX=$CXX -j$(nproc) test
env:
LC_ALL: en_US.UTF-8
macos_task:
macos_instance:
image: ghcr.io/cirruslabs/macos-ventura-base:latest
matrix:
- name: macos_clang
clang_script: brew install llvm@13
env:
CXX: /opt/homebrew/opt/llvm@13/bin/clang++
- name: macos_gcc
gcc_script:
- /usr/sbin/softwareupdate --install-rosetta --agree-to-license
- arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
- arch -x86_64 /usr/local/bin/brew install gcc@12
env:
CXX: g++-12
test_script: make CXX=$CXX -j$(sysctl -n hw.ncpu) test