|
41 | 41 | CXX: ccache g++ |
42 | 42 | jobs: |
43 | 43 | LINUX_X64: |
44 | | - if: github.repository == 'php/php-src' || github.event_name == 'pull_request' |
| 44 | + if: false |
45 | 45 | services: |
46 | 46 | mysql: |
47 | 47 | image: mysql:8.3 |
@@ -137,7 +137,7 @@ jobs: |
137 | 137 | if: ${{ !matrix.asan }} |
138 | 138 | uses: ./.github/actions/verify-generated-files |
139 | 139 | LINUX_X32: |
140 | | - if: github.repository == 'php/php-src' || github.event_name == 'pull_request' |
| 140 | + if: false |
141 | 141 | name: LINUX_X32_DEBUG_ZTS |
142 | 142 | runs-on: ubuntu-latest |
143 | 143 | timeout-minutes: 50 |
@@ -183,7 +183,7 @@ jobs: |
183 | 183 | -d zend_extension=opcache.so |
184 | 184 | -d opcache.enable_cli=1 |
185 | 185 | MACOS_DEBUG_NTS: |
186 | | - if: github.repository == 'php/php-src' || github.event_name == 'pull_request' |
| 186 | + if: false |
187 | 187 | strategy: |
188 | 188 | fail-fast: false |
189 | 189 | matrix: |
@@ -226,7 +226,7 @@ jobs: |
226 | 226 | - name: Verify generated files are up to date |
227 | 227 | uses: ./.github/actions/verify-generated-files |
228 | 228 | WINDOWS: |
229 | | - if: github.repository == 'php/php-src' || github.event_name == 'pull_request' |
| 229 | + if: false |
230 | 230 | name: WINDOWS_X64_ZTS |
231 | 231 | runs-on: windows-2022 |
232 | 232 | timeout-minutes: 50 |
@@ -254,7 +254,7 @@ jobs: |
254 | 254 | run: .github/scripts/windows/test.bat |
255 | 255 | BENCHMARKING: |
256 | 256 | name: BENCHMARKING |
257 | | - if: github.repository == 'php/php-src' || github.event_name == 'pull_request' |
| 257 | + if: false |
258 | 258 | runs-on: ubuntu-24.04 |
259 | 259 | timeout-minutes: 50 |
260 | 260 | steps: |
@@ -359,3 +359,45 @@ jobs: |
359 | 359 | name: profiles |
360 | 360 | path: ${{ github.workspace }}/benchmark/profiles |
361 | 361 | retention-days: 30 |
| 362 | + FREEBSD: |
| 363 | + name: FREEBSD |
| 364 | + runs-on: ubuntu-latest |
| 365 | + steps: |
| 366 | + - name: git checkout |
| 367 | + uses: actions/checkout@v4 |
| 368 | + - name: QEMU |
| 369 | + uses: vmactions/freebsd-vm@v1 |
| 370 | + with: |
| 371 | + release: '13.3' |
| 372 | + usesh: true |
| 373 | + prepare: | |
| 374 | + cd $GITHUB_WORKSPACE |
| 375 | +
|
| 376 | + pwd |
| 377 | + ls -lah |
| 378 | + whoami |
| 379 | + env |
| 380 | + freebsd-version |
| 381 | + sysctl hw.model |
| 382 | + sysctl hw.ncpu |
| 383 | + sysctl hw.physmem |
| 384 | + sysctl hw.usermem |
| 385 | +
|
| 386 | + kldload accf_http |
| 387 | + 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 |
| 388 | +
|
| 389 | + ./buildconf -f |
| 390 | + ./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 |
| 391 | + gmake -j2 |
| 392 | + mkdir /etc/php.d |
| 393 | + gmake install |
| 394 | + echo opcache.enable_cli=1 > /etc/php.d/opcache.ini |
| 395 | + echo opcache.protect_memory=1 >> /etc/php.d/opcache.ini |
| 396 | + echo opcache.preload_user=root >> /etc/php.d/opcache.ini |
| 397 | + run: | |
| 398 | + cd $GITHUB_WORKSPACE |
| 399 | +
|
| 400 | + export SKIP_IO_CAPTURE_TESTS=1 |
| 401 | + export CI_NO_IPV6=1 |
| 402 | + export STACK_LIMIT_DEFAULTS_CHECK=1 |
| 403 | + 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 |
0 commit comments