Skip to content

Commit f365be9

Browse files
committed
ICU-23049 Re-enable UWP in CI
ARM 32 not supported in newer SDKs. `Build.Windows.UWP.ProjectConfiguration.props` now does what `Build.Windows.ProjectConfiguration.props` was already doing. I think that in an ideal world the uwp projects / properties should be a lot more similar to the non-uwp ones.
1 parent 2a888f7 commit f365be9

File tree

3 files changed

+23
-7
lines changed

3 files changed

+23
-7
lines changed

.github/workflows/icu4c.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -407,10 +407,10 @@ jobs:
407407
uses: microsoft/setup-msbuild@v2
408408
- name: Build Solution x64
409409
if: contains(matrix.test_flags, 'arm Release')
410-
run: msbuild icu4c/source/allinone/allinone.sln /p:Configuration=Release /p:Platform=x64 /p:SkipUWP=true
410+
run: msbuild icu4c/source/allinone/allinone.sln /p:Configuration=Release /p:Platform=x64
411411
- name: Build Solution
412412
run: |
413-
msbuild icu4c/source/allinone/allinone.sln ${{ matrix.build_flags }} /p:SkipUWP=true
413+
msbuild icu4c/source/allinone/allinone.sln ${{ matrix.build_flags }}
414414
- name: Run ${{ matrix.test_flags }} Tests (icucheck.bat)
415415
if: contains(matrix.test_flags, 'arm Release') == false
416416
run: |
@@ -430,7 +430,7 @@ jobs:
430430
- name: Set up MSBuild
431431
uses: microsoft/setup-msbuild@v2
432432
- name: Build Solution with Data Filter
433-
run: msbuild icu4c/source/allinone/allinone.sln /p:Configuration=Release /p:Platform=x64 /p:SkipUWP=true
433+
run: msbuild icu4c/source/allinone/allinone.sln /p:Configuration=Release /p:Platform=x64
434434

435435
# Windows MSVC distribution release
436436
windows-msvc-dist-release:
@@ -457,9 +457,9 @@ jobs:
457457
uses: microsoft/setup-msbuild@v2
458458
- name: Build Solution x64
459459
if: contains(matrix.win_ver, 'ARM64')
460-
run: msbuild icu4c/source/allinone/allinone.sln /p:Configuration=Release /p:Platform=x64 /p:SkipUWP=true
460+
run: msbuild icu4c/source/allinone/allinone.sln /p:Configuration=Release /p:Platform=x64
461461
- name: Build Solution
462-
run: msbuild icu4c/source/allinone/allinone.sln /p:Configuration=Release /p:Platform=${{ matrix.plat }} /p:SkipUWP=true
462+
run: msbuild icu4c/source/allinone/allinone.sln /p:Configuration=Release /p:Platform=${{ matrix.plat }}
463463
- name: Run Tests (icucheck.bat)
464464
if: contains(matrix.win_ver, 'ARM64') == false
465465
run: icu4c/source/allinone/icucheck.bat ${{ matrix.arch }} Release

.github/workflows/icu_merge_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -787,11 +787,11 @@ jobs:
787787
- name: Set up MSBuild
788788
uses: microsoft/setup-msbuild@v2
789789
- name: Build Solution
790-
run: msbuild icu4c/source/allinone/allinone.sln /p:Configuration=${{ matrix.config }} /p:Platform=${{ matrix.platform }} /p:SkipUWP=true
790+
run: msbuild icu4c/source/allinone/allinone.sln /p:Configuration=${{ matrix.config }} /p:Platform=${{ matrix.platform }}
791791
- name: Run Tests (icucheck.bat)
792792
run: icu4c/source/allinone/icucheck.bat ${{ matrix.arch }} ${{ matrix.config }}
793793
- name: Build Sample Solution
794-
run: msbuild icu4c/source/samples/all/all.sln /p:Configuration=${{ matrix.config }} /p:Platform=${{ matrix.arch }} /p:SkipUWP=true
794+
run: msbuild icu4c/source/samples/all/all.sln /p:Configuration=${{ matrix.config }} /p:Platform=${{ matrix.arch }}
795795
- name: Test Samples (samplecheck.bat)
796796
run: icu4c/source/samples/all/samplecheck.bat ${{ matrix.arch }} ${{ matrix.config }}
797797

icu4c/source/allinone/Build.Windows.UWP.ProjectConfiguration.props

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,22 @@
3333
<IcuBinOutputDir>binARM64uwp</IcuBinOutputDir>
3434
<IcuLibOutputDir>libARM64uwp</IcuLibOutputDir>
3535
</PropertyGroup>
36+
<!-- Desktop ARM/ARM64 support requires a different version of the Windows SDK -->
37+
<!--
38+
Note: This version must match the version below in the ARM64 section for AdditionalLibraryDirectories
39+
-->
40+
<PropertyGroup Condition="'$(Platform)'=='ARM'">
41+
<WindowsTargetPlatformVersion>10.0.22621.0</WindowsTargetPlatformVersion>
42+
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
43+
</PropertyGroup>
44+
<PropertyGroup Condition="'$(Platform)'=='ARM64'">
45+
<WindowsTargetPlatformVersion>10.0.22621.0</WindowsTargetPlatformVersion>
46+
<WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>
47+
</PropertyGroup>
48+
<PropertyGroup>
49+
<!-- We need to explicitly set the target version to Windows 7. -->
50+
<Win32_WinNTVersion>0x0601</Win32_WinNTVersion>
51+
</PropertyGroup>
3652
<ItemDefinitionGroup>
3753
<Midl>
3854
<PreprocessorDefinitions>

0 commit comments

Comments
 (0)