Skip to content

Commit

Permalink
ci: Use SDK build image MinGW-w64 installation
Browse files Browse the repository at this point in the history
This commit updates the CI workflow to use the more up-to-date MinGW-w64
toolchain from the SDK build Docker image instead of installing the
outdated distro default version.

Signed-off-by: Stephanos Ioannidis <[email protected]>
  • Loading branch information
stephanosio committed Oct 23, 2024
1 parent 11ce031 commit a469b18
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -475,9 +475,9 @@ jobs:
# Install dependencies for cross compilation
if [ "${{ matrix.host.name }}" == "windows-x86_64" ]; then
# Install MinGW-w64 cross toolchain
sudo apt-get install -y binutils-mingw-w64 gcc-mingw-w64 \
g++-mingw-w64
# Make MinGW-w64 win32 cross toolchain available in PATH
echo "/opt/mingw-w64-win32/bin" >> $GITHUB_PATH
export PATH="/opt/mingw-w64-win32/bin:$PATH"
# Build and install libboost-regex for MinGW-w64 host
## Check out Boost library source code
Expand Down Expand Up @@ -833,9 +833,8 @@ jobs:
# Install dependencies for cross compilation
if [ "${{ matrix.host.name }}" == "windows-x86_64" ]; then
# Install MinGW-w64 cross toolchain
sudo apt-get install -y binutils-mingw-w64 gcc-mingw-w64 \
g++-mingw-w64
# Make MinGW-w64 posix cross toolchain available in PATH
echo "/opt/mingw-w64-posix/bin" >> $GITHUB_PATH
fi
# Set environment variables
Expand Down

0 comments on commit a469b18

Please sign in to comment.