1
1
env :
2
2
CIRRUS_CLONE_DEPTH : 1
3
- ARCH : amd64
4
3
5
- freebsd_instance :
6
- image_family : freebsd-13-0
7
-
8
- task :
4
+ freebsd_task :
9
5
name : FREEBSD_DEBUG_NTS
6
+ freebsd_instance :
7
+ image_family : freebsd-13-0
8
+ env :
9
+ ARCH : amd64
10
10
install_script :
11
11
# - sed -i -e 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf
12
12
# - pkg upgrade -y
@@ -26,3 +26,198 @@ task:
26
26
- export SKIP_IO_CAPTURE_TESTS=1
27
27
- export CI_NO_IPV6=1
28
28
- sapi/cli/php run-tests.php -P -q -j2 -g FAIL,BORK,LEAK,XLEAK --no-progress --offline --show-diff --show-slow 1000 --set-timeout 120 -d zend_extension=opcache.so
29
+
30
+ arm_task :
31
+ name : ARM_DEBUG_NTS
32
+ arm_container :
33
+ image : gcc:10
34
+ additional_containers :
35
+ - name : mysql
36
+ image : mysql:8
37
+ port : 3306
38
+ cpu : 1.0
39
+ memory : 1G
40
+ env :
41
+ MYSQL_ALLOW_EMPTY_PASSWORD : true
42
+ MYSQL_ROOT_PASSWORD : " "
43
+ MYSQL_DATABASE : " test"
44
+ - name : postgres
45
+ image : postgres:latest
46
+ port : 5432
47
+ env :
48
+ POSTGRES_PASSWORD : " postgres"
49
+ POSTGRES_DB : " test"
50
+ install_script :
51
+ - export DEBIAN_FRONTEND=noninteractive
52
+ - apt-get update -y
53
+ - >-
54
+ apt-get install -y
55
+ bison
56
+ re2c
57
+ locales
58
+ locales-all
59
+ ldap-utils
60
+ openssl
61
+ slapd
62
+ libgmp-dev
63
+ libicu-dev
64
+ libtidy-dev
65
+ libenchant-dev
66
+ libaspell-dev
67
+ libpspell-dev
68
+ libsasl2-dev
69
+ libxpm-dev
70
+ libzip-dev
71
+ libsqlite3-dev
72
+ libwebp-dev
73
+ libonig-dev
74
+ libkrb5-dev
75
+ libgssapi-krb5-2
76
+ libcurl4-openssl-dev
77
+ libxml2-dev
78
+ libxslt1-dev
79
+ libpq-dev
80
+ libreadline-dev
81
+ libldap2-dev
82
+ libsodium-dev
83
+ libargon2-0-dev
84
+ libmm-dev
85
+ libsnmp-dev
86
+ snmpd
87
+ `#snmp-mibs-downloader`
88
+ freetds-dev
89
+ `#unixodbc-dev`
90
+ libc-client-dev
91
+ dovecot-core
92
+ dovecot-pop3d
93
+ dovecot-imapd
94
+ sendmail
95
+ firebird-dev
96
+ liblmdb-dev
97
+ libtokyocabinet-dev
98
+ libdb-dev
99
+ libqdbm-dev
100
+ libjpeg-dev
101
+ libpng-dev
102
+ libfreetype6-dev
103
+ build_script :
104
+ - ./buildconf -f
105
+ - >-
106
+ ./configure
107
+ --enable-debug
108
+ --enable-zts
109
+ --enable-option-checking=fatal
110
+ --prefix=/usr
111
+ --enable-phpdbg
112
+ --enable-fpm
113
+ --enable-opcache
114
+ --with-pdo-mysql=mysqlnd
115
+ --with-mysqli=mysqlnd
116
+ --with-pgsql
117
+ --with-pdo-pgsql
118
+ --with-pdo-sqlite
119
+ --enable-intl
120
+ --without-pear
121
+ --enable-gd
122
+ --with-jpeg
123
+ --with-webp
124
+ --with-freetype
125
+ --with-xpm
126
+ --enable-exif
127
+ --with-zip
128
+ --with-zlib
129
+ --with-zlib-dir=/usr
130
+ --enable-soap
131
+ --enable-xmlreader
132
+ --with-xsl
133
+ --with-tidy
134
+ --enable-sysvsem
135
+ --enable-sysvshm
136
+ --enable-shmop
137
+ --enable-pcntl
138
+ --with-readline
139
+ --enable-mbstring
140
+ --with-curl
141
+ --with-gettext
142
+ --enable-sockets
143
+ --with-bz2
144
+ --with-openssl
145
+ --with-gmp
146
+ --enable-bcmath
147
+ --enable-calendar
148
+ --enable-ftp
149
+ --with-pspell=/usr
150
+ --with-enchant=/usr
151
+ --with-kerberos
152
+ --enable-sysvmsg
153
+ --with-ffi
154
+ --enable-zend-test
155
+ --enable-dl-test=shared
156
+ --with-ldap
157
+ --with-ldap-sasl
158
+ --with-password-argon2
159
+ --with-mhash
160
+ --with-sodium
161
+ --enable-dba
162
+ --with-cdb
163
+ --enable-flatfile
164
+ --enable-inifile
165
+ --with-tcadb
166
+ --with-lmdb
167
+ --with-qdbm
168
+ --with-snmp
169
+ `#--with-unixODBC`
170
+ --with-imap
171
+ --with-kerberos
172
+ --with-imap-ssl
173
+ `#--with-pdo-odbc=unixODBC,/usr`
174
+ `#--with-pdo-oci=shared,instantclient,/opt/oracle/instantclient`
175
+ `#--with-oci8=shared,instantclient,/opt/oracle/instantclient`
176
+ --with-config-file-path=/etc
177
+ --with-config-file-scan-dir=/etc/php.d
178
+ --with-pdo-firebird
179
+ `#--with-pdo-dblib`
180
+ --disable-phpdbg
181
+ `#--enable-werror`
182
+ - make -j2 > /dev/null
183
+ - make install
184
+ - mkdir -p /etc/php.d
185
+ - echo opcache.enable_cli=1 > /etc/php.d/opcache.ini
186
+ - echo opcache.protect_memory=1 >> /etc/php.d/opcache.ini
187
+ # Specify opcache.preload_user as we're running as root.
188
+ - echo opcache.preload_user=root >> /etc/php.d/opcache.ini
189
+ tests_script :
190
+ - export SKIP_IO_CAPTURE_TESTS=1
191
+ - export CI_NO_IPV6=1
192
+ - export MYSQL_TEST_HOST=127.0.0.1
193
+ - export MYSQL_TEST_USER=root
194
+ - export MYSQL_TEST_PASSWD=
195
+ - export PDO_MYSQL_TEST_DSN="mysql:host=127.0.0.1;dbname=test"
196
+ - export PDO_MYSQL_TEST_USER=root
197
+ - export PDO_MYSQL_TEST_PASS=
198
+ - export PDO_PGSQL_TEST_DSN="pgsql:host=127.0.0.1 port=5432 dbname=test user=postgres password=postgres"
199
+ - >-
200
+ sapi/cli/php run-tests.php
201
+ -d zend_extension=opcache.so
202
+ -d opcache.enable_cli=1
203
+ -d opcache.jit_buffer_size=16M
204
+ -d opcache.jit=function
205
+ -P -q -x -j2
206
+ -g FAIL,BORK,LEAK,XLEAK
207
+ --offline
208
+ --show-diff
209
+ --show-slow 1000
210
+ --set-timeout 120
211
+ - >-
212
+ sapi/cli/php run-tests.php
213
+ -d zend_extension=opcache.so
214
+ -d opcache.enable_cli=1
215
+ -d opcache.jit_buffer_size=16M
216
+ -d opcache.jit=tracing
217
+ -P -q -x -j2
218
+ -g FAIL,BORK,LEAK,XLEAK
219
+ --offline
220
+ --show-diff
221
+ --show-slow 1000
222
+ --set-timeout 120
223
+ --repeat 2
0 commit comments