mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 10:42:36 +01:00
eea3aa9729
* various changes to make it compile with clang * don't compile recompiler on linux yet but make the CMake build include asmjit already * add experimental travis bot * modify yml to match * try to build and install wxWidgets, since it's not in the travis repo * use newer cmake version for travis * add keys with sudo * use sudo for all apt- commands * Add additional dependencies * use version approriate gcc flags for c++11 * try clang, gcc too old * set c++0x flag for clang * use gcc 4.8 * use gcc 4.8 and add the repo for it * use gcc 4.8 even for clang to get newer headers * fix ambiguous conversions * add lz from hykem and more explicit conversions from be for x86 * more switch disambiguation * more switch disambiguation * add additional unigned int casts to deal with be_t conversion ambiguity * remove unnecessary clang flag * add lz.cpp to vcxproj and cast to u32 instead of unsigned int * correct temporaray #ifdefs
36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
YAML
language: cpp
|
|
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
before_install:
|
|
- echo "yes" | sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
|
|
- echo "yes" | sudo apt-add-repository 'deb http://repos.codelite.org/wx3.0/ubuntu/ precise universe'
|
|
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
|
- sudo apt-get update
|
|
- sudo apt-get install libwxgtk3.0-dev libopenal-dev freeglut3-dev libglew-dev
|
|
- sudo apt-get install aria2 -qq
|
|
- download_extract() { aria2c -x 16 $1 -o $2 && tar -xf $2; }
|
|
# Travis uses CMake 2.8.7. We require 2.8.8. Grab latest
|
|
- sudo apt-get install -qq g++-4.8
|
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
|
|
- sudo apt-get install lib32stdc++6 -qq &&
|
|
aria2c -x 16 http://www.cmake.org/files/v2.8/cmake-2.8.12.1-Linux-i386.sh &&
|
|
chmod a+x cmake-2.8.12.1-Linux-i386.sh &&
|
|
sudo ./cmake-2.8.12.1-Linux-i386.sh --skip-license --prefix=/usr;
|
|
|
|
before_script:
|
|
- git submodule update --init --recursive
|
|
- mkdir build
|
|
- cd build
|
|
- cmake ..
|
|
|
|
script:
|
|
- make
|
|
|