Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/c-std.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
value: windows-latest
cmake-opt: -G Ninja

- name: Windows ARM64
value: windows-11-arm
cmake-opt: -G Ninja

compiler:
- gcc
- clang
Expand Down Expand Up @@ -90,10 +94,22 @@ jobs:
- { os: { name: Windows },
builder: configure }

# Don't run configure on Windows ARM64
- { os: { name: Windows ARM64 },
builder: configure }

# Don't run gcc 32-bit on Windows
- { os: { name: Windows },
arch: { tag: i386 } }

# Don't run 32 bit on Windows ARM64
- { os: { name: Windows ARM64 },
arch: { tag: i386 } }

# Don't run gcc on Windows ARM64
- { os: { name: Windows ARM64 },
compiler: gcc }

steps:

- name: Checkout repository
Expand Down Expand Up @@ -169,6 +185,9 @@ jobs:
- name: Windows
value: windows-latest

- name: Windows ARM64
value: windows-11-arm

compiler:
- cl

Expand All @@ -179,6 +198,9 @@ jobs:
- name: 64-bit
value: -A x64

- name: ARM64
value: -A ARM64

builder:
- cmake

Expand All @@ -199,6 +221,19 @@ jobs:
- name: latest
value: /std:clatest

exclude:
# Don't run 32-bit on Windows ARM64
- { os: { name: Windows ARM64 },
arch: { name: 32-bit } }

# Don't run x64 on Windows ARM64
- { os: { name: Windows ARM64 },
arch: { name: 64-bit } }

# Don't run ARM64 on regular Windows
- { os: { name: Windows },
arch: { name: ARM64 } }

steps:

- name: Checkout repository
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ jobs:
cmake-args: -A x64 -DMINIZIP_ENABLE_BZIP2=OFF
pkgtgt: PACKAGE

- name: Windows MSVC ARM64
os: windows-11-arm
compiler: cl
cflags: /W3
cmake-args: -A ARM64 -DMINIZIP_ENABLE_BZIP2=OFF
pkgtgt: PACKAGE

- name: Windows GCC
os: windows-latest
compiler: gcc
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/msys-cygwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ on: [push, pull_request]

jobs:
MSys:
runs-on: windows-latest
runs-on: ${{ matrix.os || 'windows-latest' }}
strategy:
fail-fast: false
matrix:
sys: [mingw32, mingw64, ucrt64, clang64]
sys: [mingw32, mingw64, ucrt64, clang64, clangarm64]
include:
- sys: clangarm64
os: windows-11-arm
name: MSys - ${{ matrix.sys }}
defaults:
run:
Expand Down