mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-23 04:31:12 +01:00
Test with ASAN
This commit is contained in:
parent
f01f6431a8
commit
af33dacf60
@ -7,7 +7,7 @@ ENV PHPIZE_DEPS \
|
|||||||
dpkg-dev dpkg \
|
dpkg-dev dpkg \
|
||||||
file \
|
file \
|
||||||
g++ \
|
g++ \
|
||||||
gcc \
|
clang \
|
||||||
libc-dev \
|
libc-dev \
|
||||||
make \
|
make \
|
||||||
pkgconf \
|
pkgconf \
|
||||||
@ -48,6 +48,9 @@ ENV PHP_CFLAGS="-fstack-protector-strong -fpic -fpie -O0 -D_LARGEFILE_SOURCE -D_
|
|||||||
ENV PHP_CPPFLAGS="$PHP_CFLAGS"
|
ENV PHP_CPPFLAGS="$PHP_CFLAGS"
|
||||||
ENV PHP_LDFLAGS="-Wl,-O0 -pie"
|
ENV PHP_LDFLAGS="-Wl,-O0 -pie"
|
||||||
|
|
||||||
|
ENV CC=clang
|
||||||
|
ENV CXX=clang++
|
||||||
|
|
||||||
ENV GPG_KEYS 1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
|
ENV GPG_KEYS 1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
|
||||||
|
|
||||||
ENV PHP_VERSION 8.3.1
|
ENV PHP_VERSION 8.3.1
|
||||||
@ -163,6 +166,7 @@ RUN set -eux; \
|
|||||||
--disable-cgi \
|
--disable-cgi \
|
||||||
\
|
\
|
||||||
--enable-debug \
|
--enable-debug \
|
||||||
|
--enable-address-sanitizer \
|
||||||
--enable-fpm \
|
--enable-fpm \
|
||||||
--with-ffi \
|
--with-ffi \
|
||||||
--enable-pcntl \
|
--enable-pcntl \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user