mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-10 14:40:07 +00:00
306d2ce9c3
Temporarily disable clang 3.9
131 lines
2.9 KiB
YAML
131 lines
2.9 KiB
YAML
# Build Configuration for Travis CI
|
|
# https://travis-ci.org
|
|
|
|
dist: bionic
|
|
language: cpp
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- g++-5
|
|
- ninja-build
|
|
- xorg-dev
|
|
- libglu1-mesa-dev
|
|
env:
|
|
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
|
|
- ADDITIONAL_BUILD_OPTIONS="-DSAMPLES_BUILD=OFF"
|
|
compiler: g++-5
|
|
|
|
- os: linux
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- g++-6
|
|
- ninja-build
|
|
- xorg-dev
|
|
- libglu1-mesa-dev
|
|
env:
|
|
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
|
|
compiler: g++-6
|
|
|
|
- os: linux
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- g++-7
|
|
- ninja-build
|
|
- xorg-dev
|
|
- libglu1-mesa-dev
|
|
env:
|
|
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
|
|
compiler: g++-7
|
|
|
|
- os: linux
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- g++-8
|
|
- ninja-build
|
|
- xorg-dev
|
|
- libglu1-mesa-dev
|
|
env:
|
|
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
|
|
compiler: g++-8
|
|
|
|
- os: linux
|
|
before_install:
|
|
- sudo apt-get update
|
|
- sudo apt-get purge g++
|
|
- sudo apt-get install clang-4.0
|
|
- CC=clang-4.0 && CXX=clang++-4.0
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- ninja-build
|
|
- xorg-dev
|
|
- libglu1-mesa-dev
|
|
compiler: clang++-4.0
|
|
|
|
- os: linux
|
|
before_install:
|
|
- sudo apt-get update
|
|
- sudo apt-get purge g++
|
|
- sudo apt-get install clang-5.0
|
|
- CC=clang-5.0 && CXX=clang++-5.0
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- ninja-build
|
|
- xorg-dev
|
|
- libglu1-mesa-dev
|
|
compiler: clang++-5.0
|
|
|
|
- os: linux
|
|
before_install:
|
|
- sudo apt-get update
|
|
- sudo apt-get purge g++
|
|
- sudo apt-get install clang-6.0
|
|
- CC=clang-6.0 && CXX=clang++-6.0
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- ninja-build
|
|
- xorg-dev
|
|
- libglu1-mesa-dev
|
|
compiler: clang++-6.0
|
|
|
|
before_install:
|
|
- eval "${MATRIX_EVAL}"
|
|
|
|
script:
|
|
- mkdir build
|
|
- cd build
|
|
- cmake --version
|
|
- cmake -GNinja ..
|
|
-DSAMPLES_BUILD=ON
|
|
-DTESTS_BUILD=ON
|
|
-DSAMPLES_BUILD_ONLY_DYNAMIC=ON
|
|
-DSAMPLES_BUILD_WITH_LOCAL_VULKAN_HPP=ON
|
|
-DTESTS_BUILD_ONLY_DYNAMIC=ON
|
|
-DTESTS_BUILD_WITH_LOCAL_VULKAN_HPP=ON
|
|
-DCMAKE_CXX_FLAGS="-std=c++11 -Wall -Wpedantic -Wextra"
|
|
$ADDITIONAL_BUILD_OPTIONS
|
|
- cmake --build .
|