Skip to content

Commit 1b8a991

Browse files
committed
Try vs2022 CI run
1 parent 583542d commit 1b8a991

File tree

5 files changed

+557
-0
lines changed

5 files changed

+557
-0
lines changed

.github/workflows/wide_integer.yml

+25
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,31 @@ jobs:
538538
MSBuild -m wide_integer.sln -p:useenv=true -p:Configuration=Release -p:Platform=x64 /t:Rebuild
539539
dir %cd%\x64\Release\wide_integer.exe
540540
%cd%\x64\Release\wide_integer.exe
541+
msvc-release-x64-vs2022:
542+
runs-on: windows-2022
543+
steps:
544+
- uses: actions/checkout@v2
545+
with:
546+
fetch-depth: '0'
547+
- name: clone-submods-bootstrap-headers-boost-develop
548+
run: |
549+
git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
550+
cd ../boost-root
551+
git submodule update --init tools
552+
git submodule update --init libs/config
553+
git submodule update --init libs/multiprecision
554+
./bootstrap.bat
555+
./b2 headers
556+
- uses: actions/checkout@v1
557+
- uses: ilammy/msvc-dev-cmd@v1
558+
- name: msvc-release-x64-vs2022
559+
shell: cmd
560+
working-directory: ./
561+
run: |
562+
set INCLUDE=%cd%;%cd%\..\boost-root;%INCLUDE%
563+
MSBuild -m wide_integer_vs2022.sln -p:useenv=true -p:Configuration=Release -p:Platform=x64 /t:Rebuild
564+
dir %cd%\x64\Release\wide_integer_vs2022.exe
565+
%cd%\x64\Release\wide_integer_vs2022.exe
541566
mingw-winhost-x64:
542567
runs-on: windows-2019
543568
strategy:

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.vs/
22
wide_integer.vcxproj.user
33
x64/
4+
wide_integer_vs2022.vcxproj.user

wide_integer_vs2022.sln

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.2.32519.379
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wide_integer_vs2022", "wide_integer_vs2022.vcxproj", "{3D16BABC-0908-40AB-AFF2-FD60B9172A5B}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|x64 = Debug|x64
11+
Debug|x86 = Debug|x86
12+
Release|x64 = Release|x64
13+
Release|x86 = Release|x86
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{3D16BABC-0908-40AB-AFF2-FD60B9172A5B}.Debug|x64.ActiveCfg = Debug|x64
17+
{3D16BABC-0908-40AB-AFF2-FD60B9172A5B}.Debug|x64.Build.0 = Debug|x64
18+
{3D16BABC-0908-40AB-AFF2-FD60B9172A5B}.Debug|x86.ActiveCfg = Debug|Win32
19+
{3D16BABC-0908-40AB-AFF2-FD60B9172A5B}.Debug|x86.Build.0 = Debug|Win32
20+
{3D16BABC-0908-40AB-AFF2-FD60B9172A5B}.Release|x64.ActiveCfg = Release|x64
21+
{3D16BABC-0908-40AB-AFF2-FD60B9172A5B}.Release|x64.Build.0 = Release|x64
22+
{3D16BABC-0908-40AB-AFF2-FD60B9172A5B}.Release|x86.ActiveCfg = Release|Win32
23+
{3D16BABC-0908-40AB-AFF2-FD60B9172A5B}.Release|x86.Build.0 = Release|Win32
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
GlobalSection(ExtensibilityGlobals) = postSolution
29+
SolutionGuid = {23A7720B-5B7B-4E07-92C8-F66F79D7E0C0}
30+
EndGlobalSection
31+
EndGlobal

wide_integer_vs2022.vcxproj

+270
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,270 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Debug|Win32">
5+
<Configuration>Debug</Configuration>
6+
<Platform>Win32</Platform>
7+
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Release|Win32">
9+
<Configuration>Release</Configuration>
10+
<Platform>Win32</Platform>
11+
</ProjectConfiguration>
12+
<ProjectConfiguration Include="Debug|x64">
13+
<Configuration>Debug</Configuration>
14+
<Platform>x64</Platform>
15+
</ProjectConfiguration>
16+
<ProjectConfiguration Include="Release|x64">
17+
<Configuration>Release</Configuration>
18+
<Platform>x64</Platform>
19+
</ProjectConfiguration>
20+
</ItemGroup>
21+
<PropertyGroup Label="Globals">
22+
<VCProjectVersion>15.0</VCProjectVersion>
23+
<ProjectGuid>{3D16BABC-0908-40AB-AFF2-FD60B9172A5B}</ProjectGuid>
24+
<Keyword>Win32Proj</Keyword>
25+
<RootNamespace>wideinteger</RootNamespace>
26+
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
27+
<ProjectName>wide_integer_vs2022</ProjectName>
28+
</PropertyGroup>
29+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
30+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
31+
<ConfigurationType>Application</ConfigurationType>
32+
<UseDebugLibraries>true</UseDebugLibraries>
33+
<PlatformToolset>v143</PlatformToolset>
34+
<CharacterSet>NotSet</CharacterSet>
35+
</PropertyGroup>
36+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
37+
<ConfigurationType>Application</ConfigurationType>
38+
<UseDebugLibraries>false</UseDebugLibraries>
39+
<PlatformToolset>v143</PlatformToolset>
40+
<WholeProgramOptimization>true</WholeProgramOptimization>
41+
<CharacterSet>NotSet</CharacterSet>
42+
</PropertyGroup>
43+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
44+
<ConfigurationType>Application</ConfigurationType>
45+
<UseDebugLibraries>true</UseDebugLibraries>
46+
<PlatformToolset>v143</PlatformToolset>
47+
<CharacterSet>NotSet</CharacterSet>
48+
</PropertyGroup>
49+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
50+
<ConfigurationType>Application</ConfigurationType>
51+
<UseDebugLibraries>false</UseDebugLibraries>
52+
<PlatformToolset>v143</PlatformToolset>
53+
<WholeProgramOptimization>true</WholeProgramOptimization>
54+
<CharacterSet>NotSet</CharacterSet>
55+
</PropertyGroup>
56+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
57+
<ImportGroup Label="ExtensionSettings">
58+
</ImportGroup>
59+
<ImportGroup Label="Shared">
60+
</ImportGroup>
61+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
62+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
63+
</ImportGroup>
64+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
65+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
66+
</ImportGroup>
67+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
68+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
69+
</ImportGroup>
70+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
71+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
72+
</ImportGroup>
73+
<PropertyGroup Label="UserMacros" />
74+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
75+
<LinkIncremental>true</LinkIncremental>
76+
<IncludePath>$(ProjectDir);C:\boost\boost_1_79_0;$(IncludePath)</IncludePath>
77+
</PropertyGroup>
78+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
79+
<LinkIncremental>true</LinkIncremental>
80+
<IncludePath>$(ProjectDir);C:\boost\boost_1_79_0;$(IncludePath)</IncludePath>
81+
</PropertyGroup>
82+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
83+
<LinkIncremental>false</LinkIncremental>
84+
<IncludePath>$(ProjectDir);C:\boost\boost_1_79_0;$(IncludePath)</IncludePath>
85+
</PropertyGroup>
86+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
87+
<LinkIncremental>false</LinkIncremental>
88+
<IncludePath>$(ProjectDir);C:\boost\boost_1_79_0;$(IncludePath)</IncludePath>
89+
</PropertyGroup>
90+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
91+
<ClCompile>
92+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
93+
<WarningLevel>Level4</WarningLevel>
94+
<Optimization>Disabled</Optimization>
95+
<SDLCheck>true</SDLCheck>
96+
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
97+
<ConformanceMode>true</ConformanceMode>
98+
<PrecompiledHeaderFile>
99+
</PrecompiledHeaderFile>
100+
<PrecompiledHeaderOutputFile />
101+
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
102+
<LanguageStandard>stdcpplatest</LanguageStandard>
103+
<AdditionalOptions>/bigobj</AdditionalOptions>
104+
<MultiProcessorCompilation>true</MultiProcessorCompilation>
105+
</ClCompile>
106+
<Link>
107+
<SubSystem>Console</SubSystem>
108+
<GenerateDebugInformation>true</GenerateDebugInformation>
109+
</Link>
110+
</ItemDefinitionGroup>
111+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
112+
<ClCompile>
113+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
114+
<WarningLevel>Level4</WarningLevel>
115+
<Optimization>Disabled</Optimization>
116+
<SDLCheck>true</SDLCheck>
117+
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
118+
<ConformanceMode>true</ConformanceMode>
119+
<PrecompiledHeaderFile>
120+
</PrecompiledHeaderFile>
121+
<PrecompiledHeaderOutputFile />
122+
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
123+
<LanguageStandard>stdcpplatest</LanguageStandard>
124+
<AdditionalOptions>/bigobj</AdditionalOptions>
125+
<MultiProcessorCompilation>true</MultiProcessorCompilation>
126+
</ClCompile>
127+
<Link>
128+
<SubSystem>Console</SubSystem>
129+
<GenerateDebugInformation>true</GenerateDebugInformation>
130+
</Link>
131+
</ItemDefinitionGroup>
132+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
133+
<ClCompile>
134+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
135+
<WarningLevel>Level4</WarningLevel>
136+
<Optimization>MaxSpeed</Optimization>
137+
<FunctionLevelLinking>true</FunctionLevelLinking>
138+
<IntrinsicFunctions>true</IntrinsicFunctions>
139+
<SDLCheck>true</SDLCheck>
140+
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
141+
<ConformanceMode>true</ConformanceMode>
142+
<PrecompiledHeaderFile>
143+
</PrecompiledHeaderFile>
144+
<PrecompiledHeaderOutputFile />
145+
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
146+
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
147+
<LanguageStandard>stdcpplatest</LanguageStandard>
148+
<AdditionalOptions>/bigobj</AdditionalOptions>
149+
<MultiProcessorCompilation>true</MultiProcessorCompilation>
150+
</ClCompile>
151+
<Link>
152+
<SubSystem>Console</SubSystem>
153+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
154+
<OptimizeReferences>true</OptimizeReferences>
155+
<GenerateDebugInformation>true</GenerateDebugInformation>
156+
</Link>
157+
</ItemDefinitionGroup>
158+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
159+
<ClCompile>
160+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
161+
<WarningLevel>Level4</WarningLevel>
162+
<Optimization>MaxSpeed</Optimization>
163+
<FunctionLevelLinking>true</FunctionLevelLinking>
164+
<IntrinsicFunctions>true</IntrinsicFunctions>
165+
<SDLCheck>true</SDLCheck>
166+
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
167+
<ConformanceMode>true</ConformanceMode>
168+
<PrecompiledHeaderFile>
169+
</PrecompiledHeaderFile>
170+
<PrecompiledHeaderOutputFile />
171+
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
172+
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
173+
<LanguageStandard>stdcpplatest</LanguageStandard>
174+
<AdditionalOptions>/bigobj</AdditionalOptions>
175+
<MultiProcessorCompilation>true</MultiProcessorCompilation>
176+
</ClCompile>
177+
<Link>
178+
<SubSystem>Console</SubSystem>
179+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
180+
<OptimizeReferences>true</OptimizeReferences>
181+
<GenerateDebugInformation>true</GenerateDebugInformation>
182+
</Link>
183+
</ItemDefinitionGroup>
184+
<ItemGroup>
185+
<ClInclude Include="boost\multiprecision\uintwide_t_backend.hpp" />
186+
<ClInclude Include="examples\example_uintwide_t.h" />
187+
<ClInclude Include="math\wide_integer\uintwide_t.h" />
188+
<ClInclude Include="test\parallel_for.h" />
189+
<ClInclude Include="test\test.hpp" />
190+
<ClInclude Include="test\test_arithmetic.hpp" />
191+
<ClInclude Include="test\test_uintwide_t.h" />
192+
<ClInclude Include="test\test_uintwide_t_n_base.h" />
193+
<ClInclude Include="test\test_uintwide_t_n_binary_ops_mul_div_4_by_4_template.h" />
194+
<ClInclude Include="test\test_uintwide_t_n_binary_ops_mul_n_by_m_template.h" />
195+
<ClInclude Include="test\test_uintwide_t_n_binary_ops_base.h" />
196+
<ClInclude Include="test\test_uintwide_t_n_binary_ops_template_signed.h" />
197+
<ClInclude Include="test\test_uintwide_t_n_binary_ops_template.h" />
198+
<ClInclude Include="test\test_uintwide_t_n_number_theory_funcs_template.h" />
199+
</ItemGroup>
200+
<ItemGroup>
201+
<ClCompile Include="examples\example000a_builtin_convert.cpp" />
202+
<ClCompile Include="examples\example000_numeric_limits.cpp" />
203+
<ClCompile Include="examples\example001a_div_mod.cpp" />
204+
<ClCompile Include="examples\example001_mul_div.cpp" />
205+
<ClCompile Include="examples\example002_shl_shr.cpp" />
206+
<ClCompile Include="examples\example003a_cbrt.cpp" />
207+
<ClCompile Include="examples\example003_sqrt.cpp" />
208+
<ClCompile Include="examples\example004_rootk_pow.cpp" />
209+
<ClCompile Include="examples\example005a_pow_factors_of_p99.cpp" />
210+
<ClCompile Include="examples\example005_powm.cpp" />
211+
<ClCompile Include="examples\example006_gcd.cpp" />
212+
<ClCompile Include="examples\example007_random_generator.cpp" />
213+
<ClCompile Include="examples\example008a_miller_rabin_prime.cpp" />
214+
<ClCompile Include="examples\example008_miller_rabin_prime.cpp" />
215+
<ClCompile Include="examples\example009b_timed_mul_8_by_8.cpp" />
216+
<ClCompile Include="examples\example009_timed_mul.cpp" />
217+
<ClCompile Include="examples\example009a_timed_mul_4_by_4.cpp" />
218+
<ClCompile Include="examples\example010_uint48_t.cpp" />
219+
<ClCompile Include="examples\example011_uint24_t.cpp" />
220+
<ClCompile Include="examples\example012_rsa_crypto.cpp" />
221+
<ClCompile Include="test\coverity.c" />
222+
<ClCompile Include="test\test.cpp" />
223+
<ClCompile Include="test\test_uintwide_t_boost_backend.cpp" />
224+
<ClCompile Include="test\test_uintwide_t_boost_backend_via_test_arithmetic.cpp">
225+
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
226+
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
227+
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
228+
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
229+
</ClCompile>
230+
<ClCompile Include="test\test_uintwide_t_edge_cases.cpp" />
231+
<ClCompile Include="test\test_uintwide_t_examples.cpp" />
232+
<ClCompile Include="test\test_uintwide_t_float_convert.cpp" />
233+
<ClCompile Include="test\test_uintwide_t_int_convert.cpp" />
234+
<ClCompile Include="test\test_uintwide_t_n_base.cpp" />
235+
<ClCompile Include="test\test_uintwide_t_spot_values.cpp" />
236+
<ClCompile Include="test\test_uintwide_t_n_binary_ops_base.cpp" />
237+
</ItemGroup>
238+
<ItemGroup>
239+
<None Include=".clang-tidy" />
240+
<None Include=".gcov\make\make_gcov_01_generic.gmk" />
241+
<None Include=".gcov\make\make_gcov_02_files.gmk" />
242+
<None Include=".gcov\make\make_gcov_03_flags.gmk" />
243+
<None Include=".github\workflows\wide_integer.yml" />
244+
<None Include=".github\workflows\wide_integer_codecov.yml" />
245+
<None Include=".github\workflows\wide_integer_sonar.yml" />
246+
<None Include=".tidy\make\make_tidy_01_generic.gmk" />
247+
<None Include=".tidy\make\make_tidy_02_files.gmk" />
248+
<None Include=".tidy\make\make_tidy_03_flags.gmk" />
249+
<None Include="README.md" />
250+
<None Include="sonar-project.properties" />
251+
</ItemGroup>
252+
<ItemGroup>
253+
<Text Include="CMakeLists.txt" />
254+
<Text Include="examples\CMakeLists.txt">
255+
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
256+
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
257+
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
258+
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
259+
</Text>
260+
<Text Include="test\CMakeLists.txt">
261+
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
262+
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
263+
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
264+
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
265+
</Text>
266+
</ItemGroup>
267+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
268+
<ImportGroup Label="ExtensionTargets">
269+
</ImportGroup>
270+
</Project>

0 commit comments

Comments
 (0)