Skip to content

Commit 04ca8bb

Browse files
committed
ci: Remove MinGW boost-regex library build step
boost-regex library for MinGW-w64 is now provided as part of the sdk-build docker image mingw-w64-win32 toolchain. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent 2b03431 commit 04ca8bb

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -505,36 +505,6 @@ jobs:
505505
if [ "${{ matrix.host.name }}" == "windows-x86_64" ]; then
506506
# Make MinGW-w64 win32 cross toolchain available in PATH
507507
echo "/opt/mingw-w64-win32/bin" >> $GITHUB_PATH
508-
export PATH="/opt/mingw-w64-win32/bin:$PATH"
509-
510-
# Build and install libboost-regex for MinGW-w64 host
511-
## Check out Boost library source code
512-
mkdir -p ${WORKSPACE}/boost
513-
pushd ${WORKSPACE}/boost
514-
515-
git clone \
516-
--branch boost-1.73.0 --depth 1 \
517-
https://github.com/boostorg/boost.git \
518-
src
519-
520-
cd src
521-
git submodule update --init --depth 1
522-
523-
## Bootstrap boost library build system with MinGW-w64 compiler
524-
./bootstrap.sh --with-toolset=gcc --with-libraries=regex --without-icu
525-
526-
sed -i \
527-
's/using gcc ;/using gcc : mingw : x86_64-w64-mingw32-g++ ;/g' \
528-
project-config.jam
529-
530-
## Build and install boost-regex library
531-
./b2 install \
532-
toolset=gcc-mingw link=static threading=multi variant=release \
533-
--prefix=/usr/x86_64-w64-mingw32
534-
535-
## Clean up to reduce disk usage
536-
popd
537-
rm -rf ${WORKSPACE}/boost
538508
fi
539509
540510
# Set environment variables

0 commit comments

Comments
 (0)