2021-05-21 18:00:46 +08:00
|
|
|
env:
|
|
|
|
CIRRUS_CLONE_DEPTH: 1
|
|
|
|
|
2022-09-08 17:48:03 +08:00
|
|
|
freebsd_task:
|
2021-05-21 18:00:46 +08:00
|
|
|
name: FREEBSD_DEBUG_NTS
|
2022-09-08 17:48:03 +08:00
|
|
|
freebsd_instance:
|
2024-03-08 05:01:27 +08:00
|
|
|
image_family: freebsd-13-3
|
2023-03-06 23:18:18 +08:00
|
|
|
env:
|
|
|
|
ARCH: amd64
|
2021-05-21 18:00:46 +08:00
|
|
|
install_script:
|
|
|
|
#- sed -i -e 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf
|
|
|
|
#- pkg upgrade -y
|
2021-05-16 19:10:36 +08:00
|
|
|
- kldload accf_http
|
2024-03-02 16:29:55 +08:00
|
|
|
- pkg install -y autoconf bison gmake re2c icu libiconv png freetype2 enchant2 bzip2 t1lib gmp tidyp libsodium libzip libxml2 libxslt openssl oniguruma pkgconf webp libavif
|
2021-05-21 18:00:46 +08:00
|
|
|
script:
|
|
|
|
- ./buildconf -f
|
2024-03-02 16:29:55 +08:00
|
|
|
- ./configure --prefix=/usr/local --enable-debug --enable-option-checking=fatal --enable-fpm --with-pdo-sqlite --without-pear --with-bz2 --with-avif --with-jpeg --with-webp --with-freetype --enable-gd --enable-exif --with-zip --with-zlib --enable-soap --enable-xmlreader --with-xsl --with-libxml --enable-shmop --enable-pcntl --enable-mbstring --with-curl --enable-sockets --with-openssl --with-iconv=/usr/local --enable-bcmath --enable-calendar --enable-ftp --with-ffi --enable-zend-test --enable-dl-test=shared --enable-intl --with-mhash --with-sodium --enable-werror --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
|
2021-05-21 18:00:46 +08:00
|
|
|
- gmake -j2
|
|
|
|
- mkdir /etc/php.d
|
|
|
|
- gmake install
|
|
|
|
- echo opcache.enable_cli=1 > /etc/php.d/opcache.ini
|
|
|
|
- echo opcache.protect_memory=1 >> /etc/php.d/opcache.ini
|
|
|
|
# Specify opcache.preload_user as we're running as root.
|
|
|
|
- echo opcache.preload_user=root >> /etc/php.d/opcache.ini
|
|
|
|
tests_script:
|
|
|
|
- export SKIP_IO_CAPTURE_TESTS=1
|
|
|
|
- export CI_NO_IPV6=1
|
2022-12-17 00:44:26 +08:00
|
|
|
- export STACK_LIMIT_DEFAULTS_CHECK=1
|
2022-08-12 02:58:15 +08:00
|
|
|
- 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
|