added drone.yml file for tea-ci integration

This commit is contained in:
Zach Bacon 2017-05-11 15:49:14 -04:00
parent 10e1b7a6dd
commit dfb22709ce
1 changed files with 30 additions and 0 deletions

30
.drone.yml Normal file
View File

@ -0,0 +1,30 @@
# Build configuration for https://www.tea-ci.org
# Tea CI is a fork of Drone CI with Cygwin/Msys2 support
# Feel free to share Tea CI to more open source developers
# http://docs.tea-ci.org/usage/overview/
# Please add your project to https://github.com/TeaCI/tea-ci/wiki/Msys2-on-Wine#use-msys2-in-tea-ci
build:
image: teaci/msys$$arch
pull: true
shell: mingw$$arch
commands:
- if [ $$arch = 32 ]; then target=i686; fi
- if [ $$arch = 64 ]; then target=x86_64; fi
- pacman -S --needed --noconfirm --noprogressbar mingw-w64-${target}-cmake mingw-w64-${target}-ffmpeg mingw-w64-${target}-SDL2 mingw-w64-${target}-openal mingw-w64-${target}-sfml mingw-w64-${target}-extra-cmake-modules mingw-w64-${target}-cairo mingw-w64-${target}-zlib mingw-w64-${target}-libpng nasm
- ./autogen.sh
- ./configure
- make
- make check
notify:
irc:
prefix: build
nick: vbam-ci
channel: #vba-m
server:
host: irc.freenode.net
port: 6667
matrix:
arch:
- 64
- 32