Open Source Tomb Raider Engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

travis_script_mac.sh 457B

123456789101112131415161718
  1. #!/bin/bash
  2. # Need to build latest glbinding from source
  3. GLBVER=`curl https://api.github.com/repos/cginternals/glbinding/releases/latest | grep -m1 tag_name | cut -d\" -f4`
  4. curl -L https://github.com/hpicgs/glbinding/archive/${GLBVER}.tar.gz | tar xzf -
  5. cd glbinding-${GLBVER#v}
  6. mkdir build
  7. cd build
  8. cmake ..
  9. make -j4
  10. sudo make install
  11. cd ..
  12. cd ..
  13. # Build OpenRaider and run the unit tests
  14. mkdir build && cd build && cmake .. && make -j 4 && make check