Merge commit 'upstream/master~0'

This commit is contained in:
Alam Arias 2019-03-26 10:50:36 -04:00
commit 68ee8737e8
2 changed files with 27 additions and 18 deletions

View file

@ -43,10 +43,13 @@ jobs:
- /var/cache/apt/archives - /var/cache/apt/archives
- checkout - checkout
- run: - run:
name: Compile without network support name: Compile without network support and BLUA
command: make -C src LINUX=1 ERRORMODE=1 -k NONET=1 command: make -C src LINUX=1 ERRORMODE=1 -k NONET=1 NO_LUA=1
- run: - run:
name: Clean build name: wipe build
command: make -C src LINUX=1 cleandep
- run:
name: rebuild depend
command: make -C src LINUX=1 clean command: make -C src LINUX=1 clean
- restore_cache: - restore_cache:
keys: keys:

View file

@ -254,10 +254,15 @@ matrix:
# osx_image: xcode7.2 # osx_image: xcode7.2
# if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/ # if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
# #Apple LLVM version 7.0.2 (clang-700.1.81) # #Apple LLVM version 7.0.2 (clang-700.1.81)
- os: osx # - os: osx
osx_image: xcode7.3 # osx_image: xcode7.3
# #Apple LLVM version 7.3.0 (clang-703.0.31)
# - os: osx
# osx_image: xcode7.3
# #Apple LLVM version 7.3.0 (clang-703.0.31)
- osx: osx
if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/ if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
#Apple LLVM version 7.3.0 (clang-703.0.31) #Default: macOS 10.13 and Xcode 9.4.1
################################ ################################
@ -564,6 +569,16 @@ addons:
- libgme-dev - libgme-dev
- zlib1g-dev - zlib1g-dev
- p7zip-full - p7zip-full
homebrew:
taps:
- mazmazz/srb2
packages:
- sdl2_mixer
- game-music-emu
- p7zip
- cmake
update: true
before_install: before_install:
@ -596,18 +611,10 @@ install:
# * `sdl2_mixer` requires options from the formula tap https://github.com/mazmazz/homebrew-srb2 # * `sdl2_mixer` requires options from the formula tap https://github.com/mazmazz/homebrew-srb2
# * `brew postinstall` runs post-install scripts after building a bottle # * `brew postinstall` runs post-install scripts after building a bottle
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update; if [[ "$__DPL_ACTIVE" == "1" ]]; then
brew tap mazmazz/srb2; brew install --build-bottle sdl2 game-music-emu;
fi;
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
if [[ "$__DPL_ACTIVE" != "1" ]]; then
brew install sdl2 sdl2_mixer game-music-emu p7zip;
brew install cmake||true;
else
brew install --build-bottle sdl2 game-music-emu p7zip;
brew install --build-bottle mazmazz/srb2/sdl2_mixer --with-flac --with-mpg123; brew install --build-bottle mazmazz/srb2/sdl2_mixer --with-flac --with-mpg123;
brew postinstall sdl2 game-music-emu p7zip mazmazz/srb2/sdl2_mixer; brew postinstall sdl2 game-music-emu mazmazz/srb2/sdl2_mixer;
brew install cmake||true;
fi; fi;
fi fi
- mkdir -p $HOME/srb2_cache - mkdir -p $HOME/srb2_cache
@ -672,7 +679,6 @@ before_script:
-DCPACK_PACKAGE_VENDOR="${PROGRAM_VENDOR}" -DCPACK_PACKAGE_VENDOR="${PROGRAM_VENDOR}"
-DSRB2_SDL2_EXE_NAME="${PROGRAM_FILENAME}" -DSRB2_SDL2_EXE_NAME="${PROGRAM_FILENAME}"
script: script:
# Build our Makefile from Cmake! # Build our Makefile from Cmake!
- if [[ "$__DPL_ACTIVE" == "1" ]]; then - if [[ "$__DPL_ACTIVE" == "1" ]]; then