mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 04:11:18 +00:00
travis: build iwth all the gcc packages?
This commit is contained in:
parent
b2713cef76
commit
80985e9d85
1 changed files with 80 additions and 43 deletions
123
.travis.yml
123
.travis.yml
|
@ -6,6 +6,42 @@ matrix:
|
||||||
include:
|
include:
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
|
- os: linux
|
||||||
|
compiler: gcc
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- ubuntu-toolchain-r-test
|
||||||
|
packages:
|
||||||
|
- gcc-4.8
|
||||||
|
env: CC=gcc-4.8
|
||||||
|
- os: linux
|
||||||
|
compiler: gcc
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- ubuntu-toolchain-r-test
|
||||||
|
packages:
|
||||||
|
- gcc-4.9
|
||||||
|
env: CC=gcc-4.9
|
||||||
|
- os: linux
|
||||||
|
compiler: gcc
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- ubuntu-toolchain-r-test
|
||||||
|
packages:
|
||||||
|
- gcc-5
|
||||||
|
env: CC=gcc-5
|
||||||
|
- os: linux
|
||||||
|
compiler: gcc
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- ubuntu-toolchain-r-test
|
||||||
|
packages:
|
||||||
|
- gcc-6
|
||||||
|
env: CC=gcc-6
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
- os: osx
|
- os: osx
|
||||||
|
@ -14,48 +50,48 @@ matrix:
|
||||||
- os: osx
|
- os: osx
|
||||||
osx_image: beta-xcode6.1
|
osx_image: beta-xcode6.1
|
||||||
compiler: clang
|
compiler: clang
|
||||||
- os: osx
|
# - os: osx
|
||||||
osx_image: beta-xcode6.2
|
# osx_image: beta-xcode6.2
|
||||||
compiler: gcc
|
# compiler: gcc
|
||||||
- os: osx
|
# - os: osx
|
||||||
osx_image: beta-xcode6.2
|
# osx_image: beta-xcode6.2
|
||||||
compiler: clang
|
# compiler: clang#
|
||||||
- os: osx
|
# - os: osx
|
||||||
osx_image: beta-xcode6.3
|
# osx_image: beta-xcode6.3
|
||||||
compiler: gcc
|
# compiler: gcc
|
||||||
- os: osx
|
# - os: osx
|
||||||
osx_image: beta-xcode6.3
|
# osx_image: beta-xcode6.3
|
||||||
compiler: clang
|
# compiler: clang
|
||||||
- os: osx
|
# - os: osx
|
||||||
osx_image: xcode6.4
|
# osx_image: xcode6.4
|
||||||
compiler: gcc
|
# compiler: gcc
|
||||||
- os: osx
|
# - os: osx
|
||||||
osx_image: xcode6.4
|
# osx_image: xcode6.4
|
||||||
compiler: clang
|
# compiler: clang
|
||||||
- os: osx
|
# - os: osx
|
||||||
osx_image: xcode7
|
# osx_image: xcode7
|
||||||
compiler: gcc
|
# compiler: gcc
|
||||||
- os: osx
|
# - os: osx
|
||||||
osx_image: xcode7
|
# osx_image: xcode7
|
||||||
compiler: clang
|
# compiler: clang
|
||||||
- os: osx
|
# - os: osx
|
||||||
osx_image: xcode7.1
|
# osx_image: xcode7.1
|
||||||
compiler: gcc
|
# compiler: gcc
|
||||||
- os: osx
|
# - os: osx
|
||||||
osx_image: xcode7.1
|
# osx_image: xcode7.1
|
||||||
compiler: clang
|
# compiler: clang
|
||||||
- os: osx
|
# - os: osx
|
||||||
osx_image: xcode7.2
|
# osx_image: xcode7.2
|
||||||
compiler: gcc
|
# compiler: gcc
|
||||||
- os: osx
|
# - os: osx
|
||||||
osx_image: xcode7.2
|
# osx_image: xcode7.2
|
||||||
compiler: clang
|
# compiler: clang
|
||||||
- os: osx
|
# - os: osx
|
||||||
osx_image: xcode7.3
|
# osx_image: xcode7.3
|
||||||
compiler: gcc
|
# compiler: gcc
|
||||||
- os: osx
|
# - os: osx
|
||||||
osx_image: xcode7.3
|
# osx_image: xcode7.3
|
||||||
compiler: clang
|
# compiler: clang
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
apt: true
|
apt: true
|
||||||
|
@ -73,6 +109,7 @@ addons:
|
||||||
- p7zip-full
|
- p7zip-full
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
- $CC --version
|
||||||
- wget --verbose --server-response -c http://rosenthalcastle.org/srb2/SRB2-v2115-assets-2.7z -O $HOME/srb2_cache/SRB2-v2115-assets-2.7z
|
- wget --verbose --server-response -c http://rosenthalcastle.org/srb2/SRB2-v2115-assets-2.7z -O $HOME/srb2_cache/SRB2-v2115-assets-2.7z
|
||||||
- 7z x $HOME/srb2_cache/SRB2-v2115-assets-2.7z -oassets
|
- 7z x $HOME/srb2_cache/SRB2-v2115-assets-2.7z -oassets
|
||||||
- mkdir build
|
- mkdir build
|
||||||
|
@ -82,7 +119,7 @@ before_script:
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install sdl2_mixer game-music-emu p7zip ; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install sdl2_mixer game-music-emu p7zip cmake; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl -O -L https://www.libsdl.org/release/SDL2-2.0.4.dmg; hdiutil attach SDL2-2.0.4.dmg; sudo cp -a /Volumes/SDL2/SDL2.framework /Library/Frameworks/; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl -O -L https://www.libsdl.org/release/SDL2-2.0.4.dmg; hdiutil attach SDL2-2.0.4.dmg; sudo cp -a /Volumes/SDL2/SDL2.framework /Library/Frameworks/; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl -O -L https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.dmg; hdiutil attach SDL2_mixer-2.0.1.dmg; sudo cp -a /Volumes/SDL2_mixer/SDL2_mixer.framework /Library/Frameworks/; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl -O -L https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.dmg; hdiutil attach SDL2_mixer-2.0.1.dmg; sudo cp -a /Volumes/SDL2_mixer/SDL2_mixer.framework /Library/Frameworks/; fi
|
||||||
- mkdir -p $HOME/srb2_cache
|
- mkdir -p $HOME/srb2_cache
|
||||||
|
|
Loading…
Reference in a new issue