Open Source Tomb Raider Engine
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

travis_script_linux.sh 674B

123456789101112131415161718192021222324
  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. mkdir build
  11. cd build
  12. cmake ..
  13. make -j4
  14. sudo make install
  15. cd ..
  16. cd ..
  17. # Build OpenRaider and run the unit tests
  18. mkdir build && cd build && cmake .. && make -j 4 && make check