2015-07-10 14:41:08 +00:00
|
|
|
language: cpp
|
2019-08-24 21:39:48 +00:00
|
|
|
dist: bionic
|
2020-06-27 12:26:52 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
2015-09-18 17:15:07 +00:00
|
|
|
- os: osx
|
2020-06-27 12:26:52 +00:00
|
|
|
osx_image: xcode11.5
|
|
|
|
compiler: clang
|
|
|
|
env: SUBTARGET=tiny MAME=mametiny64
|
|
|
|
- os: linux
|
|
|
|
arch: amd64
|
2015-09-18 17:15:07 +00:00
|
|
|
compiler: gcc
|
2020-06-27 12:26:52 +00:00
|
|
|
env: SUBTARGET=tiny MAME=mametiny64
|
2015-12-11 05:13:37 +00:00
|
|
|
- os: linux
|
2020-06-27 12:26:52 +00:00
|
|
|
arch: arm64
|
|
|
|
compiler: gcc
|
|
|
|
env: SUBTARGET=tiny MAME=mametiny
|
|
|
|
- os: linux
|
|
|
|
arch: s390x
|
|
|
|
compiler: gcc
|
|
|
|
env: SUBTARGET=tiny MAME=mametiny64
|
2015-07-10 16:41:35 +00:00
|
|
|
script:
|
2015-09-18 17:24:54 +00:00
|
|
|
- if [ $TRAVIS_OS_NAME == 'linux' ]; then
|
|
|
|
if [ $CC == 'clang' ]; then
|
2019-10-18 14:30:48 +00:00
|
|
|
make -j2 IGNORE_GIT=1 OVERRIDE_CXX="clang++-3.6" OVERRIDE_CC="clang-3.6" TOOLS=1 && ./$MAME -validate;
|
2020-06-05 16:36:53 +00:00
|
|
|
else make -j4 IGNORE_GIT=1 OPTIMIZE=0 OVERRIDE_CC="gcc-10" OVERRIDE_CXX="g++-10" TOOLS=1 && ./$MAME -validate;
|
2015-07-10 16:41:35 +00:00
|
|
|
fi
|
2015-09-18 17:24:54 +00:00
|
|
|
elif [ $TRAVIS_OS_NAME == 'osx' ]; then
|
2019-10-18 14:30:48 +00:00
|
|
|
unset LDOPTS && make -j2 OPTIMIZE=0 USE_LIBSDL=1 TOOLS=1 && ./$MAME -validate;
|
2015-09-18 17:15:07 +00:00
|
|
|
fi
|
2015-07-10 14:41:08 +00:00
|
|
|
sudo: required
|
|
|
|
before_install:
|
2019-08-24 23:05:29 +00:00
|
|
|
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y; fi"
|
2015-09-18 16:46:29 +00:00
|
|
|
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]; then sudo apt-get update -qq; fi"
|
2020-06-05 16:36:53 +00:00
|
|
|
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]; then sudo apt-get install -y --force-yes gcc-10 g++-10 libsdl2-dev libsdl2-ttf-dev libasound2-dev libxinerama-dev libxi-dev qt5-default; fi"
|
2015-09-18 16:46:29 +00:00
|
|
|
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'osx' ]; then brew update; fi"
|
2016-05-28 11:15:12 +00:00
|
|
|
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'osx' ]; then brew install sdl2 sdl2_ttf; fi"
|
2015-09-17 11:32:59 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2016-05-27 19:00:24 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|
2016-06-09 15:08:12 +00:00
|
|
|
|