Open Source Tomb Raider Engine
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

travis_script_linux.sh 796B

12345678910111213141516171819202122232425262728
  1. #!/bin/bash
  2. if [ "$CC" = "gcc" ]; then export CC="gcc-4.8"; fi
  3. if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
  4. if [ "$CC" = "clang" ]; then export CC="clang-3.5"; fi
  5. if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.5"; fi
  6. # Need to build latest glbinding from source
  7. #GLBVER=`curl https://api.github.com/repos/hpicgs/glbinding/releases/latest | grep -m1 tag_name | cut -d\" -f4`
  8. #curl -L https://github.com/hpicgs/glbinding/archive/${GLBVER}.tar.gz | tar xzf -
  9. #cd glbinding-${GLBVER#v}
  10. # Need to use master until a fixed version is released
  11. git clone https://github.com/hpicgs/glbinding.git
  12. cd glbinding
  13. mkdir build
  14. cd build
  15. cmake ..
  16. make -j4
  17. sudo make install
  18. cd ..
  19. cd ..
  20. # Build OpenRaider and run the unit tests
  21. mkdir build && cd build && cmake .. && make -j 4 && make check