From cec77770e9d41b9aedbf6a8495683203d67abf1c Mon Sep 17 00:00:00 2001 From: Jiri Malak Date: Thu, 21 Nov 2024 23:18:48 +0100 Subject: [PATCH] arm-build: temporary fix 32-bit ARM build in latest Windows SDK 10.0.26100.0 is not included 32-bit ARM files latest SDK which contains 32-bit ARM files is 10.0.22621.0 --- .github/workflows/build.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c4c647d3..2a5e3fb9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,9 +2,11 @@ name: Full Build on: push: - branches: [ "master" ] + branches: + - '*' pull_request: - branches: [ "master" ] + branches: + - '*' workflow_dispatch: env: @@ -203,7 +205,20 @@ jobs: steps: - uses: actions/checkout@v4 + # temporary setup Windows SDK version for 32-bit ARM to 10.0.22621.0 because + # latest SDK version 10.0.26100.0 doesn't contains 32-bit ARM files - name: Enable Developer Command Prompt + if: matrix.arch == 'x64_arm' + # You may pin to the exact commit or the version. + # uses: ilammy/msvc-dev-cmd@d8610e2b41c6d0f0c3b4c46dad8df0fd826c68e1 + uses: ilammy/msvc-dev-cmd@v1 + with: + arch: ${{ matrix.arch }} + toolset: ${{ matrix.toolset }} + sdk: '10.0.22621.0' + #spectre: # set true to use VC libraries with sepctre mitigations + - name: Enable Developer Command Prompt + if: matrix.arch != 'x64_arm' # You may pin to the exact commit or the version. # uses: ilammy/msvc-dev-cmd@d8610e2b41c6d0f0c3b4c46dad8df0fd826c68e1 uses: ilammy/msvc-dev-cmd@v1