File tree 2 files changed +8
-12
lines changed
2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -239,13 +239,13 @@ build:fedora-24:
239
239
# #
240
240
241
241
.generic_win_template : &generic_win_template
242
- image : ubuntu:xenial
242
+ image : ubuntu:bionic
243
243
before_script :
244
244
- 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
247
247
- 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
249
249
250
250
.build_win_template : &build_win_template
251
251
<< : *generic_win_template
Original file line number Diff line number Diff line change @@ -17,17 +17,13 @@ if [[ $PLATFORM == "Unix" ]] || [[ ! -z "${CLANG_TIDY}" ]]; then
17
17
install_macosx_deps
18
18
fi
19
19
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
23
21
# 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
25
23
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
29
25
sed -e " s|%PREFIX%|x86_64-w64-mingw32|" \
30
26
-e " s|%ROOTPATH%|/usr/x86_64-w64-mingw32|" \
31
27
< 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
33
29
fi
You can’t perform that action at this time.
0 commit comments