Skip to content

Commit 7908b20

Browse files
committedMar 11, 2020
buildbot: Update to newer MinGW gcc 9.2
1 parent 245876c commit 7908b20

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed
 

‎.gitlab-ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -239,13 +239,13 @@ build:fedora-24:
239239
##
240240

241241
.generic_win_template: &generic_win_template
242-
image: ubuntu:xenial
242+
image: ubuntu:bionic
243243
before_script:
244244
- apt-get update -y
245-
- apt-get install -y p7zip-full wget unzip git cmake gettext
246-
- wget http://minetest.kitsunemimi.pw/mingw-w64-${WIN_ARCH}_7.1.1_ubuntu14.04.7z -O mingw.7z > /dev/null
245+
- apt-get install -y wget xz-utils unzip git cmake gettext
246+
- wget -q http://minetest.kitsunemimi.pw/mingw-w64-${WIN_ARCH}_9.2.0_ubuntu18.04.tar.xz -O mingw.tar.xz
247247
- sed -e "s|%PREFIX%|${WIN_ARCH}-w64-mingw32|" -e "s|%ROOTPATH%|/usr/${WIN_ARCH}-w64-mingw32|" < util/travis/toolchain_mingw.cmake.in > ${TOOLCHAIN_OUTPUT}
248-
- 7z x -y -o/usr mingw.7z > /dev/null
248+
- tar -xaf mingw.tar.xz -C /usr
249249

250250
.build_win_template: &build_win_template
251251
<<: *generic_win_template

‎util/travis/before_install.sh

+4-8
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,13 @@ if [[ $PLATFORM == "Unix" ]] || [[ ! -z "${CLANG_TIDY}" ]]; then
1717
install_macosx_deps
1818
fi
1919
elif [[ $PLATFORM == "Win32" ]]; then
20-
sudo apt-get update
21-
sudo apt-get install p7zip-full
22-
wget http://minetest.kitsunemimi.pw/mingw-w64-i686_7.1.1_ubuntu14.04.7z -O mingw.7z
20+
wget http://minetest.kitsunemimi.pw/mingw-w64-i686_9.2.0_ubuntu18.04.tar.xz -O mingw.tar.xz
2321
# buildwin32.sh detects the installed toolchain automatically
24-
sudo 7z x -y -o/usr mingw.7z
22+
sudo tar -xaf mingw.tar.xz -C /usr
2523
elif [[ $PLATFORM == "Win64" ]]; then
26-
sudo apt-get update
27-
sudo apt-get install p7zip-full
28-
wget http://minetest.kitsunemimi.pw/mingw-w64-x86_64_7.1.1_ubuntu14.04.7z -O mingw.7z
24+
wget http://minetest.kitsunemimi.pw/mingw-w64-x86_64_9.2.0_ubuntu18.04.tar.xz -O mingw.tar.xz
2925
sed -e "s|%PREFIX%|x86_64-w64-mingw32|" \
3026
-e "s|%ROOTPATH%|/usr/x86_64-w64-mingw32|" \
3127
< util/travis/toolchain_mingw.cmake.in > util/buildbot/toolchain_mingw64.cmake
32-
sudo 7z x -y -o/usr mingw.7z
28+
sudo tar -xaf mingw.tar.xz -C /usr
3329
fi

0 commit comments

Comments
 (0)
Please sign in to comment.