From 1a762284daa95ee9e59d904720597975f3d69958 Mon Sep 17 00:00:00 2001 From: Ne-Lexa Date: Thu, 25 Feb 2021 21:26:47 +0300 Subject: [PATCH] disabled JIT for tests on php 8 --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b2acd75..ae779d8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,6 +46,11 @@ jobs: if: matrix.os == 'macos-latest' run: brew install zip unzip p7zip + - + name: Disable JIT for PHP 8 + if: matrix.php != '7.4' + run: echo "PHP_INI=\"${PHP_INI}, opcache.jit\"" >> $GITHUB_ENV + - name: Install PHP with extensions uses: shivammathur/setup-php@v2 @@ -54,7 +59,7 @@ jobs: extensions: ${{ env.extensions }} coverage: pcov ini-values: ${{ env.PHP_INI }} - tools: composer:v2, cs2pr + tools: composer:v2 - name: Determine composer cache directory on Linux or MacOS