2017-02-21 11:02:41 +00:00
|
|
|
# Build Configuration for Travis CI
|
|
|
|
# https://travis-ci.org
|
|
|
|
|
2020-02-17 13:09:06 +00:00
|
|
|
dist: bionic
|
2017-02-21 11:02:41 +00:00
|
|
|
language: cpp
|
2019-06-24 08:10:19 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2020-01-30 19:54:13 +00:00
|
|
|
- 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"
|
2020-10-21 07:13:54 +00:00
|
|
|
- BUILD_TYPE="Debug"
|
2020-07-30 07:21:05 +00:00
|
|
|
- CXX_STANDARD="11"
|
2020-01-30 19:54:13 +00:00
|
|
|
compiler: g++-5
|
|
|
|
|
2019-06-24 08:10:19 +00:00
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
2020-01-29 06:27:41 +00:00
|
|
|
- g++-6
|
|
|
|
- ninja-build
|
|
|
|
- xorg-dev
|
|
|
|
- libglu1-mesa-dev
|
|
|
|
env:
|
|
|
|
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
|
2020-10-21 07:13:54 +00:00
|
|
|
- BUILD_TYPE="Debug"
|
2020-07-30 07:21:05 +00:00
|
|
|
- CXX_STANDARD="11"
|
2020-01-29 06:27:41 +00:00
|
|
|
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"
|
2020-10-21 07:13:54 +00:00
|
|
|
- BUILD_TYPE="Debug"
|
2020-07-30 07:21:05 +00:00
|
|
|
- CXX_STANDARD="11"
|
2020-01-29 06:27:41 +00:00
|
|
|
compiler: g++-7
|
2019-06-24 08:10:19 +00:00
|
|
|
|
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-8
|
2020-01-29 06:27:41 +00:00
|
|
|
- ninja-build
|
|
|
|
- xorg-dev
|
|
|
|
- libglu1-mesa-dev
|
|
|
|
env:
|
|
|
|
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
|
2020-10-21 07:13:54 +00:00
|
|
|
- BUILD_TYPE="Debug"
|
2020-07-30 07:21:05 +00:00
|
|
|
- CXX_STANDARD="11"
|
2020-01-29 06:27:41 +00:00
|
|
|
compiler: g++-8
|
|
|
|
|
2020-07-29 08:51:09 +00:00
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-9
|
|
|
|
- ninja-build
|
|
|
|
- xorg-dev
|
|
|
|
- libglu1-mesa-dev
|
|
|
|
env:
|
|
|
|
- MATRIX_EVAL="CC=gcc-9 && CXX=g++-9"
|
2020-10-21 07:13:54 +00:00
|
|
|
- BUILD_TYPE="Debug"
|
2020-07-30 07:21:05 +00:00
|
|
|
- CXX_STANDARD="11"
|
2020-07-29 08:51:09 +00:00
|
|
|
compiler: g++-9
|
|
|
|
|
2020-07-29 09:59:16 +00:00
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-10
|
|
|
|
- ninja-build
|
|
|
|
- xorg-dev
|
|
|
|
- libglu1-mesa-dev
|
|
|
|
env:
|
|
|
|
- MATRIX_EVAL="CC=gcc-10 && CXX=g++-10"
|
2020-10-21 07:13:54 +00:00
|
|
|
- BUILD_TYPE="Debug"
|
|
|
|
- CXX_STANDARD="11"
|
|
|
|
compiler: g++-10
|
|
|
|
|
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-10
|
|
|
|
- ninja-build
|
|
|
|
- xorg-dev
|
|
|
|
- libglu1-mesa-dev
|
|
|
|
env:
|
|
|
|
- MATRIX_EVAL="CC=gcc-10 && CXX=g++-10"
|
|
|
|
- BUILD_TYPE="Release"
|
2020-07-30 07:21:05 +00:00
|
|
|
- CXX_STANDARD="11"
|
2020-07-29 09:59:16 +00:00
|
|
|
compiler: g++-10
|
|
|
|
|
2020-01-29 06:27:41 +00:00
|
|
|
- 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
|
2020-07-30 07:21:05 +00:00
|
|
|
env:
|
2020-10-21 07:13:54 +00:00
|
|
|
- BUILD_TYPE="Debug"
|
2020-07-30 07:21:05 +00:00
|
|
|
- CXX_STANDARD="11"
|
2020-01-29 06:27:41 +00:00
|
|
|
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
|
2020-07-30 07:21:05 +00:00
|
|
|
env:
|
2020-10-21 07:13:54 +00:00
|
|
|
- BUILD_TYPE="Debug"
|
2020-07-30 07:21:05 +00:00
|
|
|
- CXX_STANDARD="11"
|
2020-01-29 06:27:41 +00:00
|
|
|
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
|
2020-07-30 07:21:05 +00:00
|
|
|
env:
|
2020-10-21 07:13:54 +00:00
|
|
|
- BUILD_TYPE="Debug"
|
2020-07-30 07:21:05 +00:00
|
|
|
- CXX_STANDARD="11"
|
2020-01-29 06:27:41 +00:00
|
|
|
compiler: clang++-6.0
|
2019-06-24 08:10:19 +00:00
|
|
|
|
2020-07-27 10:19:24 +00:00
|
|
|
- os: linux
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get update
|
|
|
|
- sudo apt-get purge g++
|
|
|
|
- sudo apt-get install clang-7
|
|
|
|
- CC=clang-7 && CXX=clang++-7
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- ninja-build
|
|
|
|
- xorg-dev
|
|
|
|
- libglu1-mesa-dev
|
2020-07-30 07:21:05 +00:00
|
|
|
env:
|
2020-10-21 07:13:54 +00:00
|
|
|
- BUILD_TYPE="Debug"
|
2020-07-30 07:21:05 +00:00
|
|
|
- CXX_STANDARD="11"
|
2020-07-27 10:19:24 +00:00
|
|
|
compiler: clang++-7
|
|
|
|
|
2020-07-28 07:04:50 +00:00
|
|
|
- os: linux
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get update
|
|
|
|
- sudo apt-get purge g++
|
|
|
|
- sudo apt-get install clang-8
|
|
|
|
- CC=clang-8 && CXX=clang++-8
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- ninja-build
|
|
|
|
- xorg-dev
|
|
|
|
- libglu1-mesa-dev
|
2020-07-30 07:21:05 +00:00
|
|
|
env:
|
2020-10-21 07:13:54 +00:00
|
|
|
- BUILD_TYPE="Debug"
|
2020-07-30 07:21:05 +00:00
|
|
|
- CXX_STANDARD="11"
|
2020-07-28 07:04:50 +00:00
|
|
|
compiler: clang++-8
|
|
|
|
|
2020-07-28 08:14:10 +00:00
|
|
|
- os: linux
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get update
|
|
|
|
- sudo apt-get purge g++
|
|
|
|
- sudo apt-get install clang-9
|
|
|
|
- CC=clang-9 && CXX=clang++-9
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- ninja-build
|
|
|
|
- xorg-dev
|
|
|
|
- libglu1-mesa-dev
|
2020-07-30 07:21:05 +00:00
|
|
|
env:
|
2020-10-21 07:13:54 +00:00
|
|
|
- BUILD_TYPE="Debug"
|
2020-07-30 07:21:05 +00:00
|
|
|
- CXX_STANDARD="11"
|
2020-07-28 08:14:10 +00:00
|
|
|
compiler: clang++-9
|
|
|
|
|
2020-07-28 09:03:43 +00:00
|
|
|
- os: linux
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get update
|
|
|
|
- sudo apt-get purge g++
|
|
|
|
- sudo apt-get install clang-10
|
|
|
|
- CC=clang-10 && CXX=clang++-10
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- ninja-build
|
|
|
|
- xorg-dev
|
|
|
|
- libglu1-mesa-dev
|
2020-07-30 07:21:05 +00:00
|
|
|
env:
|
2020-10-21 07:13:54 +00:00
|
|
|
- BUILD_TYPE="Debug"
|
2020-07-30 07:21:05 +00:00
|
|
|
- CXX_STANDARD="11"
|
|
|
|
compiler: clang++-10
|
|
|
|
|
|
|
|
- os: linux
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get update
|
|
|
|
- sudo apt-get purge g++
|
|
|
|
- sudo apt-get install clang-10
|
|
|
|
- CC=clang-10 && CXX=clang++-10
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- ninja-build
|
|
|
|
- xorg-dev
|
|
|
|
- libglu1-mesa-dev
|
|
|
|
env:
|
2020-10-21 07:13:54 +00:00
|
|
|
- BUILD_TYPE="Debug"
|
2020-07-30 07:21:05 +00:00
|
|
|
- CXX_STANDARD="14"
|
2020-07-28 09:03:43 +00:00
|
|
|
compiler: clang++-10
|
|
|
|
|
2020-07-30 08:57:10 +00:00
|
|
|
- os: linux
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get update
|
|
|
|
- sudo apt-get purge g++
|
|
|
|
- sudo apt-get install clang-10
|
|
|
|
- CC=clang-10 && CXX=clang++-10
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- ninja-build
|
|
|
|
- xorg-dev
|
|
|
|
- libglu1-mesa-dev
|
|
|
|
env:
|
2020-10-21 07:13:54 +00:00
|
|
|
- BUILD_TYPE="Debug"
|
2020-07-30 08:57:10 +00:00
|
|
|
- CXX_STANDARD="17"
|
|
|
|
compiler: clang++-10
|
|
|
|
|
2020-07-30 10:05:32 +00:00
|
|
|
- os: linux
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get update
|
|
|
|
- sudo apt-get purge g++
|
|
|
|
- sudo apt-get install clang-10
|
|
|
|
- CC=clang-10 && CXX=clang++-10
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- ninja-build
|
|
|
|
- xorg-dev
|
|
|
|
- libglu1-mesa-dev
|
|
|
|
env:
|
2020-10-21 07:13:54 +00:00
|
|
|
- BUILD_TYPE="Debug"
|
|
|
|
- CXX_STANDARD="20"
|
|
|
|
compiler: clang++-10
|
|
|
|
|
|
|
|
- os: linux
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get update
|
|
|
|
- sudo apt-get purge g++
|
|
|
|
- sudo apt-get install clang-10
|
|
|
|
- CC=clang-10 && CXX=clang++-10
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- ninja-build
|
|
|
|
- xorg-dev
|
|
|
|
- libglu1-mesa-dev
|
|
|
|
env:
|
|
|
|
- BUILD_TYPE="Release"
|
2020-07-30 10:05:32 +00:00
|
|
|
- CXX_STANDARD="20"
|
|
|
|
compiler: clang++-10
|
|
|
|
|
2020-01-29 06:27:41 +00:00
|
|
|
before_install:
|
|
|
|
- eval "${MATRIX_EVAL}"
|
2017-02-21 11:02:41 +00:00
|
|
|
|
|
|
|
script:
|
2020-01-29 06:27:41 +00:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2017-02-21 11:02:41 +00:00
|
|
|
- cmake --version
|
2020-01-30 19:54:13 +00:00
|
|
|
- cmake -GNinja ..
|
|
|
|
-DSAMPLES_BUILD=ON
|
|
|
|
-DTESTS_BUILD=ON
|
|
|
|
-DSAMPLES_BUILD_ONLY_DYNAMIC=ON
|
|
|
|
-DSAMPLES_BUILD_WITH_LOCAL_VULKAN_HPP=ON
|
2020-01-31 07:31:47 +00:00
|
|
|
-DTESTS_BUILD_ONLY_DYNAMIC=ON
|
|
|
|
-DTESTS_BUILD_WITH_LOCAL_VULKAN_HPP=ON
|
2020-10-21 07:13:54 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=%BUILD_TYPE%
|
2020-07-30 07:21:05 +00:00
|
|
|
-DCMAKE_CXX_FLAGS="-Wall -Wpedantic -Wextra"
|
|
|
|
-DCMAKE_CXX_STANDARD=$CXX_STANDARD
|
2020-01-30 19:54:13 +00:00
|
|
|
$ADDITIONAL_BUILD_OPTIONS
|
|
|
|
- cmake --build .
|
2021-03-23 09:52:56 +00:00
|
|
|
- ./VulkanHppGenerator
|