From de73168dffbf62d5a65cd944c5121bfb23a1cf07 Mon Sep 17 00:00:00 2001 From: "Adam M. Rosenzweig" Date: Tue, 7 Apr 2026 10:23:20 -0400 Subject: [PATCH 01/11] Define github workflow to replace travis Signed-off-by: Adam M. Rosenzweig --- .github/workflows/cmake-single-platform.yml | 45 +++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/cmake-single-platform.yml diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml new file mode 100644 index 0000000..39b9beb --- /dev/null +++ b/.github/workflows/cmake-single-platform.yml @@ -0,0 +1,45 @@ +name: Build & Test on Linux + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + BUILD_TYPE: RelWithDebInfo + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install Dependencies + run: | + sudo apt-get update + sudo apt-get -y install libboost1.70-dev \ + valgrind \ + gdb + git clone https://github.com/google/googletest.git + cd googletest && cmake -DCMAKE_INSTALL_PREFIX=install . + make install + cd .. + + - name: Configure CMake + run: cmake -B ${{github.workspace}}/build \ + -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \ + -DGTEST_ROOT=googletest/install . \ + -DQUANTUM_ENABLE_TESTS=ON \ + -DQUANTUM_BOOST_USE_VALGRIND=ON + + - name: Build + # Build your program with the given configuration + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + + - name: Test + working-directory: ${{github.workspace}}/build + # Execute tests defined by the CMake configuration. + # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail + run: ctest -C ${{env.BUILD_TYPE}} From 8dfd35b433f3bd44197648779b74f19dbf4e977c Mon Sep 17 00:00:00 2001 From: "Adam M. Rosenzweig" Date: Tue, 7 Apr 2026 10:30:27 -0400 Subject: [PATCH 02/11] Pin to bionic distribution Signed-off-by: Adam M. Rosenzweig --- .github/workflows/cmake-single-platform.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 39b9beb..d8efa44 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -18,8 +18,8 @@ jobs: - name: Install Dependencies run: | - sudo apt-get update - sudo apt-get -y install libboost1.70-dev \ + sudo apt-get update -t bionic + sudo apt-get -t bionic -y install libboost1.70-dev \ valgrind \ gdb git clone https://github.com/google/googletest.git From aa6fb6d230ac259dee2938197cdde53198b52023 Mon Sep 17 00:00:00 2001 From: "Adam M. Rosenzweig" Date: Tue, 7 Apr 2026 11:10:24 -0400 Subject: [PATCH 03/11] Remove bionic, un-pin boost Signed-off-by: Adam M. Rosenzweig --- .github/workflows/cmake-single-platform.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index d8efa44..fe3b4f9 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -18,8 +18,8 @@ jobs: - name: Install Dependencies run: | - sudo apt-get update -t bionic - sudo apt-get -t bionic -y install libboost1.70-dev \ + sudo apt-get update + sudo apt-get -y install libboost-dev \ valgrind \ gdb git clone https://github.com/google/googletest.git From 7006d2ba015059d75004e4c4440f2aeb02e4bfca Mon Sep 17 00:00:00 2001 From: "Adam M. Rosenzweig" Date: Tue, 7 Apr 2026 12:58:01 -0400 Subject: [PATCH 04/11] Request libboost-context-dev explicitly Signed-off-by: Adam M. Rosenzweig --- .github/workflows/cmake-single-platform.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index fe3b4f9..2bf3fb5 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -20,6 +20,7 @@ jobs: run: | sudo apt-get update sudo apt-get -y install libboost-dev \ + libboost-context-dev \ valgrind \ gdb git clone https://github.com/google/googletest.git From 734f2ece30115f0ac19e863be5962355c79ac1cd Mon Sep 17 00:00:00 2001 From: "Adam M. Rosenzweig" Date: Tue, 7 Apr 2026 13:20:12 -0400 Subject: [PATCH 05/11] Multi-line cmake command Signed-off-by: Adam M. Rosenzweig --- .github/workflows/cmake-single-platform.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 2bf3fb5..49f769d 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -29,7 +29,8 @@ jobs: cd .. - name: Configure CMake - run: cmake -B ${{github.workspace}}/build \ + run: | + cmake -B ${{github.workspace}}/build \ -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \ -DGTEST_ROOT=googletest/install . \ -DQUANTUM_ENABLE_TESTS=ON \ From d2d8e9bf62073e4e1d4a46e047cb3e9f112a07d6 Mon Sep 17 00:00:00 2001 From: "Adam M. Rosenzweig" Date: Tue, 7 Apr 2026 13:27:43 -0400 Subject: [PATCH 06/11] Add boost-coroutines Signed-off-by: Adam M. Rosenzweig --- .github/workflows/cmake-single-platform.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 49f769d..52cd83b 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -21,6 +21,7 @@ jobs: sudo apt-get update sudo apt-get -y install libboost-dev \ libboost-context-dev \ + libboost-coroutines-dev \ valgrind \ gdb git clone https://github.com/google/googletest.git From 28abc8c98ae0ae3cab71f7d09f720f1fda1adc7b Mon Sep 17 00:00:00 2001 From: "Adam M. Rosenzweig" Date: Tue, 7 Apr 2026 13:31:54 -0400 Subject: [PATCH 07/11] Fix package name Signed-off-by: Adam M. Rosenzweig --- .github/workflows/cmake-single-platform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 52cd83b..6c45128 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -21,7 +21,7 @@ jobs: sudo apt-get update sudo apt-get -y install libboost-dev \ libboost-context-dev \ - libboost-coroutines-dev \ + libboost-coroutine-dev \ valgrind \ gdb git clone https://github.com/google/googletest.git From d32822a399f50015bcd017d3c3bf0e983b3797b8 Mon Sep 17 00:00:00 2001 From: "Adam M. Rosenzweig" Date: Tue, 7 Apr 2026 13:38:27 -0400 Subject: [PATCH 08/11] Set CXX Standard Signed-off-by: Adam M. Rosenzweig --- .github/workflows/cmake-single-platform.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 6c45128..808ed5e 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -35,7 +35,8 @@ jobs: -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \ -DGTEST_ROOT=googletest/install . \ -DQUANTUM_ENABLE_TESTS=ON \ - -DQUANTUM_BOOST_USE_VALGRIND=ON + -DQUANTUM_BOOST_USE_VALGRIND=ON \ + -DCMAKE_CXX_STANDARD=$CXXSTANDARD=17 - name: Build # Build your program with the given configuration From 495dadeaf3785cdc196401551d2efcd5ee592f6b Mon Sep 17 00:00:00 2001 From: "Adam M. Rosenzweig" Date: Tue, 7 Apr 2026 13:56:38 -0400 Subject: [PATCH 09/11] Fix syntax Signed-off-by: Adam M. Rosenzweig --- .github/workflows/cmake-single-platform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 808ed5e..fc578d2 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -36,7 +36,7 @@ jobs: -DGTEST_ROOT=googletest/install . \ -DQUANTUM_ENABLE_TESTS=ON \ -DQUANTUM_BOOST_USE_VALGRIND=ON \ - -DCMAKE_CXX_STANDARD=$CXXSTANDARD=17 + -DCMAKE_CXX_STANDARD=17 - name: Build # Build your program with the given configuration From c30394efb522dcd1eccae0e44206611920ec463c Mon Sep 17 00:00:00 2001 From: "Adam M. Rosenzweig" Date: Tue, 7 Apr 2026 14:23:40 -0400 Subject: [PATCH 10/11] Name exception Signed-off-by: Adam M. Rosenzweig --- quantum/util/impl/quantum_sequencer_experimental_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantum/util/impl/quantum_sequencer_experimental_impl.h b/quantum/util/impl/quantum_sequencer_experimental_impl.h index d0df577..dceb6aa 100644 --- a/quantum/util/impl/quantum_sequencer_experimental_impl.h +++ b/quantum/util/impl/quantum_sequencer_experimental_impl.h @@ -189,7 +189,7 @@ Sequencer::executePending( { rc = task->_func(ctx); } - catch(const boost::coroutines2::detail::forced_unwind&) + catch(const boost::coroutines2::detail::forced_unwind& e) { // quantum context switch throw; From e050bc12419b906220403df47bcaee67d8016449 Mon Sep 17 00:00:00 2001 From: "Adam M. Rosenzweig" Date: Tue, 7 Apr 2026 14:28:55 -0400 Subject: [PATCH 11/11] Catch non-deprecated type Signed-off-by: Adam M. Rosenzweig --- quantum/util/impl/quantum_sequencer_experimental_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantum/util/impl/quantum_sequencer_experimental_impl.h b/quantum/util/impl/quantum_sequencer_experimental_impl.h index dceb6aa..111c223 100644 --- a/quantum/util/impl/quantum_sequencer_experimental_impl.h +++ b/quantum/util/impl/quantum_sequencer_experimental_impl.h @@ -189,7 +189,7 @@ Sequencer::executePending( { rc = task->_func(ctx); } - catch(const boost::coroutines2::detail::forced_unwind& e) + catch(const Traits::CoroutineStackUnwind&) { // quantum context switch throw;