2
0

.cirrus.yml 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. Dinit with hardening CI_task:
  2. skip: "!changesInclude('.cirrus.yml',
  3. 'build/**',
  4. 'configs/**',
  5. 'dasynq/**',
  6. 'src/**',
  7. '**/Makefile',
  8. 'configure',
  9. '!**/meson.build')"
  10. environment:
  11. CXX: /usr/local/bin/clang++15 # Default clang++14 doesn't support CFI
  12. CXXFLAGS:
  13. -std=c++11
  14. -flto
  15. -fstack-clash-protection
  16. -fvisibility=hidden
  17. -fsanitize=cfi
  18. -fsanitize=signed-integer-overflow,integer-divide-by-zero
  19. -fsanitize-trap=signed-integer-overflow,integer-divide-by-zero
  20. -fno-sanitize-recover
  21. TEST_LDFLAGS: # ASLR breaks -fsanitize=address,undefined
  22. freebsd_instance:
  23. image_family: freebsd-14-0
  24. Getting depends_script: pkg update && ASSUME_ALWAYS_YES=YES pkg install gmake m4 file llvm15
  25. Configure_script: ./configure
  26. Build_script: gmake
  27. Print dinit executive file architecture_script: file ./src/dinit
  28. Unit tests_script: gmake check
  29. Integration tests_script: gmake check-igr DEBUG=1