aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHarish RS <harish.rajaselvan@multicorewareinc.com>2025-12-16 13:05:41 +0530
committerMark Adler <git@madler.net>2026-01-28 11:48:22 -0800
commit202ea98552ad36908c12109e728a7d0d7c603535 (patch)
tree615842d8aee53868c6ee48ae0208b26e04c33e29 /.github
parentb1f8d483376d68cff73585c842d385c8262f8895 (diff)
downloadzlib-202ea98552ad36908c12109e728a7d0d7c603535.tar.gz
zlib-202ea98552ad36908c12109e728a7d0d7c603535.tar.bz2
zlib-202ea98552ad36908c12109e728a7d0d7c603535.zip
Add ARM64 to Windows workflows.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/c-std.yml35
-rw-r--r--.github/workflows/cmake.yml7
-rw-r--r--.github/workflows/msys-cygwin.yml7
3 files changed, 47 insertions, 2 deletions
diff --git a/.github/workflows/c-std.yml b/.github/workflows/c-std.yml
index b6e116bb..3256fc85 100644
--- a/.github/workflows/c-std.yml
+++ b/.github/workflows/c-std.yml
@@ -27,6 +27,10 @@ jobs:
27 value: windows-latest 27 value: windows-latest
28 cmake-opt: -G Ninja 28 cmake-opt: -G Ninja
29 29
30 - name: Windows ARM64
31 value: windows-11-arm
32 cmake-opt: -G Ninja
33
30 compiler: 34 compiler:
31 - gcc 35 - gcc
32 - clang 36 - clang
@@ -93,10 +97,22 @@ jobs:
93 - { os: { name: Windows }, 97 - { os: { name: Windows },
94 builder: configure } 98 builder: configure }
95 99
100 # Don't run configure on Windows ARM64
101 - { os: { name: Windows ARM64 },
102 builder: configure }
103
96 # Don't run gcc 32-bit on Windows 104 # Don't run gcc 32-bit on Windows
97 - { os: { name: Windows }, 105 - { os: { name: Windows },
98 arch: { tag: i386 } } 106 arch: { tag: i386 } }
99 107
108 # Don't run 32 bit on Windows ARM64
109 - { os: { name: Windows ARM64 },
110 arch: { tag: i386 } }
111
112 # Don't run gcc on Windows ARM64
113 - { os: { name: Windows ARM64 },
114 compiler: gcc }
115
100 steps: 116 steps:
101 117
102 - name: Checkout repository 118 - name: Checkout repository
@@ -172,6 +188,9 @@ jobs:
172 - name: Windows 188 - name: Windows
173 value: windows-latest 189 value: windows-latest
174 190
191 - name: Windows ARM64
192 value: windows-11-arm
193
175 compiler: 194 compiler:
176 - cl 195 - cl
177 196
@@ -182,6 +201,9 @@ jobs:
182 - name: 64-bit 201 - name: 64-bit
183 value: -A x64 202 value: -A x64
184 203
204 - name: ARM64
205 value: -A ARM64
206
185 builder: 207 builder:
186 - cmake 208 - cmake
187 209
@@ -202,6 +224,19 @@ jobs:
202 - name: latest 224 - name: latest
203 value: /std:clatest 225 value: /std:clatest
204 226
227 exclude:
228 # Don't run 32-bit on Windows ARM64
229 - { os: { name: Windows ARM64 },
230 arch: { name: 32-bit } }
231
232 # Don't run x64 on Windows ARM64
233 - { os: { name: Windows ARM64 },
234 arch: { name: 64-bit } }
235
236 # Don't run ARM64 on regular Windows
237 - { os: { name: Windows },
238 arch: { name: ARM64 } }
239
205 steps: 240 steps:
206 241
207 - name: Checkout repository 242 - name: Checkout repository
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index 60fdf595..bdea59f4 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -51,6 +51,13 @@ jobs:
51 cmake-args: -A x64 -DMINIZIP_ENABLE_BZIP2=OFF 51 cmake-args: -A x64 -DMINIZIP_ENABLE_BZIP2=OFF
52 pkgtgt: PACKAGE 52 pkgtgt: PACKAGE
53 53
54 - name: Windows MSVC ARM64
55 os: windows-11-arm
56 compiler: cl
57 cflags: /W3
58 cmake-args: -A ARM64 -DMINIZIP_ENABLE_BZIP2=OFF
59 pkgtgt: PACKAGE
60
54 - name: Windows GCC 61 - name: Windows GCC
55 os: windows-latest 62 os: windows-latest
56 compiler: gcc 63 compiler: gcc
diff --git a/.github/workflows/msys-cygwin.yml b/.github/workflows/msys-cygwin.yml
index b8da2bb6..45d4a261 100644
--- a/.github/workflows/msys-cygwin.yml
+++ b/.github/workflows/msys-cygwin.yml
@@ -4,11 +4,14 @@ on: [push, pull_request]
4 4
5jobs: 5jobs:
6 MSys: 6 MSys:
7 runs-on: windows-latest 7 runs-on: ${{ matrix.os || 'windows-latest' }}
8 strategy: 8 strategy:
9 fail-fast: false 9 fail-fast: false
10 matrix: 10 matrix:
11 sys: [mingw32, mingw64, ucrt64, clang64] 11 sys: [mingw32, mingw64, ucrt64, clang64, clangarm64]
12 include:
13 - sys: clangarm64
14 os: windows-11-arm
12 name: MSys - ${{ matrix.sys }} 15 name: MSys - ${{ matrix.sys }}
13 defaults: 16 defaults:
14 run: 17 run: