1
0
mirror of https://github.com/Ne-Lexa/php-zip.git synced 2025-02-19 13:24:36 +01:00

update build

This commit is contained in:
Ne-Lexa 2021-02-25 21:42:14 +03:00
parent f0c59a458d
commit 58f821040f

View File

@ -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