Skip to content

Commit f19c345

Browse files
fix: windows builds
1 parent b930ea8 commit f19c345

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/windows.yml

+14-5
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,18 @@ jobs:
77
shell: cmd
88
strategy:
99
matrix:
10-
version: ["7.4", "8.0"]
11-
arch: [x64]
12-
ts: [ts]
13-
runs-on: windows-2019
10+
os: [windows-2019, windows-2022]
11+
version: ["7.4", "8.0", "8.1", "8.2", "8.3", "8.4"]
12+
arch: [x64]
13+
ts: [ts]
14+
exclude:
15+
- {os: windows-2019, version: "8.4"}
16+
- {os: windows-2019, version: "8.3"}
17+
- {os: windows-2019, version: "8.2"}
18+
- {os: windows-2019, version: "8.1"}
19+
- {os: windows-2019, version: "8.0"}
20+
- {os: windows-2022, version: "7.4"}
21+
runs-on: ${{matrix.os}}
1422
steps:
1523
- name: Checkout imagick
1624
uses: actions/checkout@v2
@@ -21,9 +29,10 @@ jobs:
2129
version: ${{matrix.version}}
2230
arch: ${{matrix.arch}}
2331
ts: ${{matrix.ts}}
32+
cache: true
2433
- name: Download deps
2534
run: |
26-
curl -LO https://windows.php.net/downloads/pecl/deps/ImageMagick-7.1.0-18-vc15-${{matrix.arch}}.zip
35+
curl -LO https://downloads.php.net/~windows/pecl/deps/ImageMagick-7.1.0-18-vc15-${{matrix.arch}}.zip
2736
7z x ImageMagick-7.1.0-18-vc15-${{matrix.arch}}.zip -o..\deps
2837
- name: Enable Developer Command Prompt
2938
uses: ilammy/msvc-dev-cmd@v1

0 commit comments

Comments
 (0)