xref: /PHP-8.4/.cirrus.yml (revision 4b855eba)
1env:
2  CIRRUS_CLONE_DEPTH: 1
3
4freebsd_task:
5  name: FREEBSD_DEBUG_NTS
6  skip: "changesIncludeOnly('NEWS', 'EXTENSIONS', 'UPGRADING', 'UPGRADING.INTERNALS', '**.md', 'docs/*', 'docs-old/*', '**/README.*', 'CONTRIBUTING.md', 'CODING_STANDARDS.md')"
7  freebsd_instance:
8    image_family: freebsd-13-3
9  env:
10    ARCH: amd64
11  install_script:
12    #- sed -i -e 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf
13    #- pkg upgrade -y
14    - kldload accf_http
15    - 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
16  script:
17    - ./buildconf -f
18    - ./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
19    - gmake -j2
20    - mkdir /etc/php.d
21    - gmake install
22    - echo opcache.enable_cli=1 > /etc/php.d/opcache.ini
23    - echo opcache.protect_memory=1 >> /etc/php.d/opcache.ini
24    # Specify opcache.preload_user as we're running as root.
25    - echo opcache.preload_user=root >> /etc/php.d/opcache.ini
26  tests_script:
27    - export SKIP_IO_CAPTURE_TESTS=1
28    - export CI_NO_IPV6=1
29    - export STACK_LIMIT_DEFAULTS_CHECK=1
30    - 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
31