Skip to content

Commit

Permalink
Use windows-2022 for 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dixyes committed Nov 26, 2024
1 parent fe53bbb commit bc8025d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/master-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ['windows-2019']
os: ['windows-2022']
ts: [ 'nts', 'ts' ]
max-parallel: 2
steps:
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,23 @@ jobs:
builddlls:
# this name is used after, change it with cautious
name: Build dll for PHP-${{ matrix.php-version }}-${{ matrix.arch }}-${{ (matrix.ts == '0') && 'N' || '' }}TS-VS16
runs-on: windows-2019
runs-on: ${{ matrix.image }}
strategy:
fail-fast: false
matrix:
php-version: ["8.4", "8.3", "8.2", "8.1", "8.0"]
php-version: ["8.3", "8.2", "8.1", "8.0"]
arch: ["x64"]
ts: ["0", "1"]
image: [ "windows-2019" ]
include:
- php-version: "8.4"
arch: "x64"
ts: "0"
image: "windows-2022"
- php-version: "8.4"
arch: "x64"
ts: "1"
image: "windows-2022"
max-parallel: 8
outputs:
ref: ${{ steps.getref.outputs.ref }}
Expand Down
19 changes: 15 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,13 +271,24 @@ jobs:
verbose: true

windows-tests:
name: PHP ${{ matrix.php-version }} ${{ matrix.ts }} Test on windows-2019
runs-on: windows-2019
name: PHP ${{ matrix.php-version }} ${{ matrix.ts }} Test on ${{ matrix.image }}
runs-on: ${{ matrix.image }}
strategy:
fail-fast: false
matrix:
php-version: ['8.4', "8.3", "8.2", "8.1", "8.0"]
ts: [ 'nts', 'ts' ]
php-version: ["8.3", "8.2", "8.1", "8.0"]
arch: ["x64"]
ts: ["0", "1"]
image: [ "windows-2019" ]
include:
- php-version: "8.4"
arch: "x64"
ts: "0"
image: "windows-2022"
- php-version: "8.4"
arch: "x64"
ts: "1"
image: "windows-2022"
max-parallel: 8
steps:
- name: Checkout
Expand Down

0 comments on commit bc8025d

Please sign in to comment.