Add Github Actions CI

closes #2198
This commit is contained in:
Richard Hodges committed 2021-03-19 00:40:18 +01:00
1 parent bfc9c71671
commit 523191d228
3 files changed
+374

No files matched your search

+7
View File
@@ -164,8 +164,15 @@ public:
auto ex = co_await net::this_coro::executor;
auto s1 = test::stream(ex);
auto s2 = net::use_awaitable.as_default_on(std::move(s1));
#ifdef BOOST_ASIO_HAS_DEFAULT_FUNCTION_TEMPLATE_ARGUMENTS
auto bt = co_await s2.async_read_some(b);
bt = co_await s2.async_write_some(b);
#else
auto bt = co_await s2.async_read_some(b,
net::use_awaitable);
bt = co_await s2.async_write_some(b,
net::use_awaitable);
#endif
}
#endif