File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 7777 cmake --build . --config Debug --target test
7878
7979 build-mingw :
80- runs-on : windows-2019
80+ runs-on : windows-latest
8181 steps :
8282 - uses : actions/checkout@v4
8383 with :
9595 matrix :
9696 cfg :
9797 - { mingw: mingw32, arch: i686 }
98- - { mingw: mingw64, arch: x86_64 }
98+ - { mingw: ucrt64, arch: ucrt-x86_64 }
99+ - { mingw: clang64, arch: clang-x86_64 }
99100 steps :
100101 - uses : actions/checkout@v4
101102 with :
Original file line number Diff line number Diff line change @@ -1008,10 +1008,10 @@ TEST(format, floating_point)
10081008 EXPECT_EQ (ST_LITERAL (" xx16384.00xx" ), ST::format (" xx{.2f}xx" , 16384.0 ));
10091009 EXPECT_EQ (ST_LITERAL (" xx0.02xx" ), ST::format (" xx{.2f}xx" , 0.0234 ));
10101010
1011- #if defined(__MINGW32__)
1011+ #if defined(__MINGW32__) && !defined(_UCRT)
10121012 // MSVC uses 3 digits for the exponent by default, up to VC 2013.
1013- // We don't support MSVC versions older than 2015, but MinGW still
1014- // uses the old format, presumably for MSVC compatibility.
1013+ // We don't support MSVC versions older than 2015, but MinGW still uses
1014+ // the old format in non-UCRT targets , presumably for MSVC compatibility.
10151015 _set_output_format (_TWO_DIGIT_EXPONENT);
10161016#endif
10171017
You can’t perform that action at this time.
0 commit comments