forked from milkytracker/MilkyTracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (44 loc) · 972 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
language: cpp
git:
submodules: true
jobs:
include:
- os: linux
dist: bionic
addons:
apt:
packages:
- libjack-dev
- liblhasa-dev
- librtmidi-dev
- libsdl2-dev
- libzzip-dev
script: &cmake_build
- mkdir build
- pushd build
- cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 ..
- cmake --build .
- cpack
- popd
- os: osx
addons:
homebrew:
packages:
- xmlto
before_install:
- pushd resources/pictures/docicons/osx
- wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/docerator/docerator-2.0.zip
- unzip docerator-2.0.zip -d docerator
- rm docerator-2.0.zip
- "/usr/bin/python genicons.py"
- popd
script: *cmake_build
deploy:
provider: releases
token: $GITHUB_TOKEN
skip_cleanup: true
file_glob: true
file: build/milkytracker-*
on:
repo: milkytracker/MilkyTracker
tags: true