From 7b34154cf265473c036c200a3d5c8155f5e7eaf8 Mon Sep 17 00:00:00 2001 From: Per Allansson <65364157+per-allansson@users.noreply.github.com> Date: Sat, 28 Oct 2023 00:53:45 +0200 Subject: [PATCH] build: add CI for Windows ARM64 (build only) (#4184) --- .github/workflows/CI-win.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI-win.yml b/.github/workflows/CI-win.yml index a8810ead..a96e250a 100644 --- a/.github/workflows/CI-win.yml +++ b/.github/workflows/CI-win.yml @@ -26,6 +26,7 @@ jobs: - {toolchain: Visual Studio 17 2022, arch: Win32, server: 2022} - {toolchain: Visual Studio 17 2022, arch: x64, server: 2022} - {toolchain: Visual Studio 17 2022, arch: x64, server: 2022, config: ASAN} + - {toolchain: Visual Studio 17 2022, arch: arm64, server: 2022} steps: - uses: actions/checkout@v2 - name: Envinfo @@ -41,24 +42,26 @@ jobs: ls -l build - name: platform_output + if: ${{ matrix.config.arch != 'arm64' }} shell: cmd run: build\\RelWithDebInfo\\uv_run_tests.exe platform_output - name: platform_output_a + if: ${{ matrix.config.arch != 'arm64' }} shell: cmd run: build\\RelWithDebInfo\\uv_run_tests_a.exe platform_output - name: Test # only valid with libuv-master with the fix for # https://github.com/libuv/leps/blob/master/005-windows-handles-not-fd.md - if: ${{ matrix.config.config != 'ASAN' }} + if: ${{ matrix.config.config != 'ASAN' && matrix.config.arch != 'arm64' }} shell: cmd run: cd build ctest -C RelWithDebInfo -V - name: Test only static - if: ${{ matrix.config.config == 'ASAN' }} + if: ${{ matrix.config.config == 'ASAN' && matrix.config.arch != 'arm64' }} shell: cmd run: build\\RelWithDebInfo\\uv_run_tests_a.exe