From 8269e4614158b4129f86bd072cfe2f29abc7ce5a Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Sat, 24 Jan 2026 18:18:32 +0100 Subject: [PATCH 1/2] [ci] Setup Windows arm64 runner --- .github/workflows/windows.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 16b02e62d..e9e782aed 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -91,3 +91,31 @@ jobs: - name: Test run: | cd _build && ./test/test_xsimd + + build-windows-arm64: + name: 'MSVC arm64' + defaults: + run: + shell: bash {0} + runs-on: windows-11-arm + steps: + - name: Setup compiler + uses: ilammy/msvc-dev-cmd@v1 + with: + arch: amd64 + - name: Setup Ninja + run: | + python3 -m pip install --upgrade pip setuptools wheel + python3 -m pip install ninja + - name: Checkout xsimd + uses: actions/checkout@v3 + - name: Setup + run: | + mkdir _build + cd _build && cmake .. -DBUILD_TESTS=ON -DDOWNLOAD_DOCTEST=ON -DBUILD_BENCHMARK=ON -DBUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=Release -G Ninja + - name: Build + run: | + cd _build && cmake --build . + - name: Testing xsimd + run: | + cd _build && ./test/test_xsimd From 0bd148de67a0020194b197981267d5bdfa043664 Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Sun, 25 Jan 2026 13:45:08 +0100 Subject: [PATCH 2/2] [ci] Validate Windows arm64 And not windows amd64... --- .github/workflows/windows.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index e9e782aed..448e0786f 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -102,7 +102,7 @@ jobs: - name: Setup compiler uses: ilammy/msvc-dev-cmd@v1 with: - arch: amd64 + arch: arm64 - name: Setup Ninja run: | python3 -m pip install --upgrade pip setuptools wheel @@ -112,7 +112,7 @@ jobs: - name: Setup run: | mkdir _build - cd _build && cmake .. -DBUILD_TESTS=ON -DDOWNLOAD_DOCTEST=ON -DBUILD_BENCHMARK=ON -DBUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=Release -G Ninja + cd _build && cmake .. -DBUILD_TESTS=ON -DDOWNLOAD_DOCTEST=ON -DCMAKE_BUILD_TYPE=Release -G Ninja - name: Build run: | cd _build && cmake --build .