File tree Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 1
1
version : 2.1
2
+ orbs :
3
+ win : circleci/windows@5.0
2
4
3
5
executors :
4
6
linux-gcc-latest :
@@ -287,6 +289,38 @@ jobs:
287
289
- build_and_test
288
290
- benchmark
289
291
292
+ windows-32bit :
293
+ executor : win/server-2022
294
+ steps :
295
+ - checkout
296
+ - run :
297
+ name : " Setup environment (bash)"
298
+ shell : bash
299
+ command : |
300
+ echo 'export PATH=$PATH:"/c/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin"' >> $BASH_ENV
301
+ - run :
302
+ name : ' Configure'
303
+ shell : powershell
304
+ command : |
305
+ $ErrorActionPreference = "Stop"
306
+ & 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\Launch-VsDevShell.ps1' -Arch x86
307
+ which cmake
308
+ cmake -S . -B ~/build -G Ninja -DCMAKE_INSTALL_PREFIX=C:\install -DCMAKE_BUILD_TYPE=Release -DINTX_BENCHMARKING=OFF
309
+ - run :
310
+ name : ' Build'
311
+ shell : powershell
312
+ command : |
313
+ $ErrorActionPreference = "Stop"
314
+ & 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\Launch-VsDevShell.ps1' -Arch x86
315
+ cmake --build ~/build
316
+ - run :
317
+ name : ' Test'
318
+ shell : powershell
319
+ working_directory : ~/build
320
+ command : |
321
+ $ErrorActionPreference = "Stop"
322
+ & 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\Launch-VsDevShell.ps1' -Arch x86
323
+ ctest -j4 --output-on-failure --schedule-random
290
324
291
325
cmake-min :
292
326
docker :
@@ -312,3 +346,4 @@ workflows:
312
346
- cmake-min
313
347
- arm64
314
348
- powerpc64
349
+ - windows-32bit
Original file line number Diff line number Diff line change @@ -440,7 +440,7 @@ inline constexpr uint128 umul(uint64_t x, uint64_t y) noexcept
440
440
{
441
441
#if INTX_HAS_BUILTIN_INT128
442
442
return builtin_uint128{x} * builtin_uint128{y};
443
- #elif defined(_MSC_VER) && _MSC_VER >= 1925
443
+ #elif defined(_MSC_VER) && _MSC_VER >= 1925 && defined(_M_X64)
444
444
if (!is_constant_evaluated ())
445
445
{
446
446
unsigned __int64 hi = 0 ;
You can’t perform that action at this time.
0 commit comments