light/tools/scripts/build_ci_images.sh
light7734 1c27e4d2c7
Some checks reported errors
continuous-integration/drone/pr Build was killed
ci: add memory sanitization check
2025-07-20 08:22:27 +03:30

30 lines
734 B
Bash
Executable file

#!/bin/bash
set -e
IMAGE_DIR="$(git rev-parse --show-toplevel)/tools/ci/images"
echo "==> Building image: clang format"
cd "$IMAGE_DIR/clang_format"
docker build -t clang_format .
echo "==> Building image: static analysis"
cd "$IMAGE_DIR/static_analysis"
docker build -t static_analysis .
echo "==> Building image: unit tests"
cd "$IMAGE_DIR/unit_tests"
docker build -t unit_tests .
echo "==> Building image: valgrind"
cd "$IMAGE_DIR/valgrind"
docker build -t valgrind .
echo "==> Building image: leak_sanitizer"
cd "$IMAGE_DIR/leak_sanitizer"
docker build -t leak_sanitizer .
echo "==> Building image: memory_sanitizer"
cd "$IMAGE_DIR/memory_sanitizer"
docker build -t memory_sanitizer .
echo "WOOOOOOOOOOOOOOOOH!!! DONE :D"