Skip to content

Commit 8e896d3

Browse files
committed
Don't run test with broken clang-win
1 parent 72ebb0a commit 8e896d3

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

test/test_zeta.cpp

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,15 @@
2424
# pragma GCC diagnostic ignored "-Wfloat-equal"
2525
#endif
2626

27-
#include <boost/decimal.hpp>
27+
// Clang-win in Github actions has a broken chrono header
28+
#if defined(_WIN32) && defined(__clang__)
29+
30+
int main()
31+
{
32+
return 0;
33+
}
34+
35+
#else
2836

2937
#include <boost/core/lightweight_test.hpp>
3038
#include <boost/math/special_functions/zeta.hpp>
@@ -441,3 +449,5 @@ int main()
441449
template<typename DecimalType> auto my_zero() -> DecimalType& { using decimal_type = DecimalType; static decimal_type val_zero { 0 }; return val_zero; }
442450
template<typename DecimalType> auto my_nan () -> DecimalType& { using decimal_type = DecimalType; static decimal_type val_nan { std::numeric_limits<decimal_type>::quiet_NaN() }; return val_nan; }
443451
template<typename DecimalType> auto my_inf () -> DecimalType& { using decimal_type = DecimalType; static decimal_type val_inf { std::numeric_limits<decimal_type>::infinity() }; return val_inf; }
452+
453+
#endif

0 commit comments

Comments
 (0)