mame/.travis.yml
Dirk Best 3eaf1be30c
Create GitHub Actions for CI (#7335)
This is intended as a replacement for AppVeyor and parts of TravisCI. It will create full builds of MAME (including tools) for the following platforms:

- Linux (GCC and Clang)
- macOS (Clang)
- Windows (GCC and MSVC 2019)

It will also upload the resulting executable as artifact so that it can be used for regression testing.

This commit also removes the unused TeaCI drone files.
2020-10-21 22:42:17 +11:00

43 lines
945 B
YAML

language: cpp
dist: focal
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
jobs:
include:
- os: linux
arch: arm64
compiler: gcc
env: SUBTARGET=ci MAME=mameci
- os: linux
arch: s390x
compiler: gcc
env: SUBTARGET=ci MAME=mameci64
- os: linux
arch: ppc64le
compiler: gcc
env: SUBTARGET=ci MAME=mameci64
allow_failures:
- arch: ppc64le
fast_finish: true
script:
- 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;
fi
branches:
only:
- master
notifications:
email: false