mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2025-01-10 18:35:25 +01:00
travis: move mingw engine build to standalone VM
This commit is contained in:
parent
ca3913cd88
commit
f9f96552b7
31
.travis.yml
31
.travis.yml
@ -24,17 +24,13 @@ jobs:
|
||||
script:
|
||||
- sh scripts/yadisk_clear.sh
|
||||
- stage: build
|
||||
name: "Build for Linux, MinGW & Android"
|
||||
name: "Build for Linux & Android"
|
||||
cache: ccache
|
||||
os: linux
|
||||
dist: xenial
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- mingw-w64-i686-dev
|
||||
- binutils-mingw-w64-i686
|
||||
- gcc-mingw-w64-i686
|
||||
- g++-mingw-w64-i686
|
||||
- p7zip-full
|
||||
- gcc-multilib
|
||||
- g++-multilib
|
||||
@ -53,11 +49,30 @@ jobs:
|
||||
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools:$PWD/android-ndk
|
||||
script:
|
||||
- sh scripts/build_${TRAVIS_OS_NAME}_engine.sh
|
||||
after_script:
|
||||
- ccache --show-stats
|
||||
- sh scripts/yadisk_upload.sh Xash3DFWGS-i386.AppImage
|
||||
- # ...
|
||||
name: "Build for Windows MinGW"
|
||||
cache: ccache
|
||||
os: linux
|
||||
dist: xenial
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- mingw-w64-i686-dev
|
||||
- binutils-mingw-w64-i686
|
||||
- gcc-mingw-w64-i686
|
||||
- g++-mingw-w64-i686
|
||||
- p7zip-full
|
||||
before_script:
|
||||
- sh scripts/travis_common_deps.sh
|
||||
- sh scripts/travis_mingw_deps.sh
|
||||
script:
|
||||
- sh scripts/build_mingw_engine.sh
|
||||
after_script:
|
||||
- cd ${TRAVIS_BUILD_DIR}
|
||||
- ccache --show-stats
|
||||
- sh scripts/yadisk_upload.sh Xash3DFWGS-i386.AppImage xash3d-mingw.7z
|
||||
- sh scripts/yadisk_upload.sh xash3d-mingw.7z
|
||||
- # ...
|
||||
name: "Build for OSX"
|
||||
cache: ccache
|
||||
@ -68,7 +83,6 @@ jobs:
|
||||
script:
|
||||
- sh scripts/build_${TRAVIS_OS_NAME}_engine.sh
|
||||
after_script:
|
||||
- cd ${TRAVIS_BUILD_DIR}
|
||||
- sh scripts/yadisk_upload.sh xash3d-osx.tar.bz2
|
||||
- # ...
|
||||
name: "Build for Windows MSVC"
|
||||
@ -80,7 +94,6 @@ jobs:
|
||||
script:
|
||||
- sh scripts/build_${TRAVIS_OS_NAME}_engine.sh
|
||||
after_script:
|
||||
- cd ${TRAVIS_BUILD_DIR}
|
||||
- sh scripts/yadisk_upload.sh xash3d-vc.7z
|
||||
- stage: deploy
|
||||
name: "Deploy to github"
|
||||
|
@ -2,10 +2,6 @@
|
||||
curl -s http://libsdl.org/release/SDL2-$SDL_VERSION.tar.gz | tar xzf -
|
||||
mv SDL2-$SDL_VERSION SDL2_src
|
||||
|
||||
# SDL2 for MinGW prebuilt
|
||||
curl -s http://libsdl.org/release/SDL2-devel-$SDL_VERSION-mingw.tar.gz | tar xzf -
|
||||
mv SDL2-$SDL_VERSION SDL2_mingw
|
||||
|
||||
# Android build deps
|
||||
# curl -s http://dl.google.com/android/android-sdk_r22.0.4-linux.tgz | tar xzf -
|
||||
# export ANDROID_HOME=$PWD/android-sdk-linux
|
||||
|
3
scripts/travis_mingw_deps.sh
Normal file
3
scripts/travis_mingw_deps.sh
Normal file
@ -0,0 +1,3 @@
|
||||
# SDL2 for MinGW prebuilt
|
||||
curl -s http://libsdl.org/release/SDL2-devel-$SDL_VERSION-mingw.tar.gz | tar xzf -
|
||||
mv SDL2-$SDL_VERSION SDL2_mingw
|
@ -1,6 +1,3 @@
|
||||
# python 3.6
|
||||
choco install python3 -y
|
||||
|
||||
# SDL2 for VC prebuilt
|
||||
curl http://libsdl.org/release/SDL2-devel-$SDL_VERSION-VC.zip -o SDL2.zip
|
||||
unzip SDL2.zip
|
||||
|
Loading…
Reference in New Issue
Block a user