]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
ci: Add Windows arm64 build (#1433)
authorRaihaan Shouhell <raihaanhimself@gmail.com>
Mon, 22 Apr 2024 19:28:46 +0000 (03:28 +0800)
committerGitHub <noreply@github.com>
Mon, 22 Apr 2024 19:28:46 +0000 (21:28 +0200)
Basic arm64 build for windows

.github/workflows/build.yaml

index 5b162335c947662fc2ffdd957cf3e22169eb360c..498297a71140de0924db5f7902a957cfc8c76f43 100644 (file)
@@ -384,6 +384,16 @@ jobs:
             CMAKE_PARAMS: -DCMAKE_BUILD_TYPE=CI -DZSTD_FROM_INTERNET=ON -DHIREDIS_FROM_INTERNET=ON -A x64
             TEST_CC: clang -target x86_64-pc-windows-msvc
 
+          # Doesn't run tests as windows machines are x86
+          - name: Windows VS2022 ARM64 MSBuild
+            os: windows-2022
+            msvc_arch: ARM64
+            CC: cl
+            CXX: cl
+            CMAKE_GENERATOR: Visual Studio 17 2022
+            CMAKE_PARAMS: -DCMAKE_BUILD_TYPE=CI -DZSTD_FROM_INTERNET=ON -DHIREDIS_FROM_INTERNET=ON -DENABLE_TESTING=OFF -A ARM64
+            RUN_TESTS: none
+
           - name: Clang address & UB sanitizer
             os: ubuntu-20.04
             CC: clang