|
|
@@ -47,10 +47,15 @@ jobs:
|
|
|
run: brew install zip unzip p7zip
|
|
|
|
|
|
-
|
|
|
- name: Disable JIT for PHP 8
|
|
|
- if: matrix.php != '7.4'
|
|
|
+ name: Disable JIT for PHP 8 on Linux and Mac
|
|
|
+ if: (matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest') && matrix.php != '7.4'
|
|
|
run: echo "PHP_INI=\"${PHP_INI}, opcache.jit=0, opcache.jit_buffer_size=0\"" >> $GITHUB_ENV
|
|
|
|
|
|
+ -
|
|
|
+ name: Disable JIT for PHP 8 on Windows
|
|
|
+ if: matrix.os == 'windows-latest' && matrix.php != '7.4'
|
|
|
+ run: echo "PHP_INI=\"$PHP_INI, opcache.jit=0, opcache.jit_buffer_size=0\"" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
|
|
+
|
|
|
-
|
|
|
name: Install PHP with extensions
|
|
|
uses: shivammathur/setup-php@v2
|