2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-22 01:47:45 +01:00

Travis does not need manual set of compiler. Enable multilib

This commit is contained in:
a1batross 2016-08-08 13:59:52 +06:00
parent fb4091a314
commit 6f6b0000b5

View File

@ -2,13 +2,10 @@ language: cpp
compiler:
- gcc
- clang
sudo: true
before_script:
- sudo apt-get install gcc-multilib g++-multilib
script:
- mkdir -p build && cd build
- export CC=gcc
- export CXX=g++
- cmake ../ -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined" -DUSE_VOICEMGR=0 && make -j3 && rm -rf *
- cmake ../ -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined" -DUSE_VOICEMGR=1 && make -j3 && rm -rf *
- export CC=clang
- export CXX=clang++
- cmake ../ -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined" -DUSE_VOICEMGR=0 && make -j3 && rm -rf *
- cmake ../ -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined" -DUSE_VOICEMGR=1 && make -j3 && rm -rf *