Skip to content

Commit 8a8f72b

Browse files
[ci] Setup Windows arm64 runner
1 parent 8b6c8a8 commit 8a8f72b

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/windows.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,31 @@ jobs:
9191
- name: Test
9292
run: |
9393
cd _build && ./test/test_xsimd
94+
95+
build-windows-arm64:
96+
name: 'MSVC arm64'
97+
defaults:
98+
run:
99+
shell: bash {0}
100+
runs-on: windows-11-arm
101+
steps:
102+
- name: Setup compiler
103+
uses: ilammy/msvc-dev-cmd@v1
104+
with:
105+
arch: ${{ matrix.target }}
106+
- name: Setup Ninja
107+
run: |
108+
python3 -m pip install --upgrade pip setuptools wheel
109+
python3 -m pip install ninja
110+
- name: Checkout xsimd
111+
uses: actions/checkout@v3
112+
- name: Setup
113+
run: |
114+
mkdir _build
115+
cd _build && cmake .. -DBUILD_TESTS=ON -DDOWNLOAD_DOCTEST=ON -DBUILD_BENCHMARK=ON -DBUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=Release -G Ninja
116+
- name: Build
117+
run: |
118+
cd _build && cmake --build .
119+
- name: Testing xsimd
120+
run: |
121+
cd _build && ./test/test_xsimd

0 commit comments

Comments
 (0)