From 13b5a76a7fac1d11993b908521f7d7f141ce67ca Mon Sep 17 00:00:00 2001 From: Marcelo Zimbres Date: Sat, 4 Nov 2023 19:21:18 +0100 Subject: [PATCH] Build gcc11 builds in container. --- .github/workflows/ci.yml | 6 ++++-- test/test_conn_push.cpp | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3cb988e7..4a58e68f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -134,13 +134,15 @@ jobs: - toolset: gcc-11 install: g++-11 os: ubuntu-latest + container: ubuntu:22.04 cxxstd: '17' build-type: 'Debug' ldflags: '' - toolset: gcc-11 install: g++-11 - os: ubuntu-22.04 + os: ubuntu-latest + container: ubuntu:22.04 cxxstd: '20' build-type: 'Release' ldflags: '' @@ -177,7 +179,7 @@ jobs: build-type: 'Release' ldflags: '' - - toolset: clang-14, + - toolset: clang-14 install: 'clang-14 libc++-14-dev libc++abi-14-dev' os: ubuntu-latest container: ubuntu:22.04 diff --git a/test/test_conn_push.cpp b/test/test_conn_push.cpp index 07e9957c..b87798d6 100644 --- a/test/test_conn_push.cpp +++ b/test/test_conn_push.cpp @@ -319,7 +319,7 @@ BOOST_AUTO_TEST_CASE(many_subscribers) conn->async_exec(req0, ignore, c0); - run(conn, {}, {}); + run(conn, make_test_config(), {}); net::co_spawn(ioc.get_executor(), push_consumer3(conn), net::detached); ioc.run();