Skip to content

Commit

Permalink
arm-build: temporary fix 32-bit ARM build
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jmalak committed Nov 21, 2024
1 parent c8b4704 commit cec7777
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ name: Full Build

on:
push:
branches: [ "master" ]
branches:
- '*'
pull_request:
branches: [ "master" ]
branches:
- '*'
workflow_dispatch:

env:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit cec7777

Please sign in to comment.