forked from YoutaVen/Vulkan
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
39 lines (36 loc) · 1.07 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
language: cpp
env:
- VISUAL=""
- VISUAL="-DVKTS_WSI=VKTS_WAYLAND_VISUAL"
- VISUAL="-DVKTS_WSI=VKTS_DISPLAY_VISUAL"
sudo: required
dist: trusty
compiler:
- gcc
- clang
os: linux
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libx11-xcb-dev libxrandr-dev libwayland-dev
- cd
- mkdir Development
- cd Development
- wget https://vulkan.lunarg.com/sdk/download/1.0.49.0/linux/vulkansdk-linux-x86_64-1.0.49.0.run
- chmod 777 vulkansdk-linux-x86_64-1.0.49.0.run
- ./vulkansdk-linux-x86_64-1.0.49.0.run
- cd $TRAVIS_BUILD_DIR
before_script:
- export VULKAN_SDK=~/Development/VulkanSDK/1.0.49.0/x86_64
- export PATH=$PATH:$VULKAN_SDK/bin
- export LD_LIBRARY_PATH=$VULKAN_SDK/lib
- export VK_LAYER_PATH=$VULKAN_SDK/etc/explicit_layer.d
- C_INCLUDE_PATH=$VULKAN_SDK/include
- export C_INCLUDE_PATH
- CPLUS_INCLUDE_PATH=$VULKAN_SDK/include
- export CPLUS_INCLUDE_PATH
- LIBRARY_PATH=$VULKAN_SDK/lib
- export LIBRARY_PATH
- python3 create_master_CMakeLists.py
script:
- cmake . $VISUAL
- make