update script cross compilation (adding message)

This commit is contained in:
AleaJactaEst 2018-03-27 22:40:38 +02:00
parent 59bc3da395
commit 519811fd91
2 changed files with 34 additions and 2 deletions

View file

@ -24,6 +24,7 @@
# gitlab-runner exec docker --kubernetes-memory-limit='10g' --timeout=3600 'Linux client archlinux build' # gitlab-runner exec docker --kubernetes-memory-limit='10g' --timeout=3600 'Linux client archlinux build'
# gitlab-runner exec docker --kubernetes-memory-limit='10g' --timeout=3600 'Linux client fedora_amd64_27 build' # gitlab-runner exec docker --kubernetes-memory-limit='10g' --timeout=3600 'Linux client fedora_amd64_27 build'
# gitlab-runner exec docker --kubernetes-memory-limit='10g' --timeout=3600 'Linux client ubuntu_amd64_17_10 build' # gitlab-runner exec docker --kubernetes-memory-limit='10g' --timeout=3600 'Linux client ubuntu_amd64_17_10 build'
# gitlab-runner exec docker --kubernetes-memory-limit='10g' --timeout=3600 'Windows client build'
stages: stages:
- build - build
@ -520,6 +521,37 @@ Linux client archlinux build:
# Gentoo Client # Gentoo Client
# Windows Client
Windows client build:
stage: build
tags:
- Docker
image: amd64/debian:9
script:
# Prepare environment
- dpkg --add-architecture i386
- apt-get update
- apt-get dist-upgrade -y
- apt-get install -y
p7zip-full
binfmt-support
libc6-i386
libncurses5:i386
libfreetype6:i386
bzip2
wget
# Action
- mkdir -p wincross
- builder/cross_win32.sh
- ls wincross
- ls wincross/win
artifacts:
name: "khanat-client-windows-$CI_COMMIT_REF_NAME"
paths:
- wincross
expire_in: 2 week
# Job de compilation pour OSX # Job de compilation pour OSX
OSX client build: OSX client build:
stage: build stage: build

View file

@ -17,7 +17,7 @@ download()
if [ ! -e $URLPREFIX$PACK$URLSUFFIX ] if [ ! -e $URLPREFIX$PACK$URLSUFFIX ]
then then
echo "Downloading $PACK..." echo "Downloading $PACK... [$URL$URLPREFIX$PACK$URLSUFFIX]"
wget -q $URL$URLPREFIX$PACK$URLSUFFIX wget -q $URL$URLPREFIX$PACK$URLSUFFIX
fi fi
@ -116,7 +116,7 @@ then
export WINEDIR=$BASEWINEDIR/$WINEVERSION/bin export WINEDIR=$BASEWINEDIR/$WINEVERSION/bin
if [ ! -d $WINEDIR ] if [ ! -d $WINEDIR ]
then then
echo "Downloading WINE $WINEVERSION..." echo "Downloading WINE $WINEVERSION... [http://www.playonlinux.com/wine/binaries/linux-amd64/PlayOnLinux-wine-$WINEVERSION-linux-amd64.pol]"
wget -q http://www.playonlinux.com/wine/binaries/linux-amd64/PlayOnLinux-wine-$WINEVERSION-linux-amd64.pol wget -q http://www.playonlinux.com/wine/binaries/linux-amd64/PlayOnLinux-wine-$WINEVERSION-linux-amd64.pol
echo "Extracting WINE $WINEVERSION..." echo "Extracting WINE $WINEVERSION..."
tar xjf PlayOnLinux-wine-$WINEVERSION-linux-amd64.pol tar xjf PlayOnLinux-wine-$WINEVERSION-linux-amd64.pol