mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-07-30 20:20:11 +02:00
disabled JIT for tests on php 8
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user