Skip to content

Commit 32dafde

Browse files
committed
Adding deprecated arm32 basic compile tests
1 parent dddfcd6 commit 32dafde

2 files changed

Lines changed: 49 additions & 0 deletions

File tree

.github/workflows/arm64.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,39 @@ jobs:
6262
- name: 'Build'
6363
working-directory: ${{ github.workspace }}
6464
run: cmake --build out/build/${{ matrix.build_type }}
65+
66+
buildarm32:
67+
runs-on: windows-11-arm
68+
69+
strategy:
70+
fail-fast: false
71+
72+
matrix:
73+
build_type: [arm-Debug, arm-Release]
74+
75+
steps:
76+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
77+
78+
- name: Clone test repository
79+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
80+
with:
81+
repository: walbourn/directxmathtest
82+
path: Tests
83+
ref: main
84+
85+
- name: 'Install Ninja'
86+
run: choco install ninja
87+
88+
# ARM32 is deprecated, so more recent Windows SDKs no longer support it
89+
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
90+
with:
91+
arch: arm64_arm
92+
sdk: 10.0.22621.0
93+
94+
- name: 'Configure CMake'
95+
working-directory: ${{ github.workspace }}
96+
run: cmake --preset=${{ matrix.build_type }}
97+
98+
- name: 'Build'
99+
working-directory: ${{ github.workspace }}
100+
run: cmake --build out/build/${{ matrix.build_type }}

CMakePresets.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,17 @@
3636
},
3737
"hidden": true
3838
},
39+
{
40+
"name": "ARM32",
41+
"architecture": {
42+
"value": "arm",
43+
"strategy": "external"
44+
},
45+
"cacheVariables": {
46+
"DXMATH_ARCHITECTURE": "arm"
47+
},
48+
"hidden": true
49+
},
3950
{
4051
"name": "ARM64",
4152
"architecture": {
@@ -205,6 +216,8 @@
205216
{ "name": "arm64-Release" , "description": "MSVC for ARM64 (Release) - ARM-NEON", "inherits": [ "base", "ARM64", "Release", "MSVC" ] },
206217
{ "name": "arm64ec-Debug" , "description": "MSVC for ARM64EC (Debug) - ARM-NEON", "inherits": [ "base", "ARM64EC", "Debug", "MSVC" ] },
207218
{ "name": "arm64ec-Release", "description": "MSVC for ARM64EC (Release) - ARM-NEON", "inherits": [ "base", "ARM64EC", "Release", "MSVC" ] },
219+
{ "name": "arm-Debug" , "description": "MSVC for ARM32 [Deprecated] (Debug) - ARM-NEON", "inherits": [ "base", "ARM32", "Debug", "MSVC" ] },
220+
{ "name": "arm-Release" , "description": "MSVC for ARM32 [Deprecated] (Release) - ARM-NEON", "inherits": [ "base", "ARM32", "Release", "MSVC" ] },
208221

209222
{ "name": "x64-Debug-Clang" , "description": "Clang/LLVM for x64 (Debug) - SSE/SSE2", "inherits": [ "base", "x64", "Debug", "Clang" ] },
210223
{ "name": "x64-Release-Clang" , "description": "Clang/LLVM for x64 (Release) - SSE/SSE2", "inherits": [ "base", "x64", "Release", "Clang" ] },

0 commit comments

Comments
 (0)