Debian Codegraph @

3rdparty/imgui/.travis.yml

raw symbols SCIP
1 language: cpp
2 sudo: required
3 dist: trusty
4
5 os:
6 - linux
7 - osx
8
9 compiler:
10 - gcc
11 - clang
12
13 before_install:
14 - if [ $TRAVIS_OS_NAME == linux ]; then
15 sudo apt-get update -qq;
16 sudo apt-get install -y --no-install-recommends libxrandr-dev libxi-dev libxxf86vm-dev libsdl2-dev;
17 wget https://github.com/glfw/glfw/releases/download/3.2.1/glfw-3.2.1.zip;
18 unzip glfw-3.2.1.zip && cd glfw-3.2.1;
19 cmake -DBUILD_SHARED_LIBS=true -DGLFW_BUILD_EXAMPLES=false -DGLFW_BUILD_TESTS=false -DGLFW_BUILD_DOCS=false .;
20 sudo make -j $CPU_NUM install && cd ..;
21 fi
22 - if [ $TRAVIS_OS_NAME == osx ]; then
23 brew update;
24 brew install glfw3;
25 brew install sdl2;
26 fi
27
28 script:
29 - make -C examples/example_glfw_opengl2
30 - make -C examples/example_glfw_opengl3
31 - make -C examples/example_sdl_opengl3
32 - if [ $TRAVIS_OS_NAME == osx ]; then
33 xcodebuild -project examples/example_apple_metal/example_apple_metal.xcodeproj -target example_apple_metal_macos;
34 fi