mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-08-03 14:07:23 +02:00
update build
This commit is contained in:
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -47,10 +47,15 @@ jobs:
|
|||||||
run: brew install zip unzip p7zip
|
run: brew install zip unzip p7zip
|
||||||
|
|
||||||
-
|
-
|
||||||
name: Disable JIT for PHP 8
|
name: Disable JIT for PHP 8 on Linux and Mac
|
||||||
if: matrix.php != '7.4'
|
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
|
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
|
name: Install PHP with extensions
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
|
Reference in New Issue
Block a user