Skip to content

Commit

Permalink
update windows runs
Browse files Browse the repository at this point in the history
  • Loading branch information
marcing committed Feb 1, 2024
1 parent a7b6631 commit 892854f
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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[email protected]
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 }}"

0 comments on commit 892854f

Please sign in to comment.