mame/.travis.yml

43 lines
1.5 KiB
YAML
Raw Normal View History

2015-07-10 14:41:08 +00:00
language: cpp
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
make -j2 IGNORE_GIT=1 OVERRIDE_CXX="clang++-3.6" OVERRIDE_CC="clang-3.6" TOOLS=1 && ./$MAME -validate;
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
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"
- "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