2017-08-21 10:47:39 +00:00
|
|
|
language: cpp
|
2017-08-21 13:47:30 +00:00
|
|
|
sudo: required
|
|
|
|
os: linux
|
2017-08-21 10:47:39 +00:00
|
|
|
dist: trusty
|
|
|
|
|
2017-08-21 13:47:30 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
2017-08-21 10:47:39 +00:00
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
|
|
|
|
2017-08-21 13:47:30 +00:00
|
|
|
before_script:
|
2017-08-21 15:06:45 +00:00
|
|
|
- sudo apt-get install
|
2017-08-21 13:47:30 +00:00
|
|
|
|
2017-08-21 10:47:39 +00:00
|
|
|
install:
|
2019-06-03 10:13:55 +00:00
|
|
|
- wget https://github.com/premake/premake-core/releases/download/v5.0.0-alpha11/premake-5.0.0-alpha11-linux.tar.gz?Human=true -O premake-5.0.0-alpha11-linux.tar.gz
|
2017-08-21 13:47:30 +00:00
|
|
|
- tar -xzvf premake-5.0.0-alpha11-linux.tar.gz
|
2017-08-21 15:06:45 +00:00
|
|
|
- sudo apt-get -qq update
|
|
|
|
- sudo apt-get install -y libassimp-dev libglm-dev graphviz libxcb-dri3-0 libxcb-present0 libpciaccess0 cmake libpng-dev libxcb-dri3-dev libx11-dev libx11-xcb-dev libmirclient-dev libwayland-dev libxrandr-dev
|
2018-09-28 14:08:29 +00:00
|
|
|
- export VK_VERSION=1.1.82.1
|
|
|
|
- wget -O vulkansdk-linux-x86_64-$VK_VERSION.tar.gz https://sdk.lunarg.com/sdk/download/$VK_VERSION/linux/vulkansdk-linux-x86_64-$VK_VERSION.tar.gz
|
|
|
|
- tar zxf vulkansdk-linux-x86_64-$VK_VERSION.tar.gz
|
|
|
|
- export VULKAN_SDK=$TRAVIS_BUILD_DIR/$VK_VERSION/x86_64
|
2017-08-21 13:47:30 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
- cd premake
|
|
|
|
- ../premake5 gmake
|
|
|
|
- cd ../build
|
|
|
|
- make config=debug_linux-x64
|
|
|
|
- cd ..
|
2017-08-21 10:47:39 +00:00
|
|
|
|
2017-08-21 13:47:30 +00:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- adam.sawicki@amd.com
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|