2015-07-10 16:41:08 +02:00
|
|
|
language: cpp
|
2020-08-22 05:23:11 +02:00
|
|
|
dist: focal
|
2020-07-23 18:20:25 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- gcc-10
|
|
|
|
- g++-10
|
|
|
|
- libsdl2-dev
|
|
|
|
- libsdl2-ttf-dev
|
|
|
|
- libasound2-dev
|
|
|
|
- libxinerama-dev
|
|
|
|
- libxi-dev
|
|
|
|
- qt5-default
|
|
|
|
update: true
|
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- sdl2
|
|
|
|
- sdl2_ttf
|
|
|
|
update: true
|
2020-06-27 14:26:52 +02:00
|
|
|
jobs:
|
|
|
|
include:
|
2015-09-18 19:15:07 +02:00
|
|
|
- os: osx
|
2020-07-23 18:20:25 +02:00
|
|
|
osx_image: xcode11.6
|
2020-06-27 14:26:52 +02:00
|
|
|
compiler: clang
|
2020-08-12 18:54:22 +02:00
|
|
|
env: SUBTARGET=ci MAME=mameci64
|
2020-06-27 14:26:52 +02:00
|
|
|
- os: linux
|
|
|
|
arch: amd64
|
2015-09-18 19:15:07 +02:00
|
|
|
compiler: gcc
|
2020-08-12 18:54:22 +02:00
|
|
|
env: SUBTARGET=ci MAME=mameci64
|
2015-12-11 06:13:37 +01:00
|
|
|
- os: linux
|
2020-06-27 14:26:52 +02:00
|
|
|
arch: arm64
|
|
|
|
compiler: gcc
|
2020-08-12 18:54:22 +02:00
|
|
|
env: SUBTARGET=ci MAME=mameci
|
2020-06-27 14:26:52 +02:00
|
|
|
- os: linux
|
|
|
|
arch: s390x
|
|
|
|
compiler: gcc
|
2020-08-12 18:54:22 +02:00
|
|
|
env: SUBTARGET=ci MAME=mameci64
|
2020-08-22 05:23:11 +02:00
|
|
|
- os: linux
|
|
|
|
arch: ppc64le
|
|
|
|
compiler: gcc
|
|
|
|
env: SUBTARGET=ci MAME=mameci64
|
|
|
|
allow_failures:
|
|
|
|
- arch: ppc64le
|
|
|
|
fast_finish: true
|
2015-07-10 18:41:35 +02:00
|
|
|
script:
|
2015-09-18 19:24:54 +02:00
|
|
|
- if [ $TRAVIS_OS_NAME == 'linux' ]; then
|
|
|
|
if [ $CC == 'clang' ]; then
|
2019-10-18 16:30:48 +02:00
|
|
|
make -j2 IGNORE_GIT=1 OVERRIDE_CXX="clang++-3.6" OVERRIDE_CC="clang-3.6" TOOLS=1 && ./$MAME -validate;
|
2020-06-05 18:36:53 +02:00
|
|
|
else make -j4 IGNORE_GIT=1 OPTIMIZE=0 OVERRIDE_CC="gcc-10" OVERRIDE_CXX="g++-10" TOOLS=1 && ./$MAME -validate;
|
2015-07-10 18:41:35 +02:00
|
|
|
fi
|
2015-09-18 19:24:54 +02:00
|
|
|
elif [ $TRAVIS_OS_NAME == 'osx' ]; then
|
2019-10-18 16:30:48 +02:00
|
|
|
unset LDOPTS && make -j2 OPTIMIZE=0 USE_LIBSDL=1 TOOLS=1 && ./$MAME -validate;
|
2015-09-18 19:15:07 +02:00
|
|
|
fi
|
2015-09-17 13:32:59 +02:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2016-05-27 21:00:24 +02:00
|
|
|
notifications:
|
|
|
|
email: false
|
2016-06-09 17:08:12 +02:00
|
|
|
|