Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,25 +127,30 @@ jobs:
matrix:
include:
# gcc-11 is the default in Ubuntu 22.04, defaults to c++17
# Asio triggers a warning by applying an __unused__ attribute to a data member,
# supported in gcc >= 12 only
- toolset: gcc-11
install: g++-11
container: ubuntu:22.04
cxxstd: '17'
build-type: 'Debug'
cxxflags: '-Wno-attributes'
server: "redis:8.2.1-alpine"

- toolset: gcc-11
install: g++-11
container: ubuntu:22.04
cxxstd: '20'
build-type: 'Debug'
cxxflags: '-Wno-attributes'
server: "valkey/valkey:8.1.3-alpine"

- toolset: gcc-11
install: g++-11
container: ubuntu:22.04
cxxstd: '20'
build-type: 'Release'
cxxflags: '-Wno-attributes'
server: "redis:7.4.5-alpine"

- toolset: gcc-12
Expand Down
3 changes: 3 additions & 0 deletions test/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ local requirements =
<toolset>msvc:<cxxflags>"/bigobj"
<target-os>windows:<define>_WIN32_WINNT=0x0601
<toolset>gcc:<cxxflags>-Wno-maybe-uninitialized # spurious gcc warning in Asio
# Asio applies __attribute__((unused)) to non-static data members, which
# which requires gcc >= 12 (https://github.com/chriskohlhoff/asio/issues/1784)
<toolset>gcc-11:<cxxflags>-Wno-attributes
[ requires
cxx14_constexpr
cxx14_generic_lambdas
Expand Down
Loading