mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
Merge pull request #8611 from orbea/travis
travis: Add C89_BUILD and CXX_BUILD.
This commit is contained in:
commit
d6d882f34b
45
.travis.yml
45
.travis.yml
@ -10,6 +10,20 @@ matrix:
|
|||||||
- g++-mingw-w64-i686
|
- g++-mingw-w64-i686
|
||||||
- mingw-w64-i686-dev
|
- mingw-w64-i686-dev
|
||||||
env: CROSS_COMPILE=i686-w64-mingw32- CFLAGS="-D_WIN32_WINNT=0x0501"
|
env: CROSS_COMPILE=i686-w64-mingw32- CFLAGS="-D_WIN32_WINNT=0x0501"
|
||||||
|
- compiler: mingw-x86
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- g++-mingw-w64-i686
|
||||||
|
- mingw-w64-i686-dev
|
||||||
|
env: C89_BUILD=1 CROSS_COMPILE=i686-w64-mingw32- CFLAGS="-D_WIN32_WINNT=0x0501"
|
||||||
|
- compiler: mingw-x86
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- g++-mingw-w64-i686
|
||||||
|
- mingw-w64-i686-dev
|
||||||
|
env: CXX_BUILD=1 CROSS_COMPILE=i686-w64-mingw32- CFLAGS="-D_WIN32_WINNT=0x0501"
|
||||||
- compiler: mingw-x64
|
- compiler: mingw-x64
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
@ -17,10 +31,32 @@ matrix:
|
|||||||
- g++-mingw-w64-x86-64
|
- g++-mingw-w64-x86-64
|
||||||
- mingw-w64-x86-64-dev
|
- mingw-w64-x86-64-dev
|
||||||
env: CROSS_COMPILE=x86_64-w64-mingw32- CFLAGS="-D_WIN32_WINNT=0x0501"
|
env: CROSS_COMPILE=x86_64-w64-mingw32- CFLAGS="-D_WIN32_WINNT=0x0501"
|
||||||
|
- compiler: mingw-x64
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- g++-mingw-w64-x86-64
|
||||||
|
- mingw-w64-x86-64-dev
|
||||||
|
env: C89_BUILD=1 CROSS_COMPILE=x86_64-w64-mingw32- CFLAGS="-D_WIN32_WINNT=0x0501"
|
||||||
|
- compiler: mingw-x64
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- g++-mingw-w64-x86-64
|
||||||
|
- mingw-w64-x86-64-dev
|
||||||
|
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: C89_BUILD=1 CC=gcc-8 CXX=g++-8
|
||||||
|
- compiler: gcc
|
||||||
|
env: CXX_BUILD=1 CC=gcc-8 CXX=g++-8
|
||||||
- compiler: clang
|
- compiler: clang
|
||||||
env: CC=clang-6.0 CXX=clang++-6.0
|
env: CC=clang-6.0 CXX=clang++-6.0
|
||||||
|
- compiler: clang
|
||||||
|
env: C89_BUILD=1 CC=clang-6.0 CXX=clang++-6.0
|
||||||
|
- compiler: clang
|
||||||
|
env: CXX_BUILD=1 CC=clang-6.0 CXX=clang++-6.0
|
||||||
- os: osx
|
- os: osx
|
||||||
osx_image: xcode8
|
osx_image: xcode8
|
||||||
script:
|
script:
|
||||||
@ -55,7 +91,14 @@ script:
|
|||||||
else
|
else
|
||||||
./configure
|
./configure
|
||||||
fi
|
fi
|
||||||
- make
|
- |
|
||||||
|
if [ -n "$C89_BUILD" ]; then
|
||||||
|
make C89_BUILD=1
|
||||||
|
elif [ -n "$CXX_BUILD" ]; then
|
||||||
|
make CXX_BUILD=1
|
||||||
|
else
|
||||||
|
make
|
||||||
|
fi
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user