diff options
| author | Harish RS <harish.rajaselvan@multicorewareinc.com> | 2025-12-16 13:05:41 +0530 |
|---|---|---|
| committer | Mark Adler <git@madler.net> | 2026-01-28 11:48:22 -0800 |
| commit | 202ea98552ad36908c12109e728a7d0d7c603535 (patch) | |
| tree | 615842d8aee53868c6ee48ae0208b26e04c33e29 /.github/workflows/c-std.yml | |
| parent | b1f8d483376d68cff73585c842d385c8262f8895 (diff) | |
| download | zlib-202ea98552ad36908c12109e728a7d0d7c603535.tar.gz zlib-202ea98552ad36908c12109e728a7d0d7c603535.tar.bz2 zlib-202ea98552ad36908c12109e728a7d0d7c603535.zip | |
Add ARM64 to Windows workflows.
Diffstat (limited to '.github/workflows/c-std.yml')
| -rw-r--r-- | .github/workflows/c-std.yml | 35 |
1 files changed, 35 insertions, 0 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 |
