Skip to content

Commit 28a7d68

Browse files
committed
gha: build - clean up unnecessary boost files for smaller cache footprint
1 parent 618f3dc commit 28a7d68

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/build.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,32 @@ jobs:
206206
cd ${{github.workspace}}/boost_${{env.BOOST_VERSION_UNDERSCORE}}
207207
& .\bootstrap.bat
208208
.\b2 -j8 address-model=64 link=static threading=multi runtime-link=shared --with-system stage
209+
rm -r doc
210+
rm -r libs
211+
rm -r bin.v2
212+
rm -r tools
213+
rm -r more
214+
rm -r boost/phoenix
215+
rm -r boost/geometry
216+
rm -r boost/hana
217+
rm -r boost/graph
218+
rm -r boost/beast
219+
rm -r boost/qvm
220+
rm -r boost/log
221+
rm -r boost/mysql
222+
rm -r boost/compute
223+
rm -r boost/gil
224+
rm -r boost/polygon
225+
rm -r boost/json
226+
rm -r boost/wave
227+
rm -r boost/pfr
228+
rm -r boost/parser
229+
rm -r boost/process
230+
rm -r boost/msm
231+
rm -r boost/vmd
232+
rm -r boost/url
233+
rm -r boost/random
234+
rm -r boost/python
209235
# we need to build boost in order to get the CMake config it seems...
210236

211237
#- if: runner.os == 'Linux'

0 commit comments

Comments
 (0)