[PECL-CVS] [pecl-encryption-mcrypt] make-workflows-work: Use appropriate windows machines in CI builds using exclude matrix
[email protected] (James Titcumb via Derick Rethans)
| Newsgroups | php.pecl.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: James Titcumb (asgrim)
Committer: Derick Rethans (derickr)
Date: 2025-08-05T09:49:05+01:00
Commit: https://github.com/php/pecl-encryption-mcrypt/commit/75a8364642c98f86ca77bbb437156f55b910ea15
Raw diff: https://github.com/php/pecl-encryption-mcrypt/commit/75a8364642c98f86ca77bbb437156f55b910ea15.diff
Use appropriate windows machines in CI builds using exclude matrix
Changed paths:
M .github/workflows/build.yml
Diff:
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5d2197e..1b543f8 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -10,7 +10,7 @@ on:
jobs:
windows:
- runs-on: windows-latest
+ runs-on: ${{matrix.os}}
name: "Windows: Build and test"
defaults:
run:
@@ -18,10 +18,20 @@ jobs:
strategy:
fail-fast: false
matrix:
+ os: [ windows-2019, windows-2022 ]
php: ["7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4", "8.5"]
arch: [x86, x64]
ts: [nts, ts]
experimental: [false]
+ exclude:
+ - { os: windows-2019, php: "8.5" }
+ - { os: windows-2019, php: "8.4" }
+ - { os: windows-2019, php: "8.3" }
+ - { os: windows-2019, php: "8.2" }
+ - { os: windows-2019, php: "8.1" }
+ - { os: windows-2019, php: "8.0" }
+ - { os: windows-2022, php: "7.4" }
+ - { os: windows-2022, php: "7.3" }
steps:
- name: Checkout Repository
uses: actions/checkout@v3
@@ -36,7 +46,7 @@ jobs:
echo $extension_version >> $env:GITHUB_ENV
- name: Setup PHP
id: setup-php
- uses: cmb69/[email protected]
+ uses: php/[email protected]
with:
version: ${{matrix.php}}
arch: ${{matrix.arch}}
@@ -88,7 +98,7 @@ jobs:
echo $extension_artifact >> $env:GITHUB_ENV
- name: Upload artifacts
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: ${{env.ARTIFACT_NAME}}
path: ${{env.ARTIFACT}}