99 branches :
1010 - master
1111 - develop
12+ - feature/**
1213 pull_request :
1314 release :
1415 types : [published, created, edited]
16+
17+ env :
18+ UBSAN_OPTIONS : print_stacktrace=1
19+
1520jobs :
16- ubuntu-focal :
17- runs-on : ubuntu-20 .04
21+ ubuntu-jammy :
22+ runs-on : ubuntu-22 .04
1823 strategy :
1924 fail-fast : false
2025 matrix :
21- compiler : [ g++-9 , g++-10, clang ++-9, clang++-10 ]
26+ compiler : [ g++-11 , g++-12, g ++-13 ]
2227 standard : [ c++11, c++14, c++17, c++2a ]
2328 steps :
2429 - uses : actions/checkout@v2
3439 - name : Add repository
3540 run : sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
3641 - name : Install packages
37- run : sudo apt install g++-9 g++-10 clang-9 clang-10 libicu-dev
42+ run : sudo apt install g++-11 g++-12 g++-13
3843 - name : Checkout main boost
3944 run : git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
4045 - name : Update tools/boostdep
@@ -55,14 +60,11 @@ jobs:
5560 - name : Generate user config
5661 run : ' echo "using $TOOLSET : : ${{ matrix.compiler }} : <cxxflags>-std=${{ matrix.standard }} ;" > ~/user-config.jam'
5762 working-directory : ../boost-root
58- - name : Config info install
59- run : ../../../b2 config_info_travis_install toolset=$TOOLSET
60- working-directory : ../boost-root/libs/config/test
6163 - name : Config info
62- run : ./config_info_travis
64+ run : ../../../b2 print_config_info toolset=$TOOLSET
6365 working-directory : ../boost-root/libs/config/test
6466 - name : Test
65- run : ../../../b2 toolset=$TOOLSET
67+ run : ../../../b2 toolset=$TOOLSET variant=debug,release ${{ startsWith(matrix.compiler, 'g++-13') && 'address-sanitizer=norecover undefined-sanitizer=norecover' || '' }}
6668 working-directory : ../boost-root/libs/regex/test
6769 ubuntu-jammy-standalone :
6870 runs-on : ubuntu-22.04
@@ -89,12 +91,12 @@ jobs:
8991 - name : Test
9092 run : ${{ matrix.compiler }} -std=${{ matrix.standard }} -I../../include *.cpp ../../src/*.cpp -o regress && ./regress
9193 working-directory : ./test/regress
92- ubuntu-bionic :
93- runs-on : ubuntu-18 .04
94+ ubuntu-jammy-clang :
95+ runs-on : ubuntu-22 .04
9496 strategy :
9597 fail-fast : false
9698 matrix :
97- compiler : [ g++-7, g++-8, clang++-7, clang++-8 ]
99+ compiler : [ clang++-15 ]
98100 standard : [ c++11, c++14, c++17 ]
99101 steps :
100102 - uses : actions/checkout@v2
@@ -110,7 +112,7 @@ jobs:
110112 - name : Add repository
111113 run : sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
112114 - name : Install packages
113- run : sudo apt install g++-7 g++-8 clang-7 clang-8 libicu-dev
115+ run : sudo apt install clang-15
114116 - name : Checkout main boost
115117 run : git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
116118 - name : Update tools/boostdep
@@ -131,15 +133,95 @@ jobs:
131133 - name : Generate user config
132134 run : ' echo "using $TOOLSET : : ${{ matrix.compiler }} : <cxxflags>-std=${{ matrix.standard }} ;" > ~/user-config.jam'
133135 working-directory : ../boost-root
134- - name : Config info install
135- run : ../../../b2 config_info_travis_install toolset=$TOOLSET
136- working-directory : ../boost-root/libs/config/test
137136 - name : Config info
138- run : ./config_info_travis
137+ run : ../../../b2 print_config_info toolset=$TOOLSET
139138 working-directory : ../boost-root/libs/config/test
140139 - name : Test
141140 run : ../../../b2 toolset=$TOOLSET define=CI_SUPPRESS_KNOWN_ISSUES define=SLOW_COMPILER
142141 working-directory : ../boost-root/libs/regex/test
142+ ubuntu-jammy-clang-18-modules :
143+ runs-on : ubuntu-22.04
144+ steps :
145+ - uses : actions/checkout@v2
146+ with :
147+ fetch-depth : ' 0'
148+ - uses : mstachniuk/ci-skip@v1
149+ with :
150+ commit-filter : ' [skip ci];[ci skip];[CI SKIP];[SKIP CI];***CI SKIP***;***SKIP CI***;[windows];[Windows];[WINDOWS];[apple];[Apple];[APPLE]'
151+ commit-filter-separator : ' ;'
152+ fail-fast : true
153+ - name : Grab install script
154+ run : wget https://apt.llvm.org/llvm.sh && chmod u+x llvm.sh
155+ - name : Install clang 18 packages
156+ run : sudo ./llvm.sh 18 && clang++-18 --version
157+ - name : Checkout main boost
158+ run : git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
159+ - name : Update tools/boostdep
160+ run : git submodule update --init tools/boostdep
161+ working-directory : ../boost-root
162+ - name : Copy files
163+ run : cp -r $GITHUB_WORKSPACE/* libs/regex
164+ working-directory : ../boost-root
165+ - name : Install deps
166+ run : python tools/boostdep/depinst/depinst.py -I example -g "--jobs 3" regex
167+ working-directory : ../boost-root
168+ - name : Bootstrap
169+ run : ./bootstrap.sh
170+ working-directory : ../boost-root
171+ - name : Generate headers
172+ run : ./b2 headers
173+ working-directory : ../boost-root
174+ - name : Test
175+ run : CXX=clang++-18 LIBRARIES="-licuuc -licudata -licui18n" ./test_clang.sh
176+ working-directory : ../boost-root/libs/regex/test/module
177+ ubuntu-noble-clang :
178+ runs-on : ubuntu-24.04
179+ strategy :
180+ fail-fast : false
181+ matrix :
182+ compiler : [ clang++-16, clang++-17, clang++-18 ]
183+ standard : [ c++11, c++14, c++17, c++20 ]
184+ steps :
185+ - uses : actions/checkout@v2
186+ with :
187+ fetch-depth : ' 0'
188+ - uses : mstachniuk/ci-skip@v1
189+ with :
190+ commit-filter : ' [skip ci];[ci skip];[CI SKIP];[SKIP CI];***CI SKIP***;***SKIP CI***;[windows];[Windows];[WINDOWS];[apple];[Apple];[APPLE]'
191+ commit-filter-separator : ' ;'
192+ fail-fast : true
193+ - name : Set TOOLSET
194+ run : echo ${{ matrix.compiler }} | awk '/^g/ { print "TOOLSET=gcc" } /^clang/ { print "TOOLSET=clang" }' >> $GITHUB_ENV
195+ - name : Add repository
196+ run : sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
197+ - name : Install packages
198+ run : sudo apt install clang-16 clang-17 clang-18
199+ - name : Checkout main boost
200+ run : git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
201+ - name : Update tools/boostdep
202+ run : git submodule update --init tools/boostdep
203+ working-directory : ../boost-root
204+ - name : Copy files
205+ run : cp -r $GITHUB_WORKSPACE/* libs/regex
206+ working-directory : ../boost-root
207+ - name : Install deps
208+ run : python tools/boostdep/depinst/depinst.py -I example -g "--jobs 3" regex
209+ working-directory : ../boost-root
210+ - name : Bootstrap
211+ run : ./bootstrap.sh
212+ working-directory : ../boost-root
213+ - name : Generate headers
214+ run : ./b2 headers
215+ working-directory : ../boost-root
216+ - name : Generate user config
217+ run : ' echo "using $TOOLSET : : ${{ matrix.compiler }} : <cxxflags>-std=${{ matrix.standard }} ;" > ~/user-config.jam'
218+ working-directory : ../boost-root
219+ - name : Config info
220+ run : ../../../b2 print_config_info toolset=$TOOLSET
221+ working-directory : ../boost-root/libs/config/test
222+ - name : Test
223+ run : ../../../b2 toolset=$TOOLSET define=CI_SUPPRESS_KNOWN_ISSUES define=SLOW_COMPILER variant=debug,release ${{ startsWith(matrix.compiler, 'clang++-18') && 'address-sanitizer=norecover undefined-sanitizer=norecover' || '' }}
224+ working-directory : ../boost-root/libs/regex/test
143225 macos :
144226 runs-on : macos-latest
145227 strategy :
@@ -344,6 +426,9 @@ jobs:
344426 commit-filter : ' [skip ci];[ci skip];[CI SKIP];[SKIP CI];***CI SKIP***;***SKIP CI***;[apple];[Apple];[APPLE];[linux];[Linux];[LINUX]'
345427 commit-filter-separator : ' ;'
346428 fail-fast : true
429+ - uses : TheMrMilchmann/setup-msvc-dev@v3
430+ with :
431+ arch : x64
347432 - name : Checkout main boost
348433 run : git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
349434 - name : Update tools/boostdep
@@ -370,6 +455,9 @@ jobs:
370455 - name : Test
371456 run : ..\..\..\b2 --hash %ARGS%
372457 working-directory : ../boost-root/libs/regex/test
458+ - name : Module Test
459+ run : msvc_test.bat
460+ working-directory : ../boost-root/libs/regex/test/module
373461 ubuntu-cmake-install :
374462 runs-on : ubuntu-20.04
375463 strategy :
0 commit comments