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