diff --git a/.cirrus.yml b/.cirrus.yml index 7db6ce1a9112e..de3de3d666d13 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -4,18 +4,19 @@ env: freebsd_task: name: FREEBSD_DEBUG_NTS freebsd_instance: - image_family: freebsd-13-3 + image_family: freebsd-14-0 env: ARCH: amd64 install_script: #- sed -i -e 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf #- pkg upgrade -y - kldload accf_http + - sysctl hw.ncpu - 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 script: - ./buildconf -f - ./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 - - gmake -j2 + - gmake -j$(sysctl -n hw.ncpu) > /dev/null - mkdir /etc/php.d - gmake install - echo opcache.enable_cli=1 > /etc/php.d/opcache.ini @@ -26,4 +27,4 @@ freebsd_task: - export SKIP_IO_CAPTURE_TESTS=1 - export CI_NO_IPV6=1 - export STACK_LIMIT_DEFAULTS_CHECK=1 - - 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 + - sapi/cli/php run-tests.php -P -q -j2 -g FAIL,BORK,LEAK,XLEAK --offline --show-diff --show-slow 1000 --set-timeout 120 -d zend_extension=opcache.so diff --git a/ext/sockets/tests/socket_sentto_recvfrom_unix.phpt b/ext/sockets/tests/socket_sentto_recvfrom_unix.phpt index 72594f0506b90..ac16ffecd1d5f 100644 --- a/ext/sockets/tests/socket_sentto_recvfrom_unix.phpt +++ b/ext/sockets/tests/socket_sentto_recvfrom_unix.phpt @@ -7,6 +7,10 @@ sockets if (substr(PHP_OS, 0, 3) == 'WIN') { die('skip.. Not valid for Windows'); } +// FreeBSD 14 bug ? even with non-sense protocol socket_create here does not warn +if (PHP_OS == 'FreeBSD') { + die('skip.. warning not triggered on freebsd'); +} ?> --FILE--