99 branches :
1010 - master
1111 - develop
12+ - feature/**
13+ - cve-*
1214 pull_request :
1315 release :
1416 types : [published, created, edited]
17+
18+ env :
19+ UBSAN_OPTIONS : print_stacktrace=1
20+
1521jobs :
16- ubuntu-focal :
17- runs-on : ubuntu-20 .04
22+ ubuntu-jammy :
23+ runs-on : ubuntu-22 .04
1824 strategy :
1925 fail-fast : false
2026 matrix :
21- compiler : [ g++-9 , g++-10, clang ++-9, clang++-10 ]
27+ compiler : [ g++-11 , g++-12, g ++-13 ]
2228 standard : [ c++11, c++14, c++17, c++2a ]
2329 steps :
2430 - uses : actions/checkout@v2
3440 - name : Add repository
3541 run : sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
3642 - name : Install packages
37- run : sudo apt install g++-9 g++-10 clang-9 clang-10 libicu-dev
43+ run : sudo apt install g++-11 g++-12 g++-13
3844 - name : Checkout main boost
3945 run : git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
4046 - name : Update tools/boostdep
@@ -55,14 +61,11 @@ jobs:
5561 - name : Generate user config
5662 run : ' echo "using $TOOLSET : : ${{ matrix.compiler }} : <cxxflags>-std=${{ matrix.standard }} ;" > ~/user-config.jam'
5763 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
6164 - name : Config info
62- run : ./config_info_travis
65+ run : ../../../b2 print_config_info toolset=$TOOLSET
6366 working-directory : ../boost-root/libs/config/test
6467 - name : Test
65- run : ../../../b2 toolset=$TOOLSET
68+ run : ../../../b2 toolset=$TOOLSET variant=debug,release ${{ startsWith(matrix.compiler, 'g++-13') && 'address-sanitizer=norecover undefined-sanitizer=norecover' || '' }}
6669 working-directory : ../boost-root/libs/regex/test
6770 ubuntu-jammy-standalone :
6871 runs-on : ubuntu-22.04
@@ -89,12 +92,12 @@ jobs:
8992 - name : Test
9093 run : ${{ matrix.compiler }} -std=${{ matrix.standard }} -I../../include *.cpp ../../src/*.cpp -o regress && ./regress
9194 working-directory : ./test/regress
92- ubuntu-bionic :
93- runs-on : ubuntu-18 .04
95+ ubuntu-jammy-clang :
96+ runs-on : ubuntu-22 .04
9497 strategy :
9598 fail-fast : false
9699 matrix :
97- compiler : [ g++-7, g++-8, clang++-7, clang++-8 ]
100+ compiler : [ clang++-15 ]
98101 standard : [ c++11, c++14, c++17 ]
99102 steps :
100103 - uses : actions/checkout@v2
@@ -110,7 +113,7 @@ jobs:
110113 - name : Add repository
111114 run : sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
112115 - name : Install packages
113- run : sudo apt install g++-7 g++-8 clang-7 clang-8 libicu-dev
116+ run : sudo apt install clang-15
114117 - name : Checkout main boost
115118 run : git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
116119 - name : Update tools/boostdep
@@ -131,15 +134,95 @@ jobs:
131134 - name : Generate user config
132135 run : ' echo "using $TOOLSET : : ${{ matrix.compiler }} : <cxxflags>-std=${{ matrix.standard }} ;" > ~/user-config.jam'
133136 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
137137 - name : Config info
138- run : ./config_info_travis
138+ run : ../../../b2 print_config_info toolset=$TOOLSET
139139 working-directory : ../boost-root/libs/config/test
140140 - name : Test
141141 run : ../../../b2 toolset=$TOOLSET define=CI_SUPPRESS_KNOWN_ISSUES define=SLOW_COMPILER
142142 working-directory : ../boost-root/libs/regex/test
143+ ubuntu-jammy-clang-18-modules :
144+ runs-on : ubuntu-22.04
145+ steps :
146+ - uses : actions/checkout@v2
147+ with :
148+ fetch-depth : ' 0'
149+ - uses : mstachniuk/ci-skip@v1
150+ with :
151+ commit-filter : ' [skip ci];[ci skip];[CI SKIP];[SKIP CI];***CI SKIP***;***SKIP CI***;[windows];[Windows];[WINDOWS];[apple];[Apple];[APPLE]'
152+ commit-filter-separator : ' ;'
153+ fail-fast : true
154+ - name : Grab install script
155+ run : wget https://apt.llvm.org/llvm.sh && chmod u+x llvm.sh
156+ - name : Install clang 18 packages
157+ run : sudo ./llvm.sh 18 && clang++-18 --version
158+ - name : Checkout main boost
159+ run : git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
160+ - name : Update tools/boostdep
161+ run : git submodule update --init tools/boostdep
162+ working-directory : ../boost-root
163+ - name : Copy files
164+ run : cp -r $GITHUB_WORKSPACE/* libs/regex
165+ working-directory : ../boost-root
166+ - name : Install deps
167+ run : python tools/boostdep/depinst/depinst.py -I example -g "--jobs 3" regex
168+ working-directory : ../boost-root
169+ - name : Bootstrap
170+ run : ./bootstrap.sh
171+ working-directory : ../boost-root
172+ - name : Generate headers
173+ run : ./b2 headers
174+ working-directory : ../boost-root
175+ - name : Test
176+ run : CXX=clang++-18 LIBRARIES="-licuuc -licudata -licui18n" ./test_clang.sh
177+ working-directory : ../boost-root/libs/regex/test/module
178+ ubuntu-noble-clang :
179+ runs-on : ubuntu-24.04
180+ strategy :
181+ fail-fast : false
182+ matrix :
183+ compiler : [ clang++-16, clang++-17, clang++-18 ]
184+ standard : [ c++11, c++14, c++17, c++20 ]
185+ steps :
186+ - uses : actions/checkout@v2
187+ with :
188+ fetch-depth : ' 0'
189+ - uses : mstachniuk/ci-skip@v1
190+ with :
191+ commit-filter : ' [skip ci];[ci skip];[CI SKIP];[SKIP CI];***CI SKIP***;***SKIP CI***;[windows];[Windows];[WINDOWS];[apple];[Apple];[APPLE]'
192+ commit-filter-separator : ' ;'
193+ fail-fast : true
194+ - name : Set TOOLSET
195+ run : echo ${{ matrix.compiler }} | awk '/^g/ { print "TOOLSET=gcc" } /^clang/ { print "TOOLSET=clang" }' >> $GITHUB_ENV
196+ - name : Add repository
197+ run : sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
198+ - name : Install packages
199+ run : sudo apt install clang-16 clang-17 clang-18
200+ - name : Checkout main boost
201+ run : git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
202+ - name : Update tools/boostdep
203+ run : git submodule update --init tools/boostdep
204+ working-directory : ../boost-root
205+ - name : Copy files
206+ run : cp -r $GITHUB_WORKSPACE/* libs/regex
207+ working-directory : ../boost-root
208+ - name : Install deps
209+ run : python tools/boostdep/depinst/depinst.py -I example -g "--jobs 3" regex
210+ working-directory : ../boost-root
211+ - name : Bootstrap
212+ run : ./bootstrap.sh
213+ working-directory : ../boost-root
214+ - name : Generate headers
215+ run : ./b2 headers
216+ working-directory : ../boost-root
217+ - name : Generate user config
218+ run : ' echo "using $TOOLSET : : ${{ matrix.compiler }} : <cxxflags>-std=${{ matrix.standard }} ;" > ~/user-config.jam'
219+ working-directory : ../boost-root
220+ - name : Config info
221+ run : ../../../b2 print_config_info toolset=$TOOLSET
222+ working-directory : ../boost-root/libs/config/test
223+ - name : Test
224+ 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' || '' }}
225+ working-directory : ../boost-root/libs/regex/test
143226 macos :
144227 runs-on : macos-latest
145228 strategy :
@@ -344,6 +427,9 @@ jobs:
344427 commit-filter : ' [skip ci];[ci skip];[CI SKIP];[SKIP CI];***CI SKIP***;***SKIP CI***;[apple];[Apple];[APPLE];[linux];[Linux];[LINUX]'
345428 commit-filter-separator : ' ;'
346429 fail-fast : true
430+ - uses : TheMrMilchmann/setup-msvc-dev@v3
431+ with :
432+ arch : x64
347433 - name : Checkout main boost
348434 run : git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
349435 - name : Update tools/boostdep
@@ -370,6 +456,9 @@ jobs:
370456 - name : Test
371457 run : ..\..\..\b2 --hash %ARGS%
372458 working-directory : ../boost-root/libs/regex/test
459+ - name : Module Test
460+ run : msvc_test.bat
461+ working-directory : ../boost-root/libs/regex/test/module
373462 ubuntu-cmake-install :
374463 runs-on : ubuntu-20.04
375464 strategy :
0 commit comments