mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-06 20:52:33 -07:00
Travis: Remove use of sudo to enable use container-based builds
This commit is contained in:
@@ -11,8 +11,12 @@ fi
|
||||
|
||||
#if OS is linux or is not set
|
||||
if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then
|
||||
export CC=gcc-4.9
|
||||
export CXX=g++-4.9
|
||||
export PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig:$PKG_CONFIG_PATH
|
||||
|
||||
mkdir build && cd build
|
||||
cmake -DUSE_QT5=OFF ..
|
||||
cmake -DCITRA_FORCE_QT4=ON ..
|
||||
make -j4
|
||||
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
||||
export Qt5_DIR=$(brew --prefix)/opt/qt5
|
||||
|
Reference in New Issue
Block a user