mirror of
https://github.com/reswitched/Mephisto.git
synced 2024-06-16 03:16:50 -04:00
39 lines
759 B
YAML
39 lines
759 B
YAML
language: c++
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
dist: trusty
|
|
sudo: required
|
|
- os: osx
|
|
osx_image: xcode9.1
|
|
compiler: clang
|
|
|
|
|
|
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
- llvm-toolchain-trusty-5.0
|
|
packages:
|
|
- clang-5.0
|
|
- llvm-5.0
|
|
- llvm-5.0-dev
|
|
- lld-5.0
|
|
- liblz4-dev
|
|
install:
|
|
- pip2 install --user -r requirements.txt
|
|
- git clone https://github.com/reswitched/unicorn.git
|
|
- cd unicorn
|
|
- UNICORN_ARCHS="aarch64" ./make.sh
|
|
- sudo ./make.sh install
|
|
- cd ..
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then CC=clang++-5.0; Ld=ld.lld-5.0; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then CC=clang++; brew update; brew install lz4; fi
|
|
|
|
|
|
|
|
script: make LD=$Ld CC=$CC
|
|
|