Skip to content

Commit dd46e26

Browse files
committed
Add a new Windows/ARM64 platform in CI for testing
1 parent 9dc375f commit dd46e26

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,35 @@ jobs:
113113
ME_DSL_JIT=0 ctest --test-dir build-arm64-interpreter -E "^test_dsl_jit_runtime_cache$" --output-on-failure || \
114114
ME_DSL_JIT=0 ctest --test-dir build-arm64-interpreter -E "^test_dsl_jit_runtime_cache$" --rerun-failed --output-on-failure
115115
116+
windows-arm64:
117+
runs-on: windows-11-arm
118+
119+
steps:
120+
- uses: actions/checkout@v4
121+
122+
- name: Set up MSVC (Windows/ARM64)
123+
uses: ilammy/msvc-dev-cmd@v1
124+
with:
125+
arch: arm64
126+
127+
- name: Configure
128+
shell: bash
129+
run: |
130+
cmake -S . -B build-win-arm64 -G "Visual Studio 17 2022" -A ARM64 -T ClangCL \
131+
-DCMAKE_C_COMPILER=clang-cl
132+
grep -Ei '^CMAKE_C_COMPILER:(FILEPATH|STRING|UNINITIALIZED)=.*clang-cl' build-win-arm64/CMakeCache.txt
133+
134+
- name: Build
135+
shell: bash
136+
run: |
137+
cmake --build build-win-arm64 --config Release
138+
139+
- name: Test
140+
shell: bash
141+
run: |
142+
ctest --test-dir build-win-arm64 -C Release --output-on-failure || \
143+
ctest --test-dir build-win-arm64 -C Release --rerun-failed --output-on-failure
144+
116145
miniexpr-wasm32:
117146
runs-on: ubuntu-latest
118147

0 commit comments

Comments
 (0)