-
-
Notifications
You must be signed in to change notification settings - Fork 49
/
.cirrus.yml
31 lines (29 loc) · 1.09 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
Dinit with hardening CI_task:
skip: "!changesInclude('.cirrus.yml',
'build/**',
'configs/**',
'dasynq/**',
'src/**',
'**/Makefile',
'configure',
'!**/meson.build')"
environment:
CXX: /usr/local/bin/clang++15 # Default clang++14 doesn't support CFI
CXXFLAGS:
-std=c++11
-flto
-fstack-clash-protection
-fvisibility=hidden
-fsanitize=cfi
-fsanitize=signed-integer-overflow,integer-divide-by-zero
-fsanitize-trap=signed-integer-overflow,integer-divide-by-zero
-fno-sanitize-recover
TEST_LDFLAGS: # ASLR breaks -fsanitize=address,undefined
freebsd_instance:
image_family: freebsd-14-0
Getting depends_script: pkg update && ASSUME_ALWAYS_YES=YES pkg install gmake m4 file llvm15
Configure_script: ./configure
Build_script: gmake
Print dinit executive file architecture_script: file ./src/dinit
Unit tests_script: gmake check
Integration tests_script: gmake check-igr