Skip to content

Commit b51de1a

Browse files
committed
Test --with-regex in ci.yml
1 parent 3e3d289 commit b51de1a

1 file changed

Lines changed: 25 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,15 @@ jobs:
106106
file -E ~/.local/lib/cmake/boost_system-*/boost_system-config.cmake
107107
file -E ~/.local/lib/cmake/boost_system-*/boost_system-config-version.cmake
108108
109-
b2-check-cmake-use-posix:
109+
b2-cmake-tool-posix:
110+
strategy:
111+
fail-fast: false
112+
matrix:
113+
tool:
114+
- boostdep
115+
- inspect
116+
- quickbook
117+
110118
runs-on: ubuntu-latest
111119

112120
steps:
@@ -117,14 +125,22 @@ jobs:
117125
- name: Install Boost
118126
run: |
119127
./bootstrap.sh
120-
./b2 -j3 --prefix=$HOME/.local install
128+
./b2 -j3 --prefix=$HOME/.local --with-filesystem --with-regex --with-program_options install
121129
122-
- name: Build Quickbook with CMake
130+
- name: Build tool with CMake
123131
run: |
124-
cmake -S tools/quickbook -B __build__ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/.local
132+
cmake -S tools/${{matrix.tool}} -B __build__ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/.local
125133
cmake --build __build__ --target install
126134
127-
b2-check-cmake-use-windows:
135+
b2-cmake-tool-windows:
136+
strategy:
137+
fail-fast: false
138+
matrix:
139+
tool:
140+
- boostdep
141+
- inspect
142+
- quickbook
143+
128144
runs-on: windows-latest
129145

130146
steps:
@@ -136,11 +152,11 @@ jobs:
136152
shell: cmd
137153
run: |
138154
cmd /c bootstrap
139-
b2 -j3 install
155+
b2 -j3 --with-filesystem --with-regex --with-program_options install
140156
141-
- name: Build Quickbook with CMake
157+
- name: Build tool with CMake
142158
run: |
143-
cmake -S tools/quickbook -B __build__ -DBoost_ROOT=C:/Boost -DCMAKE_INSTALL_PREFIX=C:/usr/local
159+
cmake -S tools/${{matrix.tool}} -B __build__ -DBoost_ROOT=C:/Boost -DCMAKE_INSTALL_PREFIX=C:/usr/local
144160
cmake --build __build__ --target install --config Release
145161
146162
b2-cmake-use-lib-posix:
@@ -157,7 +173,7 @@ jobs:
157173
- program_options
158174
- python
159175
- random
160-
#- regex
176+
- regex
161177
- serialization
162178
- system
163179
- test

0 commit comments

Comments
 (0)