123456789101112131415161718192021222324252627282930313233 |
- 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 isn't friendly with hardening
- 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:
- matrix:
- - image_family: freebsd-13-2
- - image_family: freebsd-12-4
- 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 DEBUG=1
|