File tree Expand file tree Collapse file tree 3 files changed +485
-2
lines changed
Expand file tree Collapse file tree 3 files changed +485
-2
lines changed Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ jobs:
416416 fail-fast : false
417417 matrix :
418418 compiler : [ intel ]
419- standard : [ c++20 ]
419+ standard : [ 20, 23 ]
420420 steps :
421421 - uses : actions/checkout@v4
422422 with :
@@ -464,7 +464,12 @@ jobs:
464464 run : |
465465 cd ../boost-root
466466 mkdir __build__ && cd __build__
467- cmake -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DBOOST_INCLUDE_LIBRARIES=$LIBRARY -DBUILD_TESTING=ON ..
467+ cmake -DCMAKE_C_COMPILER=icx \
468+ -DCMAKE_CXX_COMPILER=icpx \
469+ -DCMAKE_CXX_STANDARD=${{ matrix.standard }} \
470+ -DCMAKE_CXX_STANDARD_REQUIRED=ON \
471+ -DBOOST_INCLUDE_LIBRARIES=$LIBRARY \
472+ -DBUILD_TESTING=ON ..
468473
469474 - name : Build tests
470475 run : |
Original file line number Diff line number Diff line change @@ -296,6 +296,20 @@ using unexpected =
296296 boost::crypt::detail::expected_impl::unexpected<E>;
297297 #endif
298298
299+ // Endian
300+ enum class endian : int
301+ {
302+ #ifdef BOOST_CRYPT_HAS_CUDA
303+ little = static_cast <int >(cuda::std::endian::little),
304+ big = static_cast <int >(cuda::std::endian::big),
305+ native = static_cast <int >(cuda::std::endian::native),
306+ #else
307+ little = static_cast <int >(std::endian::little),
308+ big = static_cast <int >(std::endian::big),
309+ native = static_cast <int >(std::endian::native),
310+ #endif
311+ };
312+
299313} // namespace boost::crypt::compat
300314
301315#endif // BOOST_CRYPT2_DETAIL_COMPAT_HPP
You can’t perform that action at this time.
0 commit comments