mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-24 12:15:08 +00:00
ddfa365c20
Builds on Linux with gcc and clang, and also on Mac. Had to configure a more recent version of clang as the default Travis CI one is a bit outdated and wouldn't work. Unfortunately I was unable to install Nvidia Cg for Mac as it needs to run the installer interactively. Still, it builds without Cg support. It only covers a subset of the architectures, but that's better than nothing and should catch at least basic errors on pull requests (requires enabling Travis CI support in the GitHub repository settings).
38 lines
853 B
YAML
38 lines
853 B
YAML
# Use 'generic' to be able to override CC/CXX for clang
|
|
language: generic
|
|
|
|
matrix:
|
|
include:
|
|
- compiler: gcc
|
|
- compiler: clang
|
|
addons:
|
|
# Install a more recent clang than the default
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
- llvm-toolchain-precise-3.8
|
|
packages:
|
|
- clang-3.8
|
|
env: COMPILER_NAME=clang-3.8 CXX=clang++-3.8 CC=clang-3.8
|
|
- os: osx
|
|
osx_image: xcode7.3
|
|
script:
|
|
- xcodebuild -target RetroArch -configuration Release -project pkg/apple/RetroArch.xcodeproj
|
|
|
|
script:
|
|
- ./configure
|
|
- make
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- curl
|
|
- pkg-config
|
|
- libglu1-mesa-dev
|
|
- freeglut3-mesa
|
|
- mesa-common-dev
|
|
- libsdl1.2-dev
|
|
- libsdl-image1.2-dev
|
|
- libsdl-mixer1.2-dev
|
|
- libsdl-ttf2.0-dev
|