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