From 892854f9310ecf700f565bb9656c0477092824fb Mon Sep 17 00:00:00 2001 From: Marcin Gil Date: Thu, 1 Feb 2024 16:55:52 +0100 Subject: [PATCH] update windows runs --- .github/workflows/tests.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c0c6ff5fb..7e9b30746 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,13 +18,13 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP ${{ matrix.php }} uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - ini-values: apc.enable_cli=1 + ini-values: apc.enable_cli=1, opcache.enable=1, opcache.jit=tracing, opcache.jit_buffer_size=128M env: fail-fast: true @@ -35,26 +35,25 @@ jobs: windows: name: "Windows PHP ${{ matrix.php }}${{ matrix.allow-failure && ' (allowing failures - php version not supported yet)' || '' }}" - runs-on: windows-2019 + runs-on: windows-2022 strategy: fail-fast: false matrix: - php: ['7.3', '7.4', '8.0', '8.1', '8.2'] + php: ['8.0', '8.1', '8.2', '8.3'] steps: - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP ${{ matrix.php }} - uses: php/setup-php-sdk@v0.8 + uses: shivammathur/setup-php@v2 with: - version: ${{ matrix.php }} - arch: x64 - ts: nts + php-version: ${{ matrix.php }} + ini-values: apc.enable_cli=1, opcache.enable=1, opcache.jit=tracing, opcache.jit_buffer_size=128M env: fail-fast: true - name: "Run Tests" run: | - php -d apc.enable_cli=1 -d opcache.enable=1 -d opcache.enable_cli=1 -d opcache.jit=tracing -d opcache.jit_buffer_size=128M ./tests/run.php + php ./tests/run.php continue-on-error: "${{ matrix.allow-failure == true }}"