Skip to content

Commit

Permalink
CI: Add Windows ARM build
Browse files Browse the repository at this point in the history
Signed-off-by: Avery King <avery98@pm.me>
  • Loading branch information
generic-pers0n committed Sep 1, 2024
1 parent 4679428 commit 907e02b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/cmake_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,21 @@ jobs:
vcpkg_triplet: x64-windows
exe_suffix: .exe

- name: Windows_ARM
os: windows-latest
arch: arm
# FIXME: Ninja is broken on Windows, so use Visual Studio for now
generator: Visual Studio 17 2022
# required so CMake uses MSVC rather than MinGW
cc: cl
cxx: cl
additional_cmake_flags: -A ARM64
compiler_cache: sccache
compiler_cache_path: C:\Users\runneradmin\AppData\Local\Mozilla\sccache\cache
vcpkg_binary_cache: C:\Users\runneradmin\AppData\Local\vcpkg
vcpkg_triplet: arm64-windows
exe_suffix: .exe

env:
CMAKE_BUILD_TYPE: RelWithDebInfo
CMAKE_C_COMPILER_LAUNCHER: ${{ matrix.config.os.compiler_cache }}
Expand Down

0 comments on commit 907e02b

Please sign in to comment.