mirror of
https://github.com/7800-devtools/a7800.git
synced 2024-05-13 09:49:49 -04:00
initial upload to github
This commit is contained in:
parent
e6fd7c9d37
commit
2b5fba2aff
48
.drone.yml
Normal file
48
.drone.yml
Normal file
|
@ -0,0 +1,48 @@
|
|||
# Build configure for https://www.tea-ci.org (fork of Drone CI with Msys2 support)
|
||||
# 32-bit until release including https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=commitdiff;h=0aa738220bb9dea2ad479e484560767b36701947
|
||||
build:
|
||||
image: teaci/msys32
|
||||
shell: mingw32
|
||||
pull: true
|
||||
branches:
|
||||
-master
|
||||
environment:
|
||||
- SUBTARGET=tiny
|
||||
- MINGW32=/c/msys32/mingw32
|
||||
- MAME_EXE=mametiny.exe
|
||||
- IGNORE_GIT=1
|
||||
- TOOLS=1
|
||||
# - SOURCES=src/mame/drivers/pacman.cpp
|
||||
commands:
|
||||
# - pacman -S -q --noprogressbar --noconfirm winpty
|
||||
- make
|
||||
- ./$MAME_EXE -validate && echo "Validation successful"
|
||||
|
||||
notify:
|
||||
irc:
|
||||
prefix: build
|
||||
nick: $$IRC_USER
|
||||
channel: mame-dev
|
||||
server:
|
||||
host: $$IRC_HOST
|
||||
port: $$IRC_PORT
|
||||
password: $$IRC_PASS
|
||||
tls: true
|
||||
when:
|
||||
success: false
|
||||
failure: true
|
||||
change: true
|
||||
|
||||
# Need to regen secrets file (.drone.sec) from within tea-ci.org to enable
|
||||
#notify:
|
||||
# email:
|
||||
# from: git@mamedev.org
|
||||
# host: $$EMAIL_SERVER
|
||||
# username: $$EMAIL_USERNAME
|
||||
# password: $$EMAIL_PASSWORD
|
||||
# recipients:
|
||||
# - $$EMAIL_LISTADDR
|
||||
# when:
|
||||
# success: false
|
||||
# failure: false
|
||||
# change: true
|
46
.travis.yml
Normal file
46
.travis.yml
Normal file
|
@ -0,0 +1,46 @@
|
|||
language: cpp
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- g++-5
|
||||
- gcc-5
|
||||
compiler:
|
||||
- gcc
|
||||
- clang
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
matrix:
|
||||
exclude:
|
||||
- os: osx
|
||||
compiler: gcc
|
||||
- os: linux
|
||||
compiler: clang
|
||||
env:
|
||||
- SUBTARGET=tiny MAME=mametiny64
|
||||
script:
|
||||
- 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" && ./$MAME -validate;
|
||||
else make -j4 IGNORE_GIT=1 OPTIMIZE=0 OVERRIDE_CC="gcc-5" OVERRIDE_CXX="g++-5" && ./$MAME -validate;
|
||||
fi
|
||||
elif [ $TRAVIS_OS_NAME == 'osx' ]; then
|
||||
unset LDOPTS && make -j2 OPTIMIZE=0 USE_LIBSDL=1 && ./$MAME -validate;
|
||||
fi
|
||||
sudo: required
|
||||
before_install:
|
||||
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]; then sudo add-apt-repository ppa:zoogie/sdl2-snapshots -y; fi"
|
||||
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]; then sudo add-apt-repository ppa:beineri/opt-qt551-trusty -y; fi"
|
||||
- "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 libsdl2-dev libsdl2-ttf-dev libasound2-dev libxinerama-dev qt55base qt55quickcontrols qt55declarative qt55tools qt55svg; fi"
|
||||
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]; then source /opt/qt55/bin/qt55-env.sh; fi"
|
||||
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'osx' ]; then brew update; fi"
|
||||
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'osx' ]; then brew install sdl2 sdl2_ttf; fi"
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
notifications:
|
||||
email: false
|
||||
|
Loading…
Reference in a new issue