summaryrefslogtreecommitdiffstatshomepage
path: root/.travis.yml
diff options
context:
space:
mode:
author Dirk Best <mail@dirk-best.de>2020-10-21 13:42:17 +0200
committer GitHub <noreply@github.com>2020-10-21 22:42:17 +1100
commit3eaf1be30c5ada8c04221432e13465931f2419b5 (patch)
treeb7d7510a0507b66d84624ee8424f18ff327f21a8 /.travis.yml
parent48f2dc146fdfad115fa88c602d410beb87e1eac3 (diff)
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.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml20
1 files changed, 1 insertions, 19 deletions
diff --git a/.travis.yml b/.travis.yml
index e195a1df821..a6afe57517c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,21 +14,8 @@ addons:
- libxi-dev
- qt5-default
update: true
- homebrew:
- packages:
- - sdl2
- - sdl2_ttf
- update: true
jobs:
include:
- - os: osx
- osx_image: xcode11.6
- compiler: clang
- env: SUBTARGET=ci MAME=mameci64
- - os: linux
- arch: amd64
- compiler: gcc
- env: SUBTARGET=ci MAME=mameci64
- os: linux
arch: arm64
compiler: gcc
@@ -45,17 +32,12 @@ jobs:
- arch: ppc64le
fast_finish: true
script:
- - if [ $TRAVIS_OS_NAME == 'linux' ]; then
- if [ $CC == 'clang' ]; 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;
fi
- elif [ $TRAVIS_OS_NAME == 'osx' ]; then
- unset LDOPTS && make -j2 OPTIMIZE=0 USE_LIBSDL=1 TOOLS=1 && ./$MAME -validate;
- fi
branches:
only:
- master
notifications:
email: false
-