From 399208b68272e87509f0dfd113bd00d5bae8d492 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 31 May 2024 04:48:39 +0300 Subject: [PATCH 1/2] Make the library header-only in CMakeLists.txt --- CMakeLists.txt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2559b0a..d13ff07 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,4 @@ +# Generated by `boostdep --cmake exception` # Copyright 2020, 2021 Peter Dimov # Distributed under the Boost Software License, Version 1.0. # https://www.boost.org/LICENSE_1_0.txt @@ -6,16 +7,13 @@ cmake_minimum_required(VERSION 3.5...3.20) project(boost_exception VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX) -add_library(boost_exception STATIC - src/clone_current_exception_non_intrusive.cpp -) - +add_library(boost_exception INTERFACE) add_library(Boost::exception ALIAS boost_exception) -target_include_directories(boost_exception PUBLIC include) +target_include_directories(boost_exception INTERFACE include) target_link_libraries(boost_exception - PUBLIC + INTERFACE Boost::assert Boost::config Boost::core From ece51fe0f7b8273ffc3fa626c3d1442f7af24ef9 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 31 May 2024 05:27:49 +0300 Subject: [PATCH 2/2] Update ci.yml --- .github/workflows/ci.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e62eac6..8bca2ce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,7 +58,7 @@ jobs: address-model: 32,64 - toolset: gcc-11 cxxstd: "03,11,14,17,20" - os: ubuntu-20.04 + os: ubuntu-22.04 install: g++-11-multilib address-model: 32,64 - toolset: gcc-12 @@ -72,6 +72,12 @@ jobs: os: ubuntu-latest install: g++-13-multilib address-model: 32,64 + - toolset: gcc-14 + cxxstd: "03,11,14,17,20,2b" + container: ubuntu:24.04 + os: ubuntu-latest + install: g++-14-multilib + address-model: 32,64 - toolset: clang compiler: clang++-3.9 cxxstd: "03,11,14" @@ -153,14 +159,20 @@ jobs: os: ubuntu-latest install: clang-17 - toolset: clang - cxxstd: "03,11,14,17,2a" - os: macos-11 + compiler: clang++-18 + cxxstd: "03,11,14,17,20,2b" + container: ubuntu:24.04 + os: ubuntu-latest + install: clang-18 - toolset: clang cxxstd: "03,11,14,17,20,2b" os: macos-12 - toolset: clang cxxstd: "03,11,14,17,20,2b" os: macos-13 + - toolset: clang + cxxstd: "03,11,14,17,20,2b" + os: macos-14 runs-on: ${{matrix.os}} container: ${{matrix.container}}