check max_allowed_stack_size during startup #77
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [ push, pull_request ] | |
jobs: | |
CI: | |
name: ${{ matrix.php }} | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- php: '7.4' | |
- php: '8.0' | |
- php: '8.1' | |
- php: '8.2' | |
- php: '8.3' | |
steps: | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
ini-values: zend.max_allowed_stack_size=-1 | |
tools: composer:v2 | |
coverage: none | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install vips | |
run: sudo apt install -y libvips --no-install-recommends | |
- name: Install composer dependencies | |
run: | | |
composer update --prefer-dist --no-interaction --no-progress --no-ansi | |
- name: PHPUnit | |
run: composer test |