mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-26 07:39:27 +00:00
This updates the minimum required cmake version and the libs that have updates for this. Ogg updated to master as of 20052025 Libsndfile updated to master as of 20052025 Opus minimum cmake version changed vorbis minimum cmake version changed
25 lines
834 B
YAML
25 lines
834 B
YAML
language: c
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
|
|
env:
|
|
- BUILD=AUTOTOOLS
|
|
- BUILD=CMAKE
|
|
|
|
script:
|
|
- if [[ "$BUILD" == "AUTOTOOLS" ]] ; then ./autogen.sh ; fi
|
|
- if [[ "$BUILD" == "AUTOTOOLS" ]] ; then ./configure ; fi
|
|
- if [[ "$BUILD" == "AUTOTOOLS" ]] ; then make distcheck ; fi
|
|
- if [[ "$BUILD" == "CMAKE" ]] ; then mkdir build ; fi
|
|
- if [[ "$BUILD" == "CMAKE" ]] ; then pushd build ; fi
|
|
- if [[ "$BUILD" == "CMAKE" ]] ; then cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DCPACK_PACKAGE_CONTACT="Xiph.Org Foundation" .. ; fi
|
|
- if [[ "$BUILD" == "CMAKE" ]] ; then cmake --build . ; fi
|
|
- if [[ "$BUILD" == "CMAKE" ]] ; then ctest ; fi
|
|
- if [[ "$BUILD" == "CMAKE" && "$TRAVIS_OS_NAME" == "linux" ]] ; then cpack -G DEB ; fi
|
|
- if [[ "$BUILD" == "CMAKE" ]] ; then popd ; fi
|