mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
15e91f811f
Tests: OS | Compiler | Lua Version :---- | --------- | ----------- Linux | gcc-4.9 | lua52, LuaJIT Linux | gcc-5 | lua52, LuaJIT Linux | clang-3.6 | lua52, LuaJIT OSX | xcode6 | lua52 OSX | xcode7 | lua52 OSX | gcc-4.9* | lua52 OSX | gcc-5 | lua52 \* On OSX out of the box, gcc-4.9 is actually the gcc wrapper around appleclang
127 lines
2.4 KiB
YAML
127 lines
2.4 KiB
YAML
language: cpp
|
|
|
|
git:
|
|
depth: 5
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
env: COMPILER=g++-4.9 LUA=lua52
|
|
compiler: gcc
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- gcc-4.9
|
|
- g++-4.9
|
|
- ninja-build
|
|
- liblua5.2-dev
|
|
|
|
# gcc-5
|
|
- os: linux
|
|
env: COMPILER=g++-4.9 LUA=luajit
|
|
compiler: gcc
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- gcc-4.9
|
|
- g++-4.9
|
|
- ninja-build
|
|
- libluajit-5.1-dev
|
|
|
|
# gcc-5
|
|
- os: linux
|
|
env: COMPILER=g++-5 LUA=lua52
|
|
compiler: gcc
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- gcc-5
|
|
- g++-5
|
|
- ninja-build
|
|
- liblua5.2-dev
|
|
|
|
# gcc-5
|
|
- os: linux
|
|
env: COMPILER=g++-5 LUA=luajit
|
|
compiler: gcc
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- gcc-5
|
|
- g++-5
|
|
- ninja-build
|
|
- libluajit-5.1-dev
|
|
|
|
- os: linux
|
|
env: COMPILER=clang++-3.6 lua=lua52
|
|
compiler: clang
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
- llvm-toolchain-precise-3.6
|
|
packages:
|
|
- clang-3.6
|
|
- ninja-build
|
|
- liblua5.2-dev
|
|
|
|
- os: linux
|
|
env: COMPILER=clang++-3.6 lua=luajit
|
|
compiler: clang
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
- llvm-toolchain-precise-3.6
|
|
packages:
|
|
- clang-3.6
|
|
- ninja-build
|
|
- libluajit-5.1-dev
|
|
|
|
# Mac OSX
|
|
- os: osx
|
|
osx_image: xcode7
|
|
compiler: clang
|
|
env: COMPILER=appleclang
|
|
|
|
- os: osx
|
|
osx_image: xcode6
|
|
compiler: clang
|
|
env: COMPILER=appleclang
|
|
|
|
# Test using gcc
|
|
- os: osx
|
|
osx_image: xcode7
|
|
compiler: gcc
|
|
env: COMPILER=g++-4.9
|
|
|
|
- os: osx
|
|
compiler: gcc
|
|
env: COMPILER=g++-5
|
|
|
|
before_install:
|
|
- source ./install.deps.sh
|
|
|
|
install:
|
|
- install_os_deps
|
|
|
|
script:
|
|
- echo "Configuration info:"
|
|
- export_compiler_vars
|
|
- ninja --version
|
|
- ./bootstrap.py --ci && ninja
|
|
|
|
notifications:
|
|
email:
|
|
on_success: change
|
|
on_failure: change
|
|
|