mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- added ZMusic to Travis CI configuration
This commit is contained in:
parent
c80bfcf9f6
commit
56fff271a1
1 changed files with 30 additions and 11 deletions
31
.travis.yml
31
.travis.yml
|
@ -125,20 +125,39 @@ before_install:
|
||||||
- $CC --version
|
- $CC --version
|
||||||
- $CXX --version
|
- $CXX --version
|
||||||
|
|
||||||
script:
|
before_script:
|
||||||
- echo ${TRAVIS_BUILD_DIR}
|
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- >
|
- git clone https://github.com/coelckers/ZMusic.git
|
||||||
|
- cd ZMusic
|
||||||
|
- git checkout 1.0.0
|
||||||
|
- cd ..
|
||||||
|
- mkdir zmusic_build
|
||||||
|
- cd zmusic_build
|
||||||
|
- cmake ${CMAKE_OPTIONS} -DCMAKE_INSTALL_PREFIX=`pwd`/../zmusic_install ../ZMusic
|
||||||
|
- |
|
||||||
|
if [[ $TRAVIS_OS_NAME == 'windows' ]]; then
|
||||||
|
cmake --build . --target install --config Release -- -maxcpucount -verbosity:minimal
|
||||||
|
else
|
||||||
|
cmake --build . --target install -- --jobs=2 --keep-going
|
||||||
|
fi
|
||||||
|
- cd ..
|
||||||
|
|
||||||
|
script:
|
||||||
|
- |
|
||||||
cmake ${CMAKE_OPTIONS} \
|
cmake ${CMAKE_OPTIONS} \
|
||||||
|
-DCMAKE_PREFIX_PATH=`pwd`/zmusic_install \
|
||||||
-DFORCE_INTERNAL_ZLIB=YES \
|
-DFORCE_INTERNAL_ZLIB=YES \
|
||||||
-DFORCE_INTERNAL_JPEG=YES \
|
-DFORCE_INTERNAL_JPEG=YES \
|
||||||
-DFORCE_INTERNAL_BZIP2=YES \
|
-DFORCE_INTERNAL_BZIP2=YES \
|
||||||
-DFORCE_INTERNAL_GME=YES \
|
|
||||||
-DPK3_QUIET_ZIPDIR=YES \
|
-DPK3_QUIET_ZIPDIR=YES \
|
||||||
..
|
..
|
||||||
- if [[ $TRAVIS_OS_NAME == 'windows' ]]; then cmake --build . --config Release -- -maxcpucount -verbosity:minimal; fi
|
- |
|
||||||
- if [[ $TRAVIS_OS_NAME != 'windows' ]]; then cmake --build . -- --jobs=2 --keep-going; fi
|
if [[ $TRAVIS_OS_NAME == 'windows' ]]; then
|
||||||
|
cmake --build . --config Release -- -maxcpucount -verbosity:minimal
|
||||||
|
else
|
||||||
|
cmake --build . -- --jobs=2 --keep-going
|
||||||
|
fi
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
Loading…
Reference in a new issue