2014-04-25 12:32:13 -04:00
|
|
|
language: cpp
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
before_install:
|
2014-04-25 12:43:11 -04:00
|
|
|
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
2014-04-25 12:32:13 -04:00
|
|
|
- sudo apt-get -qq update
|
2014-04-30 22:59:38 -04:00
|
|
|
- sudo apt-get -qq install g++-4.8 xorg-dev libglu1-mesa-dev libglew-dev libxcursor-dev
|
2014-04-25 12:32:13 -04:00
|
|
|
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
|
|
|
|
- git clone https://github.com/glfw/glfw.git
|
2014-04-25 12:52:01 -04:00
|
|
|
- "mkdir glfw/build && cd glfw/build && cmake .. && make && sudo make install ; cd -"
|
2014-04-25 12:32:13 -04:00
|
|
|
script:
|
2014-04-25 12:52:01 -04:00
|
|
|
- mkdir build && cd build
|
|
|
|
- cmake ..
|
2014-04-30 22:59:38 -04:00
|
|
|
- make -j4
|