From ac8333dee170207641c3f36d55916c35d8601652 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 11 Mar 2024 08:27:02 -0500 Subject: [PATCH 01/21] Make the library modular usable. --- build.jam | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 build.jam diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..9f24b1d --- /dev/null +++ b/build.jam @@ -0,0 +1,23 @@ +# Copyright René Ferdinand Rivera Morell 2023 +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +import project ; + +project /boost/align + : common-requirements + /boost/assert//boost_assert + /boost/config//boost_config + /boost/core//boost_core + /boost/static_assert//boost_static_assert + include + ; + +explicit + [ alias boost_align ] + [ alias all : boost_align test ] + ; + +call-if : boost-library align + ; From cde1ba008d16616aea0a85c387e4acc39492ae38 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 29 Mar 2024 21:12:36 -0500 Subject: [PATCH 02/21] Switch to library requirements instead of source. As source puts extra source in install targets. --- build.jam | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.jam b/build.jam index 9f24b1d..e46fc69 100644 --- a/build.jam +++ b/build.jam @@ -7,10 +7,10 @@ import project ; project /boost/align : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config - /boost/core//boost_core - /boost/static_assert//boost_static_assert + /boost/assert//boost_assert + /boost/config//boost_config + /boost/core//boost_core + /boost/static_assert//boost_static_assert include ; From 1a465248f243a6d4f7b7534faa04ebe1457d7f91 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 5 May 2024 09:00:00 -0500 Subject: [PATCH 03/21] Add requires-b2 check to top-level build file. --- build.jam | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.jam b/build.jam index e46fc69..d4a7c92 100644 --- a/build.jam +++ b/build.jam @@ -3,6 +3,8 @@ # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) +require-b2 5.1 ; + import project ; project /boost/align From d9ee9876b255cf66a79fb18fb1d162907b2b596e Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 14 Jun 2024 11:33:55 -0500 Subject: [PATCH 04/21] Bump B2 require to 5.2 --- build.jam | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build.jam b/build.jam index d4a7c92..cb1f914 100644 --- a/build.jam +++ b/build.jam @@ -3,9 +3,7 @@ # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) -require-b2 5.1 ; - -import project ; +require-b2 5.2 ; project /boost/align : common-requirements From 2e4e554fa0c9144f3828d25b837be9e8707c8231 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 22:52:05 -0500 Subject: [PATCH 05/21] Update copyright dates. --- build.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.jam b/build.jam index cb1f914..193b910 100644 --- a/build.jam +++ b/build.jam @@ -1,4 +1,4 @@ -# Copyright René Ferdinand Rivera Morell 2023 +# Copyright René Ferdinand Rivera Morell 2023-2024 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) From 6cf458a53b2c9f834fe431dd76ee7e9d0d011c59 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 23 Jul 2024 22:34:23 -0500 Subject: [PATCH 06/21] Move inter-lib dependencies to a project variable and into the build targets. --- build.jam | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/build.jam b/build.jam index 193b910..3e7417e 100644 --- a/build.jam +++ b/build.jam @@ -5,19 +5,22 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/assert//boost_assert + /boost/config//boost_config + /boost/core//boost_core + /boost/static_assert//boost_static_assert ; + project /boost/align : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config - /boost/core//boost_core - /boost/static_assert//boost_static_assert include ; explicit - [ alias boost_align ] + [ alias boost_align : : : : $(boost_dependencies) ] [ alias all : boost_align test ] ; call-if : boost-library align ; + From 083b2c5a6284a4f0a149547eec9b31c5fbf3a77d Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 27 Jul 2024 10:30:40 -0500 Subject: [PATCH 07/21] Adjust self dependencies as inter-lib deps no longer apply globally. --- test/Jamfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/Jamfile b/test/Jamfile index 2004932..a082b92 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -6,6 +6,8 @@ import testing ; +project : requirements /boost/align//boost_align ; + run align_test.cpp ; run align_overflow_test.cpp ; run align_down_test.cpp ; From 7ee0ba9c49fe0b3ed2ebcadbad3d2a42ae23c4b4 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 13 Apr 2025 09:26:31 -0500 Subject: [PATCH 08/21] Add Boost.ThrowExceptions transitive dep module. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5afb625..67074f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,6 +116,7 @@ jobs: git submodule init libs/config git submodule init libs/core git submodule init libs/static_assert + git submodule init libs/throw_exception git submodule init libs/headers git submodule init tools/build git submodule init tools/boost_install @@ -171,6 +172,7 @@ jobs: git submodule init libs/config git submodule init libs/core git submodule init libs/static_assert + git submodule init libs/throw_exception git submodule init libs/headers git submodule init tools/build git submodule init tools/boost_install From a350100d28ce895b1f797a69425aa4e84433f312 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 13 Apr 2025 09:30:01 -0500 Subject: [PATCH 09/21] Need 22.04 for gcc-11. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67074f8..ee4267b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: install: g++-10 - toolset: gcc-11 standard: "03,11,14,17,2a" - os: ubuntu-20.04 + os: ubuntu-22.04 install: g++-11 - toolset: clang compiler: clang++-3.9 From e591659e048a52a51c86ac8ff10f44b507572c11 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 13 Apr 2025 09:39:39 -0500 Subject: [PATCH 10/21] Use latest macOS for GHA. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee4267b..c066d36 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,7 +95,7 @@ jobs: install: clang-12 - toolset: clang standard: "03,11,14,17,2a" - os: macos-10.15 + os: macos-latest runs-on: ${{matrix.os}} From ae2607ebc48419061a0b09db3ede9bd0208244fb Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 13 Apr 2025 09:41:16 -0500 Subject: [PATCH 11/21] windows-2016 is no longer available for GHA. --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c066d36..bd120ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -139,10 +139,10 @@ jobs: fail-fast: false matrix: include: - - toolset: msvc-14.1 - standard: "14,17,latest" - target: 32,64 - os: windows-2016 + # - toolset: msvc-14.1 + # standard: "14,17,latest" + # target: 32,64 + # os: windows-2016 - toolset: msvc-14.2 standard: "14,17,latest" target: 32,64 From af73a8da6cb002e61b51b683346f332bd8d5bc73 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 13 Apr 2025 09:43:56 -0500 Subject: [PATCH 12/21] ubuntu-18.04 is no longer available for GHA. --- .github/workflows/ci.yml | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bd120ed..7b40e20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,25 +13,25 @@ jobs: fail-fast: false matrix: include: - - toolset: gcc-4.8 - standard: "03,11" - os: ubuntu-18.04 - install: g++-4.8 - - toolset: gcc-5 - standard: "03,11,14,1z" - os: ubuntu-18.04 - install: g++-5 - - toolset: gcc-6 - standard: "03,11,14,1z" - os: ubuntu-18.04 - install: g++-6 - - toolset: gcc-7 - standard: "03,11,14,17" - os: ubuntu-18.04 - - toolset: gcc-8 - standard: "03,11,14,17,2a" - os: ubuntu-18.04 - install: g++-8 + # - toolset: gcc-4.8 + # standard: "03,11" + # os: ubuntu-18.04 + # install: g++-4.8 + # - toolset: gcc-5 + # standard: "03,11,14,1z" + # os: ubuntu-18.04 + # install: g++-5 + # - toolset: gcc-6 + # standard: "03,11,14,1z" + # os: ubuntu-18.04 + # install: g++-6 + # - toolset: gcc-7 + # standard: "03,11,14,17" + # os: ubuntu-18.04 + # - toolset: gcc-8 + # standard: "03,11,14,17,2a" + # os: ubuntu-18.04 + # install: g++-8 - toolset: gcc-9 standard: "03,11,14,17,2a" os: ubuntu-18.04 From 1d9dc3c84350a9915e4fc0c004860ab6bbe3d949 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 13 Apr 2025 09:45:55 -0500 Subject: [PATCH 13/21] Use ubuntu-24 for gcc on GHA. --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b40e20..002fc34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,14 +34,14 @@ jobs: # install: g++-8 - toolset: gcc-9 standard: "03,11,14,17,2a" - os: ubuntu-18.04 + os: ubuntu-24.04 - toolset: gcc-10 standard: "03,11,14,17,2a" - os: ubuntu-20.04 + os: ubuntu-24.04 install: g++-10 - toolset: gcc-11 standard: "03,11,14,17,2a" - os: ubuntu-22.04 + os: ubuntu-24.04 install: g++-11 - toolset: clang compiler: clang++-3.9 From 49de58c9202dc055956b86e60d2d662ac7249047 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 13 Apr 2025 09:47:31 -0500 Subject: [PATCH 14/21] ubuntu-18.04 is no longer available for GHA. --- .github/workflows/ci.yml | 50 ++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 002fc34..90c5836 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,31 +43,31 @@ jobs: standard: "03,11,14,17,2a" os: ubuntu-24.04 install: g++-11 - - toolset: clang - compiler: clang++-3.9 - standard: "03,11,14" - os: ubuntu-18.04 - install: clang-3.9 - - toolset: clang - compiler: clang++-4.0 - standard: "03,11,14" - os: ubuntu-18.04 - install: clang-4.0 - - toolset: clang - compiler: clang++-5.0 - standard: "03,11,14,1z" - os: ubuntu-18.04 - install: clang-5.0 - - toolset: clang - compiler: clang++-6.0 - standard: "03,11,14,17" - os: ubuntu-18.04 - install: clang-6.0 - - toolset: clang - compiler: clang++-7 - standard: "03,11,14,17" - os: ubuntu-18.04 - install: clang-7 + # - toolset: clang + # compiler: clang++-3.9 + # standard: "03,11,14" + # os: ubuntu-18.04 + # install: clang-3.9 + # - toolset: clang + # compiler: clang++-4.0 + # standard: "03,11,14" + # os: ubuntu-18.04 + # install: clang-4.0 + # - toolset: clang + # compiler: clang++-5.0 + # standard: "03,11,14,1z" + # os: ubuntu-18.04 + # install: clang-5.0 + # - toolset: clang + # compiler: clang++-6.0 + # standard: "03,11,14,17" + # os: ubuntu-18.04 + # install: clang-6.0 + # - toolset: clang + # compiler: clang++-7 + # standard: "03,11,14,17" + # os: ubuntu-18.04 + # install: clang-7 - toolset: clang compiler: clang++-8 standard: "03,11,14,17" From 1cdbdad2dbb057324aa4bdb85e835ec4d9789910 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 13 Apr 2025 09:49:59 -0500 Subject: [PATCH 15/21] Use latest clang version on latest ubuntu-24 for GHA. --- .github/workflows/ci.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90c5836..b01b7e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,30 +69,30 @@ jobs: # os: ubuntu-18.04 # install: clang-7 - toolset: clang - compiler: clang++-8 + compiler: clang++-15 standard: "03,11,14,17" - os: ubuntu-20.04 - install: clang-8 + os: ubuntu-24.04 + install: clang-15 - toolset: clang - compiler: clang++-9 + compiler: clang++-16 standard: "03,11,14,17,2a" - os: ubuntu-20.04 - install: clang-9 + os: ubuntu-24.04 + install: clang-16 - toolset: clang - compiler: clang++-10 + compiler: clang++-17 standard: "03,11,14,17,2a" - os: ubuntu-20.04 - install: clang-10 + os: ubuntu-24.04 + install: clang-17 - toolset: clang - compiler: clang++-11 + compiler: clang++-18 cxxstd: "03,11,14,17,2a" - os: ubuntu-20.04 - install: clang-11 + os: ubuntu-24.04 + install: clang-18 - toolset: clang - compiler: clang++-12 + compiler: clang++-19 cxxstd: "03,11,14,17,2a" - os: ubuntu-20.04 - install: clang-12 + os: ubuntu-24.04 + install: clang-19 - toolset: clang standard: "03,11,14,17,2a" os: macos-latest From c1f721719edf013331d0b489a1089a361da1c043 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 13 Apr 2025 09:54:07 -0500 Subject: [PATCH 16/21] Need to instal gcc-9. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b01b7e2..9f4b286 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,6 +35,7 @@ jobs: - toolset: gcc-9 standard: "03,11,14,17,2a" os: ubuntu-24.04 + install: g++-9 - toolset: gcc-10 standard: "03,11,14,17,2a" os: ubuntu-24.04 From 26b21c32dca64e64211d91ae10025f1386d87f18 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Thu, 17 Apr 2025 08:35:03 -0500 Subject: [PATCH 17/21] Move include to target. --- build.jam | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.jam b/build.jam index 3e7417e..35fbf86 100644 --- a/build.jam +++ b/build.jam @@ -12,12 +12,11 @@ constant boost_dependencies : /boost/static_assert//boost_static_assert ; project /boost/align - : common-requirements - include ; explicit - [ alias boost_align : : : : $(boost_dependencies) ] + [ alias boost_align : : : + : include $(boost_dependencies) ] [ alias all : boost_align test ] ; From 18a8387f3d267a41ce8001922b169f32aae5bec6 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 6 Jun 2025 17:51:41 -0500 Subject: [PATCH 18/21] Put back disabled CI compilers with hopefully fixed building to account for GHA system changes. --- .github/workflows/ci.yml | 227 ++++++++++++++++++++++++++------------- 1 file changed, 154 insertions(+), 73 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f4b286..3ab2c69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,100 +13,181 @@ jobs: fail-fast: false matrix: include: - # - toolset: gcc-4.8 - # standard: "03,11" - # os: ubuntu-18.04 - # install: g++-4.8 - # - toolset: gcc-5 - # standard: "03,11,14,1z" - # os: ubuntu-18.04 - # install: g++-5 - # - toolset: gcc-6 - # standard: "03,11,14,1z" - # os: ubuntu-18.04 - # install: g++-6 - # - toolset: gcc-7 - # standard: "03,11,14,17" - # os: ubuntu-18.04 - # - toolset: gcc-8 - # standard: "03,11,14,17,2a" - # os: ubuntu-18.04 - # install: g++-8 - - toolset: gcc-9 - standard: "03,11,14,17,2a" - os: ubuntu-24.04 - install: g++-9 - - toolset: gcc-10 - standard: "03,11,14,17,2a" - os: ubuntu-24.04 + - toolset: gcc + compiler: g++-4.8 + cxxstd: "11" + os: ubuntu-latest + container: ubuntu:18.04 + install: g++-4.8 + - toolset: gcc + compiler: g++-5 + cxxstd: "11,14,1z" + os: ubuntu-latest + container: ubuntu:18.04 + install: g++-5 + - toolset: gcc + compiler: g++-6 + cxxstd: "11,14,1z" + os: ubuntu-latest + container: ubuntu:18.04 + install: g++-6 + - toolset: gcc + compiler: g++-7 + cxxstd: "11,14,17" + os: ubuntu-latest + container: ubuntu:20.04 + install: g++-7 + - toolset: gcc + compiler: g++-8 + cxxstd: "11,14,17,2a" + os: ubuntu-latest + container: ubuntu:20.04 + install: g++-8 + - toolset: gcc + compiler: g++-9 + cxxstd: "11,14,17,2a" + os: ubuntu-latest + container: ubuntu:20.04 + - toolset: gcc + compiler: g++-10 + cxxstd: "11,14,17,2a" + os: ubuntu-latest + container: ubuntu:20.04 install: g++-10 - - toolset: gcc-11 - standard: "03,11,14,17,2a" - os: ubuntu-24.04 + - toolset: gcc + compiler: g++-11 + cxxstd: "11,14,17,2a" + os: ubuntu-latest + container: ubuntu:24.04 install: g++-11 - # - toolset: clang - # compiler: clang++-3.9 - # standard: "03,11,14" - # os: ubuntu-18.04 - # install: clang-3.9 - # - toolset: clang - # compiler: clang++-4.0 - # standard: "03,11,14" - # os: ubuntu-18.04 - # install: clang-4.0 - # - toolset: clang - # compiler: clang++-5.0 - # standard: "03,11,14,1z" - # os: ubuntu-18.04 - # install: clang-5.0 - # - toolset: clang - # compiler: clang++-6.0 - # standard: "03,11,14,17" - # os: ubuntu-18.04 - # install: clang-6.0 - # - toolset: clang - # compiler: clang++-7 - # standard: "03,11,14,17" - # os: ubuntu-18.04 - # install: clang-7 + - toolset: gcc + compiler: g++-12 + cxxstd: "11,14,17,20,2b" + os: ubuntu-22.04 + install: g++-12 + - toolset: gcc + compiler: g++-13 + cxxstd: "11,14,17,20,2b" + os: ubuntu-latest + container: ubuntu:24.04 + install: g++-13 + - toolset: clang + compiler: clang++-3.9 + cxxstd: "11,14" + os: ubuntu-latest + container: ubuntu:18.04 + install: clang-3.9 + - toolset: clang + compiler: clang++-4.0 + cxxstd: "11,14" + os: ubuntu-latest + container: ubuntu:18.04 + install: clang-4.0 + - toolset: clang + compiler: clang++-5.0 + cxxstd: "11,14,1z" + os: ubuntu-latest + container: ubuntu:18.04 + install: clang-5.0 + - toolset: clang + compiler: clang++-6.0 + cxxstd: "11,14,17" + os: ubuntu-latest + container: ubuntu:20.04 + install: clang-6.0 + - toolset: clang + compiler: clang++-7 + cxxstd: "11,14,17" + os: ubuntu-latest + container: ubuntu:20.04 + install: clang-7 + - toolset: clang + compiler: clang++-8 + cxxstd: "11,14,17" + os: ubuntu-latest + container: ubuntu:20.04 + install: clang-8 + - toolset: clang + compiler: clang++-9 + cxxstd: "11,14,17" + os: ubuntu-latest + container: ubuntu:20.04 + install: clang-9 + - toolset: clang + compiler: clang++-10 + cxxstd: "11,14,17,2a" + os: ubuntu-latest + container: ubuntu:20.04 + install: clang-10 + - toolset: clang + compiler: clang++-11 + cxxstd: "11,14,17,2a" + os: ubuntu-latest + container: ubuntu:20.04 + install: clang-11 + - toolset: clang + compiler: clang++-12 + cxxstd: "11,14,17,2a" + os: ubuntu-latest + container: ubuntu:20.04 + install: clang-12 + - toolset: clang + compiler: clang++-13 + cxxstd: "11,14,17,20,2b" + os: ubuntu-22.04 + install: clang-13 + - toolset: clang + compiler: clang++-14 + cxxstd: "11,14,17,20,2b" + os: ubuntu-22.04 + install: clang-14 - toolset: clang compiler: clang++-15 - standard: "03,11,14,17" - os: ubuntu-24.04 + cxxstd: "11,14,17,20,2b" + os: ubuntu-22.04 install: clang-15 - toolset: clang compiler: clang++-16 - standard: "03,11,14,17,2a" + cxxstd: "11,14,17,20,2b" os: ubuntu-24.04 install: clang-16 - toolset: clang - compiler: clang++-17 - standard: "03,11,14,17,2a" - os: ubuntu-24.04 - install: clang-17 + cxxstd: "11,14,17,20,2b" + os: macos-13 - toolset: clang - compiler: clang++-18 - cxxstd: "03,11,14,17,2a" - os: ubuntu-24.04 - install: clang-18 - - toolset: clang - compiler: clang++-19 - cxxstd: "03,11,14,17,2a" - os: ubuntu-24.04 - install: clang-19 + cxxstd: "11,14,17,20,2b" + os: macos-14 - toolset: clang - standard: "03,11,14,17,2a" - os: macos-latest + cxxstd: "11,14,17,20,2b" + os: macos-15 runs-on: ${{matrix.os}} + container: + image: ${{matrix.container}} + volumes: + - /node20217:/node20217:rw,rshared + - ${{ startsWith(matrix.container, 'ubuntu:1') && '/node20217:/__e/node20:ro,rshared' || ' ' }} steps: - - uses: actions/checkout@v2 + - name: Setup container environment + if: matrix.container + run: | + apt-get update + apt-get -y install sudo python3 git g++ curl xz-utils + + - name: Install nodejs20glibc2.17 + if: ${{ startsWith( matrix.container, 'ubuntu:1' ) }} + run: | + curl -LO https://archives.boost.io/misc/node/node-v20.9.0-linux-x64-glibc-217.tar.xz + tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217 + ldd /__e/node20/bin/node - name: Install packages if: matrix.install run: sudo apt install ${{matrix.install}} + - uses: actions/checkout@v2 + - name: Setup Boost run: | cd .. From fc912a4135849107ba1aa4187ea5fc9b774ffc48 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 6 Jun 2025 17:54:13 -0500 Subject: [PATCH 19/21] Fix copy-paste error for cxxstd option. --- .github/workflows/ci.yml | 56 ++++++++++++++++++++-------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ab2c69..ab6e7cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,150 +15,150 @@ jobs: include: - toolset: gcc compiler: g++-4.8 - cxxstd: "11" + standard: "11" os: ubuntu-latest container: ubuntu:18.04 install: g++-4.8 - toolset: gcc compiler: g++-5 - cxxstd: "11,14,1z" + standard: "11,14,1z" os: ubuntu-latest container: ubuntu:18.04 install: g++-5 - toolset: gcc compiler: g++-6 - cxxstd: "11,14,1z" + standard: "11,14,1z" os: ubuntu-latest container: ubuntu:18.04 install: g++-6 - toolset: gcc compiler: g++-7 - cxxstd: "11,14,17" + standard: "11,14,17" os: ubuntu-latest container: ubuntu:20.04 install: g++-7 - toolset: gcc compiler: g++-8 - cxxstd: "11,14,17,2a" + standard: "11,14,17,2a" os: ubuntu-latest container: ubuntu:20.04 install: g++-8 - toolset: gcc compiler: g++-9 - cxxstd: "11,14,17,2a" + standard: "11,14,17,2a" os: ubuntu-latest container: ubuntu:20.04 - toolset: gcc compiler: g++-10 - cxxstd: "11,14,17,2a" + standard: "11,14,17,2a" os: ubuntu-latest container: ubuntu:20.04 install: g++-10 - toolset: gcc compiler: g++-11 - cxxstd: "11,14,17,2a" + standard: "11,14,17,2a" os: ubuntu-latest container: ubuntu:24.04 install: g++-11 - toolset: gcc compiler: g++-12 - cxxstd: "11,14,17,20,2b" + standard: "11,14,17,20,2b" os: ubuntu-22.04 install: g++-12 - toolset: gcc compiler: g++-13 - cxxstd: "11,14,17,20,2b" + standard: "11,14,17,20,2b" os: ubuntu-latest container: ubuntu:24.04 install: g++-13 - toolset: clang compiler: clang++-3.9 - cxxstd: "11,14" + standard: "11,14" os: ubuntu-latest container: ubuntu:18.04 install: clang-3.9 - toolset: clang compiler: clang++-4.0 - cxxstd: "11,14" + standard: "11,14" os: ubuntu-latest container: ubuntu:18.04 install: clang-4.0 - toolset: clang compiler: clang++-5.0 - cxxstd: "11,14,1z" + standard: "11,14,1z" os: ubuntu-latest container: ubuntu:18.04 install: clang-5.0 - toolset: clang compiler: clang++-6.0 - cxxstd: "11,14,17" + standard: "11,14,17" os: ubuntu-latest container: ubuntu:20.04 install: clang-6.0 - toolset: clang compiler: clang++-7 - cxxstd: "11,14,17" + standard: "11,14,17" os: ubuntu-latest container: ubuntu:20.04 install: clang-7 - toolset: clang compiler: clang++-8 - cxxstd: "11,14,17" + standard: "11,14,17" os: ubuntu-latest container: ubuntu:20.04 install: clang-8 - toolset: clang compiler: clang++-9 - cxxstd: "11,14,17" + standard: "11,14,17" os: ubuntu-latest container: ubuntu:20.04 install: clang-9 - toolset: clang compiler: clang++-10 - cxxstd: "11,14,17,2a" + standard: "11,14,17,2a" os: ubuntu-latest container: ubuntu:20.04 install: clang-10 - toolset: clang compiler: clang++-11 - cxxstd: "11,14,17,2a" + standard: "11,14,17,2a" os: ubuntu-latest container: ubuntu:20.04 install: clang-11 - toolset: clang compiler: clang++-12 - cxxstd: "11,14,17,2a" + standard: "11,14,17,2a" os: ubuntu-latest container: ubuntu:20.04 install: clang-12 - toolset: clang compiler: clang++-13 - cxxstd: "11,14,17,20,2b" + standard: "11,14,17,20,2b" os: ubuntu-22.04 install: clang-13 - toolset: clang compiler: clang++-14 - cxxstd: "11,14,17,20,2b" + standard: "11,14,17,20,2b" os: ubuntu-22.04 install: clang-14 - toolset: clang compiler: clang++-15 - cxxstd: "11,14,17,20,2b" + standard: "11,14,17,20,2b" os: ubuntu-22.04 install: clang-15 - toolset: clang compiler: clang++-16 - cxxstd: "11,14,17,20,2b" + standard: "11,14,17,20,2b" os: ubuntu-24.04 install: clang-16 - toolset: clang - cxxstd: "11,14,17,20,2b" + standard: "11,14,17,20,2b" os: macos-13 - toolset: clang - cxxstd: "11,14,17,20,2b" + standard: "11,14,17,20,2b" os: macos-14 - toolset: clang - cxxstd: "11,14,17,20,2b" + standard: "11,14,17,20,2b" os: macos-15 runs-on: ${{matrix.os}} @@ -230,7 +230,7 @@ jobs: target: 32,64 os: windows-2019 - toolset: msvc-14.3 - cxxstd: "14,17,latest" + standard: "14,17,latest" addrmd: 32,64 os: windows-2022 - toolset: gcc From 3f4fe93866ccf0916fafee8532525dc2b7b89a70 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 6 Jun 2025 17:59:16 -0500 Subject: [PATCH 20/21] Fix to avoid unattended attempt at instal prompt. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab6e7cd..6c1a3aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -184,7 +184,7 @@ jobs: - name: Install packages if: matrix.install - run: sudo apt install ${{matrix.install}} + run: sudo apt-get -y install ${{matrix.install}} - uses: actions/checkout@v2 From 581b4ff88336f28a7457e451379b3b96d8423753 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Thu, 26 Jun 2025 08:30:58 -0500 Subject: [PATCH 21/21] Undo many of the CI changes. --- .github/workflows/ci.yml | 147 +++++++++++++-------------------------- 1 file changed, 49 insertions(+), 98 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c1a3aa..03730f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,152 +13,107 @@ jobs: fail-fast: false matrix: include: - - toolset: gcc - compiler: g++-4.8 - standard: "11" - os: ubuntu-latest + - toolset: gcc-4.8 + cxxstd: "03,11" container: ubuntu:18.04 - install: g++-4.8 - - toolset: gcc - compiler: g++-5 - standard: "11,14,1z" os: ubuntu-latest + install: g++-4.8 + - toolset: gcc-5 + cxxstd: "03,11,14,1z" container: ubuntu:18.04 - install: g++-5 - - toolset: gcc - compiler: g++-6 - standard: "11,14,1z" os: ubuntu-latest + install: g++-5 + - toolset: gcc-6 + cxxstd: "03,11,14,1z" container: ubuntu:18.04 - install: g++-6 - - toolset: gcc - compiler: g++-7 - standard: "11,14,17" os: ubuntu-latest + install: g++-6 + - toolset: gcc-7 + cxxstd: "03,11,14,17" container: ubuntu:20.04 - install: g++-7 - - toolset: gcc - compiler: g++-8 - standard: "11,14,17,2a" os: ubuntu-latest + install: g++-7 + - toolset: gcc-8 + cxxstd: "03,11,14,17,2a" container: ubuntu:20.04 - install: g++-8 - - toolset: gcc - compiler: g++-9 - standard: "11,14,17,2a" os: ubuntu-latest + install: g++-8 + - toolset: gcc-9 + cxxstd: "03,11,14,17,2a" container: ubuntu:20.04 - - toolset: gcc - compiler: g++-10 - standard: "11,14,17,2a" os: ubuntu-latest + - toolset: gcc-10 + cxxstd: "03,11,14,17,2a" container: ubuntu:20.04 - install: g++-10 - - toolset: gcc - compiler: g++-11 - standard: "11,14,17,2a" os: ubuntu-latest + install: g++-10 + - toolset: gcc-11 + cxxstd: "03,11,14,17,2a" container: ubuntu:24.04 - install: g++-11 - - toolset: gcc - compiler: g++-12 - standard: "11,14,17,20,2b" - os: ubuntu-22.04 - install: g++-12 - - toolset: gcc - compiler: g++-13 - standard: "11,14,17,20,2b" os: ubuntu-latest - container: ubuntu:24.04 - install: g++-13 + install: g++-11 - toolset: clang compiler: clang++-3.9 - standard: "11,14" - os: ubuntu-latest + cxxstd: "03,11,14" container: ubuntu:18.04 + os: ubuntu-latest install: clang-3.9 - toolset: clang compiler: clang++-4.0 - standard: "11,14" - os: ubuntu-latest + cxxstd: "03,11,14" container: ubuntu:18.04 + os: ubuntu-latest install: clang-4.0 - toolset: clang compiler: clang++-5.0 - standard: "11,14,1z" - os: ubuntu-latest + cxxstd: "03,11,14,1z" container: ubuntu:18.04 + os: ubuntu-latest install: clang-5.0 - toolset: clang compiler: clang++-6.0 - standard: "11,14,17" - os: ubuntu-latest + cxxstd: "03,11,14,17" container: ubuntu:20.04 + os: ubuntu-latest install: clang-6.0 - toolset: clang compiler: clang++-7 - standard: "11,14,17" - os: ubuntu-latest + cxxstd: "03,11,14,17" container: ubuntu:20.04 + os: ubuntu-latest install: clang-7 - toolset: clang compiler: clang++-8 - standard: "11,14,17" - os: ubuntu-latest + cxxstd: "03,11,14,17" container: ubuntu:20.04 + os: ubuntu-latest install: clang-8 - toolset: clang compiler: clang++-9 - standard: "11,14,17" - os: ubuntu-latest + cxxstd: "03,11,14,17" container: ubuntu:20.04 + os: ubuntu-latest install: clang-9 - toolset: clang compiler: clang++-10 - standard: "11,14,17,2a" - os: ubuntu-latest + cxxstd: "03,11,14,17,2a" container: ubuntu:20.04 + os: ubuntu-latest install: clang-10 - toolset: clang compiler: clang++-11 - standard: "11,14,17,2a" - os: ubuntu-latest + cxxstd: "03,11,14,17,2a" container: ubuntu:20.04 + os: ubuntu-latest install: clang-11 - toolset: clang compiler: clang++-12 - standard: "11,14,17,2a" - os: ubuntu-latest + cxxstd: "03,11,14,17,2a" container: ubuntu:20.04 + os: ubuntu-latest install: clang-12 - toolset: clang - compiler: clang++-13 - standard: "11,14,17,20,2b" - os: ubuntu-22.04 - install: clang-13 - - toolset: clang - compiler: clang++-14 - standard: "11,14,17,20,2b" - os: ubuntu-22.04 - install: clang-14 - - toolset: clang - compiler: clang++-15 - standard: "11,14,17,20,2b" - os: ubuntu-22.04 - install: clang-15 - - toolset: clang - compiler: clang++-16 - standard: "11,14,17,20,2b" - os: ubuntu-24.04 - install: clang-16 - - toolset: clang - standard: "11,14,17,20,2b" - os: macos-13 - - toolset: clang - standard: "11,14,17,20,2b" - os: macos-14 - - toolset: clang - standard: "11,14,17,20,2b" + cxxstd: "03,11,14,17,20,2b" os: macos-15 runs-on: ${{matrix.os}} @@ -214,27 +169,23 @@ jobs: - name: Run tests run: | cd ../boost - ./b2 -j3 libs/align/test toolset=${{matrix.toolset}} cxxstd=${{matrix.standard}} variant=debug,release + ./b2 -j3 libs/align/test toolset=${{matrix.toolset}} cxxstd=${{matrix.cxxstd}} variant=debug,release windows: strategy: fail-fast: false matrix: include: - # - toolset: msvc-14.1 - # standard: "14,17,latest" - # target: 32,64 - # os: windows-2016 - toolset: msvc-14.2 - standard: "14,17,latest" + cxxstd: "14,17,latest" target: 32,64 os: windows-2019 - toolset: msvc-14.3 - standard: "14,17,latest" + cxxstd: "14,17,latest" addrmd: 32,64 os: windows-2022 - toolset: gcc - standard: "03,11,14,17,2a" + cxxstd: "03,11,14,17,2a" target: 64 os: windows-2019 @@ -266,4 +217,4 @@ jobs: shell: cmd run: | cd ../boost - b2 -j3 libs/align/test toolset=${{matrix.toolset}} cxxstd=${{matrix.standard}} address-model=${{matrix.target}} variant=debug,release + b2 -j3 libs/align/test toolset=${{matrix.toolset}} cxxstd=${{matrix.cxxstd}} address-model=${{matrix.target}} variant=debug,release