From 58f821040fbb58d2883cef863a748da7fea4083d Mon Sep 17 00:00:00 2001 From: Ne-Lexa Date: Thu, 25 Feb 2021 21:42:14 +0300 Subject: [PATCH] update build --- .github/workflows/build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ed9382c..fde200f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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