mirror of
https://github.com/minetest/minetest.git
synced 2024-12-22 22:22:23 +01:00
buildbot: Update to newer MinGW gcc 9.2
This commit is contained in:
parent
245876cddb
commit
7908b20dd9
@ -239,13 +239,13 @@ build:fedora-24:
|
|||||||
##
|
##
|
||||||
|
|
||||||
.generic_win_template: &generic_win_template
|
.generic_win_template: &generic_win_template
|
||||||
image: ubuntu:xenial
|
image: ubuntu:bionic
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update -y
|
- apt-get update -y
|
||||||
- apt-get install -y p7zip-full wget unzip git cmake gettext
|
- apt-get install -y wget xz-utils unzip git cmake gettext
|
||||||
- wget http://minetest.kitsunemimi.pw/mingw-w64-${WIN_ARCH}_7.1.1_ubuntu14.04.7z -O mingw.7z > /dev/null
|
- wget -q http://minetest.kitsunemimi.pw/mingw-w64-${WIN_ARCH}_9.2.0_ubuntu18.04.tar.xz -O mingw.tar.xz
|
||||||
- sed -e "s|%PREFIX%|${WIN_ARCH}-w64-mingw32|" -e "s|%ROOTPATH%|/usr/${WIN_ARCH}-w64-mingw32|" < util/travis/toolchain_mingw.cmake.in > ${TOOLCHAIN_OUTPUT}
|
- sed -e "s|%PREFIX%|${WIN_ARCH}-w64-mingw32|" -e "s|%ROOTPATH%|/usr/${WIN_ARCH}-w64-mingw32|" < util/travis/toolchain_mingw.cmake.in > ${TOOLCHAIN_OUTPUT}
|
||||||
- 7z x -y -o/usr mingw.7z > /dev/null
|
- tar -xaf mingw.tar.xz -C /usr
|
||||||
|
|
||||||
.build_win_template: &build_win_template
|
.build_win_template: &build_win_template
|
||||||
<<: *generic_win_template
|
<<: *generic_win_template
|
||||||
|
@ -17,17 +17,13 @@ if [[ $PLATFORM == "Unix" ]] || [[ ! -z "${CLANG_TIDY}" ]]; then
|
|||||||
install_macosx_deps
|
install_macosx_deps
|
||||||
fi
|
fi
|
||||||
elif [[ $PLATFORM == "Win32" ]]; then
|
elif [[ $PLATFORM == "Win32" ]]; then
|
||||||
sudo apt-get update
|
wget http://minetest.kitsunemimi.pw/mingw-w64-i686_9.2.0_ubuntu18.04.tar.xz -O mingw.tar.xz
|
||||||
sudo apt-get install p7zip-full
|
|
||||||
wget http://minetest.kitsunemimi.pw/mingw-w64-i686_7.1.1_ubuntu14.04.7z -O mingw.7z
|
|
||||||
# buildwin32.sh detects the installed toolchain automatically
|
# buildwin32.sh detects the installed toolchain automatically
|
||||||
sudo 7z x -y -o/usr mingw.7z
|
sudo tar -xaf mingw.tar.xz -C /usr
|
||||||
elif [[ $PLATFORM == "Win64" ]]; then
|
elif [[ $PLATFORM == "Win64" ]]; then
|
||||||
sudo apt-get update
|
wget http://minetest.kitsunemimi.pw/mingw-w64-x86_64_9.2.0_ubuntu18.04.tar.xz -O mingw.tar.xz
|
||||||
sudo apt-get install p7zip-full
|
|
||||||
wget http://minetest.kitsunemimi.pw/mingw-w64-x86_64_7.1.1_ubuntu14.04.7z -O mingw.7z
|
|
||||||
sed -e "s|%PREFIX%|x86_64-w64-mingw32|" \
|
sed -e "s|%PREFIX%|x86_64-w64-mingw32|" \
|
||||||
-e "s|%ROOTPATH%|/usr/x86_64-w64-mingw32|" \
|
-e "s|%ROOTPATH%|/usr/x86_64-w64-mingw32|" \
|
||||||
< util/travis/toolchain_mingw.cmake.in > util/buildbot/toolchain_mingw64.cmake
|
< util/travis/toolchain_mingw.cmake.in > util/buildbot/toolchain_mingw64.cmake
|
||||||
sudo 7z x -y -o/usr mingw.7z
|
sudo tar -xaf mingw.tar.xz -C /usr
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user