mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Close #18 with addition for clang 3.5, which should be lowest supported version currently
This commit is contained in:
parent
23c3240d59
commit
8ecf3c1131
51
.travis.yml
51
.travis.yml
|
@ -11,10 +11,10 @@ matrix:
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources:
|
sources:
|
||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
packages:
|
packages:
|
||||||
- gcc-4.9
|
- gcc-4.9
|
||||||
- g++-4.9
|
- g++-4.9
|
||||||
- ninja-build
|
- ninja-build
|
||||||
- liblua5.2-dev
|
- liblua5.2-dev
|
||||||
|
|
||||||
|
@ -25,12 +25,12 @@ matrix:
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources:
|
sources:
|
||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
packages:
|
packages:
|
||||||
- gcc-4.9
|
- gcc-4.9
|
||||||
- g++-4.9
|
- g++-4.9
|
||||||
- ninja-build
|
- ninja-build
|
||||||
- libluajit-5.1-dev
|
- libluajit-5.1-dev
|
||||||
|
|
||||||
# gcc-5
|
# gcc-5
|
||||||
- os: linux
|
- os: linux
|
||||||
|
@ -39,12 +39,12 @@ matrix:
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources:
|
sources:
|
||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
packages:
|
packages:
|
||||||
- gcc-5
|
- gcc-5
|
||||||
- g++-5
|
- g++-5
|
||||||
- ninja-build
|
- ninja-build
|
||||||
- liblua5.2-dev
|
- liblua5.2-dev
|
||||||
|
|
||||||
# gcc-5
|
# gcc-5
|
||||||
- os: linux
|
- os: linux
|
||||||
|
@ -53,12 +53,27 @@ matrix:
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources:
|
sources:
|
||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
packages:
|
packages:
|
||||||
- gcc-5
|
- gcc-5
|
||||||
- g++-5
|
- g++-5
|
||||||
- ninja-build
|
- ninja-build
|
||||||
- libluajit-5.1-dev
|
- libluajit-5.1-dev
|
||||||
|
|
||||||
|
- os: linux
|
||||||
|
env: COMPILER=clang++-3.5 LUA_VERSION=lua52
|
||||||
|
compiler: clang
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- ubuntu-toolchain-r-test
|
||||||
|
- llvm-toolchain-precise-3.5
|
||||||
|
packages:
|
||||||
|
- gcc-4.9
|
||||||
|
- g++-4.9
|
||||||
|
- clang-3.5
|
||||||
|
- ninja-build
|
||||||
|
- liblua5.2-dev
|
||||||
|
|
||||||
- os: linux
|
- os: linux
|
||||||
env: COMPILER=clang++-3.6 LUA_VERSION=lua52
|
env: COMPILER=clang++-3.6 LUA_VERSION=lua52
|
||||||
|
@ -66,12 +81,12 @@ matrix:
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources:
|
sources:
|
||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
- llvm-toolchain-precise-3.6
|
- llvm-toolchain-precise-3.6
|
||||||
packages:
|
packages:
|
||||||
- clang-3.6
|
- clang-3.6
|
||||||
- ninja-build
|
- ninja-build
|
||||||
- liblua5.2-dev
|
- liblua5.2-dev
|
||||||
|
|
||||||
- os: linux
|
- os: linux
|
||||||
env: COMPILER=clang++-3.6 LUA_VERSION=luajit51
|
env: COMPILER=clang++-3.6 LUA_VERSION=luajit51
|
||||||
|
@ -79,7 +94,7 @@ matrix:
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources:
|
sources:
|
||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
- llvm-toolchain-precise-3.6
|
- llvm-toolchain-precise-3.6
|
||||||
packages:
|
packages:
|
||||||
- clang-3.6
|
- clang-3.6
|
||||||
|
@ -90,12 +105,12 @@ matrix:
|
||||||
- os: osx
|
- os: osx
|
||||||
osx_image: xcode7
|
osx_image: xcode7
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: COMPILER=appleclang LUA_VERSION=lua53
|
env: COMPILER=appleclang LUA_VERSION=lua53
|
||||||
|
|
||||||
- os: osx
|
- os: osx
|
||||||
osx_image: xcode7
|
osx_image: xcode7
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: COMPILER=appleclang LUA_VERSION=luajit51
|
env: COMPILER=appleclang LUA_VERSION=luajit51
|
||||||
|
|
||||||
# Test using gcc
|
# Test using gcc
|
||||||
- os: osx
|
- os: osx
|
||||||
|
@ -106,7 +121,7 @@ matrix:
|
||||||
- os: osx
|
- os: osx
|
||||||
osx_image: xcode7
|
osx_image: xcode7
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
env: COMPILER=g++-4.9 LUA_VERSION=luajit51
|
env: COMPILER=g++-4.9 LUA_VERSION=luajit51
|
||||||
|
|
||||||
- os: osx
|
- os: osx
|
||||||
osx_image: xcode7
|
osx_image: xcode7
|
||||||
|
|
|
@ -57,7 +57,7 @@ For maximum ease of use, a script called `single.py` is provided. You can run th
|
||||||
|
|
||||||
## Supported Compilers
|
## Supported Compilers
|
||||||
|
|
||||||
Sol makes use of C++11/14 features. GCC 4.9 and Clang 3.4 or higher should be able to compile without problems. However, the
|
Sol makes use of C++11/14 features. GCC 4.9 and Clang 3.4 (with std=c++1z and appropriate standard library) or higher should be able to compile without problems. However, the
|
||||||
officially supported and CI-tested compilers are:
|
officially supported and CI-tested compilers are:
|
||||||
|
|
||||||
- GCC 4.9.0+
|
- GCC 4.9.0+
|
||||||
|
|
Loading…
Reference in New Issue
Block a user