Added additional CI test for passing sysroot flags via CC and CXX.
This commit is contained in:
parent
16f25c2e06
commit
e2952586d1
|
@ -32,6 +32,8 @@ matrix:
|
||||||
env: CXX_BUILD=1 CROSS_COMPILE=x86_64-w64-mingw32- CFLAGS="-D_WIN32_WINNT=0x0501"
|
env: CXX_BUILD=1 CROSS_COMPILE=x86_64-w64-mingw32- CFLAGS="-D_WIN32_WINNT=0x0501"
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
env: CC=gcc-8 CXX=g++-8
|
env: CC=gcc-8 CXX=g++-8
|
||||||
|
- compiler: gcc
|
||||||
|
env: CC="gcc-8 --sysroot=/" CXX="g++-8 --sysroot=/"
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
env: C89_BUILD=1 CC=gcc-8 CXX=g++-8
|
env: C89_BUILD=1 CC=gcc-8 CXX=g++-8
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
|
@ -105,7 +107,7 @@ matrix:
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- |
|
- |
|
||||||
if [ "$CC" = gcc-8 ]; then
|
if [[ "$CC" =~ ^gcc-8.* ]]; then
|
||||||
# Install a more recent gcc than the default
|
# Install a more recent gcc than the default
|
||||||
sudo apt-get install -y g++-8
|
sudo apt-get install -y g++-8
|
||||||
elif [ "$CC" = clang-6.0 ]; then
|
elif [ "$CC" = clang-6.0 ]; then
|
||||||
|
|
Loading…
Reference in New Issue