2828 standard : [ c++20 ]
2929 suite : [ github_ci_block_1, github_ci_block_2 ]
3030 steps :
31- - uses : actions/checkout@v4
31+ - uses : actions/checkout@v6
3232 with :
3333 fetch-depth : ' 0'
3434 - name : Set TOOLSET
8686 compiler : [ g++-13, clang++-19 ]
8787 standard : [ c++14, c++17, c++20, c++23 ]
8888 steps :
89- - uses : actions/checkout@v4
89+ - uses : actions/checkout@v6
9090 with :
9191 fetch-depth : ' 0'
9292 - name : Set TOOLSET
@@ -145,7 +145,7 @@ jobs:
145145 standard : [ 14, 17, 20 ]
146146 suite : [ github_ci_block_1, github_ci_block_2 ]
147147 steps :
148- - uses : actions/checkout@v4
148+ - uses : actions/checkout@v6
149149 with :
150150 fetch-depth : ' 0'
151151 - name : Checkout main boost
@@ -188,7 +188,7 @@ jobs:
188188 standard : [ 14 ]
189189 suite : [ github_ci_block_1, github_ci_block_2 ]
190190 steps :
191- - uses : actions/checkout@v4
191+ - uses : actions/checkout@v6
192192 with :
193193 fetch-depth : ' 0'
194194 - name : Checkout main boost
@@ -231,7 +231,7 @@ jobs:
231231 standard : [ 14, 17, latest ]
232232 suite : [ github_ci_block_1, github_ci_block_2 ]
233233 steps :
234- - uses : actions/checkout@v4
234+ - uses : actions/checkout@v6
235235 with :
236236 fetch-depth : ' 0'
237237 - name : Checkout main boost
@@ -271,7 +271,7 @@ jobs:
271271 env :
272272 TOOLSET : gcc
273273 steps :
274- - uses : actions/checkout@v4
274+ - uses : actions/checkout@v6
275275 with :
276276 fetch-depth : ' 0'
277277 - name : Install Cygwin
@@ -305,7 +305,7 @@ jobs:
305305 matrix :
306306 compiler : [ g++-13 ]
307307 steps :
308- - uses : actions/checkout@v4
308+ - uses : actions/checkout@v6
309309 with :
310310 fetch-depth : ' 0'
311311 - name : Add repository
@@ -345,7 +345,7 @@ jobs:
345345 matrix :
346346 compiler : [ clang++-19 ]
347347 steps :
348- - uses : actions/checkout@v4
348+ - uses : actions/checkout@v6
349349 with :
350350 fetch-depth : ' 0'
351351 - name : Add repository
@@ -387,7 +387,7 @@ jobs:
387387 standard : [ c++14, c++17, c++20, c++23 ]
388388 suite : [ github_ci_block_1, github_ci_block_2 ]
389389 steps :
390- - uses : actions/checkout@v4
390+ - uses : actions/checkout@v6
391391 with :
392392 fetch-depth : ' 0'
393393 - name : Set TOOLSET
@@ -448,7 +448,7 @@ jobs:
448448 runs-on : ${{matrix.os}}
449449
450450 steps :
451- - uses : actions/checkout@v4
451+ - uses : actions/checkout@v6
452452
453453 - name : Install packages
454454 if : matrix.install
@@ -486,6 +486,227 @@ jobs:
486486 cd ../boost-root/__build__
487487 cmake --build . --target tests
488488
489+ posix-cmake-subdir :
490+ strategy :
491+ fail-fast : false
492+ matrix :
493+ include :
494+ - os : ubuntu-22.04
495+ - os : ubuntu-24.04
496+ - os : macos-15
497+
498+ runs-on : ${{matrix.os}}
499+
500+ steps :
501+ - uses : actions/checkout@v6
502+
503+ - name : Use library with add_subdirectory (header-only)
504+ run : |
505+ cd test/cmake_subdir_test
506+ mkdir __build__ && cd __build__
507+ cmake ..
508+ cmake --build .
509+ ctest --output-on-failure --no-tests=error
510+
511+ posix-cmake-subdir-legacy :
512+ strategy :
513+ fail-fast : false
514+ matrix :
515+ include :
516+ - os : ubuntu-22.04
517+ - os : ubuntu-24.04
518+ - os : macos-15
519+
520+ runs-on : ${{matrix.os}}
521+
522+ steps :
523+ - uses : actions/checkout@v6
524+
525+ - name : Setup Boost
526+ run : |
527+ echo GITHUB_REPOSITORY: $GITHUB_REPOSITORY
528+ LIBRARY=${GITHUB_REPOSITORY#*/}
529+ echo LIBRARY: $LIBRARY
530+ echo "LIBRARY=$LIBRARY" >> $GITHUB_ENV
531+ echo GITHUB_BASE_REF: $GITHUB_BASE_REF
532+ echo GITHUB_REF: $GITHUB_REF
533+ REF=${GITHUB_BASE_REF:-$GITHUB_REF}
534+ REF=${REF#refs/heads/}
535+ echo REF: $REF
536+ BOOST_BRANCH=develop && [ "$REF" == "master" ] && BOOST_BRANCH=master || true
537+ echo BOOST_BRANCH: $BOOST_BRANCH
538+ cd ..
539+ git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
540+ cd boost-root
541+ mkdir -p libs/$LIBRARY
542+ cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY
543+ git submodule update --init tools/boostdep
544+ python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" $LIBRARY
545+
546+ - name : Use library with add_subdirectory (legacy compiled)
547+ run : |
548+ cd ../boost-root/libs/$LIBRARY/test/cmake_subdir_test_legacy
549+ mkdir __build__ && cd __build__
550+ cmake ..
551+ cmake --build .
552+ ctest --output-on-failure --no-tests=error
553+
554+ posix-cmake-install :
555+ strategy :
556+ fail-fast : false
557+ matrix :
558+ include :
559+ - os : macos-15
560+
561+ runs-on : ${{matrix.os}}
562+
563+ steps :
564+ - uses : actions/checkout@v6
565+
566+ - name : Setup Boost
567+ run : |
568+ echo GITHUB_REPOSITORY: $GITHUB_REPOSITORY
569+ LIBRARY=${GITHUB_REPOSITORY#*/}
570+ echo LIBRARY: $LIBRARY
571+ echo "LIBRARY=$LIBRARY" >> $GITHUB_ENV
572+ echo GITHUB_BASE_REF: $GITHUB_BASE_REF
573+ echo GITHUB_REF: $GITHUB_REF
574+ REF=${GITHUB_BASE_REF:-$GITHUB_REF}
575+ REF=${REF#refs/heads/}
576+ echo REF: $REF
577+ BOOST_BRANCH=develop && [ "$REF" == "master" ] && BOOST_BRANCH=master || true
578+ echo BOOST_BRANCH: $BOOST_BRANCH
579+ cd ..
580+ git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
581+ cd boost-root
582+ mkdir -p libs/$LIBRARY
583+ cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY
584+ git submodule update --init tools/boostdep
585+ python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" $LIBRARY
586+
587+ - name : Configure
588+ run : |
589+ cd ../boost-root
590+ mkdir __build__ && cd __build__
591+ cmake -DBOOST_INCLUDE_LIBRARIES=$LIBRARY -DCMAKE_INSTALL_PREFIX=~/.local ..
592+
593+ - name : Install
594+ run : |
595+ cd ../boost-root/__build__
596+ cmake --build . --target install
597+
598+ - name : Use the installed library (header-only)
599+ run : |
600+ cd ../boost-root/libs/$LIBRARY/test/cmake_install_test
601+ mkdir __build__ && cd __build__
602+ cmake -DCMAKE_INSTALL_PREFIX=~/.local ..
603+ cmake --build .
604+ ctest --output-on-failure --no-tests=error
605+
606+ posix-cmake-install-legacy-static :
607+ strategy :
608+ fail-fast : false
609+ matrix :
610+ include :
611+ - os : macos-15
612+
613+ runs-on : ${{matrix.os}}
614+
615+ steps :
616+ - uses : actions/checkout@v6
617+
618+ - name : Setup Boost
619+ run : |
620+ echo GITHUB_REPOSITORY: $GITHUB_REPOSITORY
621+ LIBRARY=${GITHUB_REPOSITORY#*/}
622+ echo LIBRARY: $LIBRARY
623+ echo "LIBRARY=$LIBRARY" >> $GITHUB_ENV
624+ echo GITHUB_BASE_REF: $GITHUB_BASE_REF
625+ echo GITHUB_REF: $GITHUB_REF
626+ REF=${GITHUB_BASE_REF:-$GITHUB_REF}
627+ REF=${REF#refs/heads/}
628+ echo REF: $REF
629+ BOOST_BRANCH=develop && [ "$REF" == "master" ] && BOOST_BRANCH=master || true
630+ echo BOOST_BRANCH: $BOOST_BRANCH
631+ cd ..
632+ git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
633+ cd boost-root
634+ mkdir -p libs/$LIBRARY
635+ cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY
636+ git submodule update --init tools/boostdep
637+ python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" $LIBRARY
638+
639+ - name : Configure
640+ run : |
641+ cd ../boost-root
642+ mkdir __build__ && cd __build__
643+ cmake -DBOOST_INCLUDE_LIBRARIES=$LIBRARY -DBOOST_MATH_BUILD_WITH_LEGACY_FUNCTIONS=ON -DCMAKE_INSTALL_PREFIX=~/.local ..
644+
645+ - name : Install
646+ run : |
647+ cd ../boost-root/__build__
648+ cmake --build . --target install
649+
650+ - name : Use the installed library (legacy compiled)
651+ run : |
652+ cd ../boost-root/libs/$LIBRARY/test/cmake_install_test_legacy
653+ mkdir __build__ && cd __build__
654+ cmake -DCMAKE_INSTALL_PREFIX=~/.local ..
655+ cmake --build .
656+ ctest --output-on-failure --no-tests=error
657+
658+ posix-cmake-install-legacy-shared :
659+ strategy :
660+ fail-fast : false
661+ matrix :
662+ include :
663+ - os : macos-15
664+
665+ runs-on : ${{matrix.os}}
666+
667+ steps :
668+ - uses : actions/checkout@v6
669+
670+ - name : Setup Boost
671+ run : |
672+ echo GITHUB_REPOSITORY: $GITHUB_REPOSITORY
673+ LIBRARY=${GITHUB_REPOSITORY#*/}
674+ echo LIBRARY: $LIBRARY
675+ echo "LIBRARY=$LIBRARY" >> $GITHUB_ENV
676+ echo GITHUB_BASE_REF: $GITHUB_BASE_REF
677+ echo GITHUB_REF: $GITHUB_REF
678+ REF=${GITHUB_BASE_REF:-$GITHUB_REF}
679+ REF=${REF#refs/heads/}
680+ echo REF: $REF
681+ BOOST_BRANCH=develop && [ "$REF" == "master" ] && BOOST_BRANCH=master || true
682+ echo BOOST_BRANCH: $BOOST_BRANCH
683+ cd ..
684+ git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
685+ cd boost-root
686+ mkdir -p libs/$LIBRARY
687+ cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY
688+ git submodule update --init tools/boostdep
689+ python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" $LIBRARY
690+
691+ - name : Configure
692+ run : |
693+ cd ../boost-root
694+ mkdir __build__ && cd __build__
695+ cmake -DBOOST_INCLUDE_LIBRARIES=$LIBRARY -DBOOST_MATH_BUILD_WITH_LEGACY_FUNCTIONS=ON -DCMAKE_INSTALL_PREFIX=~/.local -DBUILD_SHARED_LIBS=ON ..
696+
697+ - name : Install
698+ run : |
699+ cd ../boost-root/__build__
700+ cmake --build . --target install
701+
702+ - name : Use the installed library (legacy compiled)
703+ run : |
704+ cd ../boost-root/libs/$LIBRARY/test/cmake_install_test_legacy
705+ mkdir __build__ && cd __build__
706+ cmake -DCMAKE_INSTALL_PREFIX=~/.local ..
707+ cmake --build .
708+ ctest --output-on-failure --no-tests=error
709+
489710 sycl-cmake-test :
490711 strategy :
491712 fail-fast : false
@@ -512,7 +733,7 @@ jobs:
512733 printenv >> $GITHUB_ENV
513734
514735 - name : checkout project code
515- uses : actions/checkout@v4
736+ uses : actions/checkout@v6
516737
517738 - name : Install Packages
518739 run : |
@@ -570,7 +791,7 @@ jobs:
570791 echo "Installed cuda version is: ${{steps.cuda-toolkit.outputs.cuda}}"+
571792 echo "Cuda install location: ${{steps.cuda-toolkit.outputs.CUDA_PATH}}"
572793 nvcc -V
573- - uses : actions/checkout@v4
794+ - uses : actions/checkout@v6
574795
575796 - name : Install Packages
576797 run : |
@@ -599,7 +820,7 @@ jobs:
599820 run : |
600821 cd ../boost-root
601822 mkdir __build__ && cd __build__
602- cmake -DBOOST_INCLUDE_LIBRARIES=$LIBRARY -DBUILD_TESTING=ON -DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc -DBOOST_MATH_ENABLE_CUDA=1 -DCMAKE_CUDA_ARCHITECTURES=86 -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-12.8 ..
823+ cmake -DBOOST_INCLUDE_LIBRARIES=$LIBRARY -DBUILD_TESTING=ON -DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc -DBOOST_MATH_ENABLE_CUDA=1 -DCMAKE_CUDA_ARCHITECTURES="75;86" -DCMAKE_CUDA_STANDARD=17 ..
603824 - name : Build tests
604825 run : |
605826 cd ../boost-root/__build__
0 commit comments