|  | 
| 1 | 1 | env: | 
| 2 | 2 |   CIRRUS_CLONE_DEPTH: 1 | 
| 3 |  | -  ARCH: amd64 | 
| 4 | 3 | 
 | 
| 5 |  | -freebsd_instance: | 
| 6 |  | -  image_family: freebsd-13-0 | 
|  | 4 | +asan_task: | 
|  | 5 | +  name: ASAN_DEBUG_NTS | 
|  | 6 | +  container: | 
|  | 7 | +    image: gcc:latest | 
|  | 8 | +  install_script: | 
|  | 9 | +    - apt-get update && apt-get install \ | 
|  | 10 | +        bison \ | 
|  | 11 | +        re2c \ | 
|  | 12 | +        locales \ | 
|  | 13 | +        ldap-utils \ | 
|  | 14 | +        openssl \ | 
|  | 15 | +        slapd \ | 
|  | 16 | +        language-pack-de \ | 
|  | 17 | +        libgmp-dev \ | 
|  | 18 | +        libicu-dev \ | 
|  | 19 | +        libtidy-dev \ | 
|  | 20 | +        libenchant-dev \ | 
|  | 21 | +        libaspell-dev \ | 
|  | 22 | +        libpspell-dev \ | 
|  | 23 | +        libsasl2-dev \ | 
|  | 24 | +        libxpm-dev \ | 
|  | 25 | +        libzip-dev \ | 
|  | 26 | +        libsqlite3-dev \ | 
|  | 27 | +        libwebp-dev \ | 
|  | 28 | +        libonig-dev \ | 
|  | 29 | +        libkrb5-dev \ | 
|  | 30 | +        libgssapi-krb5-2 \ | 
|  | 31 | +        libcurl4-openssl-dev \ | 
|  | 32 | +        libxml2-dev \ | 
|  | 33 | +        libxslt1-dev \ | 
|  | 34 | +        libpq-dev \ | 
|  | 35 | +        libreadline-dev \ | 
|  | 36 | +        libldap2-dev \ | 
|  | 37 | +        libsodium-dev \ | 
|  | 38 | +        libargon2-0-dev \ | 
|  | 39 | +        libmm-dev \ | 
|  | 40 | +        libsnmp-dev \ | 
|  | 41 | +        postgresql \ | 
|  | 42 | +        postgresql-contrib \ | 
|  | 43 | +        snmpd \ | 
|  | 44 | +        snmp-mibs-downloader \ | 
|  | 45 | +        freetds-dev \ | 
|  | 46 | +        unixodbc-dev \ | 
|  | 47 | +        llvm \ | 
|  | 48 | +        libc-client-dev \ | 
|  | 49 | +        dovecot-core \ | 
|  | 50 | +        dovecot-pop3d \ | 
|  | 51 | +        dovecot-imapd \ | 
|  | 52 | +        sendmail \ | 
|  | 53 | +        firebird-dev \ | 
|  | 54 | +        liblmdb-dev \ | 
|  | 55 | +        libtokyocabinet-dev \ | 
|  | 56 | +        libdb-dev \ | 
|  | 57 | +        libqdbm-dev \ | 
|  | 58 | +        libjpeg-dev \ | 
|  | 59 | +        libpng-dev \ | 
|  | 60 | +        libfreetype6-dev | 
|  | 61 | +  build_script: | 
|  | 62 | +    - ./buildconf -f | 
|  | 63 | +    - ./configure \ | 
|  | 64 | +          --enable-option-checking=fatal \ | 
|  | 65 | +          --prefix=/usr \ | 
|  | 66 | +          --enable-phpdbg \ | 
|  | 67 | +          --enable-fpm \ | 
|  | 68 | +          --with-pdo-mysql=mysqlnd \ | 
|  | 69 | +          --with-mysqli=mysqlnd \ | 
|  | 70 | +          --with-pgsql \ | 
|  | 71 | +          --with-pdo-pgsql \ | 
|  | 72 | +          --with-pdo-sqlite \ | 
|  | 73 | +          --enable-intl \ | 
|  | 74 | +          --without-pear \ | 
|  | 75 | +          --enable-gd \ | 
|  | 76 | +          --with-jpeg \ | 
|  | 77 | +          --with-webp \ | 
|  | 78 | +          --with-freetype \ | 
|  | 79 | +          --with-xpm \ | 
|  | 80 | +          --enable-exif \ | 
|  | 81 | +          --with-zip \ | 
|  | 82 | +          --with-zlib \ | 
|  | 83 | +          --with-zlib-dir=/usr \ | 
|  | 84 | +          --enable-soap \ | 
|  | 85 | +          --enable-xmlreader \ | 
|  | 86 | +          --with-xsl \ | 
|  | 87 | +          --with-tidy \ | 
|  | 88 | +          --enable-sysvsem \ | 
|  | 89 | +          --enable-sysvshm \ | 
|  | 90 | +          --enable-shmop \ | 
|  | 91 | +          --enable-pcntl \ | 
|  | 92 | +          --with-readline \ | 
|  | 93 | +          --enable-mbstring \ | 
|  | 94 | +          --with-curl \ | 
|  | 95 | +          --with-gettext \ | 
|  | 96 | +          --enable-sockets \ | 
|  | 97 | +          --with-bz2 \ | 
|  | 98 | +          --with-openssl \ | 
|  | 99 | +          --with-gmp \ | 
|  | 100 | +          --enable-bcmath \ | 
|  | 101 | +          --enable-calendar \ | 
|  | 102 | +          --enable-ftp \ | 
|  | 103 | +          --with-pspell=/usr \ | 
|  | 104 | +          --with-enchant=/usr \ | 
|  | 105 | +          --with-kerberos \ | 
|  | 106 | +          --enable-sysvmsg \ | 
|  | 107 | +          --with-ffi \ | 
|  | 108 | +          --enable-zend-test \ | 
|  | 109 | +          --enable-dl-test=shared \ | 
|  | 110 | +          --with-ldap \ | 
|  | 111 | +          --with-ldap-sasl \ | 
|  | 112 | +          --with-password-argon2 \ | 
|  | 113 | +          --with-mhash \ | 
|  | 114 | +          --with-sodium \ | 
|  | 115 | +          --enable-dba \ | 
|  | 116 | +          --with-cdb \ | 
|  | 117 | +          --enable-flatfile \ | 
|  | 118 | +          --enable-inifile \ | 
|  | 119 | +          --with-tcadb \ | 
|  | 120 | +          --with-lmdb \ | 
|  | 121 | +          --with-qdbm \ | 
|  | 122 | +          --with-snmp \ | 
|  | 123 | +          --with-unixODBC \ | 
|  | 124 | +          --with-imap \ | 
|  | 125 | +          --with-kerberos \ | 
|  | 126 | +          --with-imap-ssl \ | 
|  | 127 | +          --with-pdo-odbc=unixODBC,/usr \ | 
|  | 128 | +          --with-pdo-oci=shared,instantclient,/opt/oracle/instantclient \ | 
|  | 129 | +          --with-oci8=shared,instantclient,/opt/oracle/instantclient \ | 
|  | 130 | +          --with-config-file-path=/etc \ | 
|  | 131 | +          --with-config-file-scan-dir=/etc/php.d \ | 
|  | 132 | +          --with-pdo-firebird \ | 
|  | 133 | +          --with-pdo-dblib \ | 
|  | 134 | +          --enable-werror \ | 
|  | 135 | +          CFLAGS='-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC' LDFLAGS='-fsanitize=undefined,address' | 
|  | 136 | +    - make -j2 | 
|  | 137 | +    - make install | 
|  | 138 | +    - echo opcache.enable_cli=1 > /etc/php.d/opcache.ini | 
|  | 139 | +    - echo opcache.protect_memory=1 >> /etc/php.d/opcache.ini | 
|  | 140 | +    # Specify opcache.preload_user as we're running as root. | 
|  | 141 | +    - echo opcache.preload_user=root >> /etc/php.d/opcache.ini | 
|  | 142 | +  tests_script: | 
|  | 143 | +    - export SKIP_IO_CAPTURE_TESTS=1 | 
|  | 144 | +    - export CI_NO_IPV6=1 | 
|  | 145 | +    - sapi/cli/php run-tests.php \ | 
|  | 146 | +        -P -q -j2 \ | 
|  | 147 | +        -g FAIL,BORK,LEAK,XLEAK \ | 
|  | 148 | +        --no-progress \ | 
|  | 149 | +        --offline \ | 
|  | 150 | +        --show-diff \ | 
|  | 151 | +        --show-slow 1000 \ | 
|  | 152 | +        --set-timeout 120 \ | 
|  | 153 | +        -d zend_extension=opcache.so \ | 
|  | 154 | +        --asan | 
| 7 | 155 | 
 | 
| 8 |  | -task: | 
|  | 156 | +freebsd_task: | 
| 9 | 157 |   name: FREEBSD_DEBUG_NTS | 
|  | 158 | +  freebsd_instance: | 
|  | 159 | +    image_family: freebsd-13-0 | 
| 10 | 160 |   install_script: | 
| 11 | 161 |     #- sed -i -e 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf | 
| 12 | 162 |     #- pkg upgrade -y | 
|  | 
0 commit comments