Commit Graph

108 Commits

Author SHA1 Message Date
Michał Janiszewski 1693f1bb2c Rename output files to match Windows' names 2016-02-19 00:52:08 +01:00
LRFLEW 5f2822f4a7 Fixed travis OS X failure and removed using 10.10 SDK 2016-01-27 00:53:33 -07:00
Michał Janiszewski b7820c09cd Add docs to CPack-generated packages
Includes licence, contributors, readme, etc.
2016-01-25 11:17:25 +01:00
Michał Janiszewski d076868f5a Make Travis-CI create better standalone packages
While CPack, the component used for handling installation of files into
proper places, works fine for `install` make target, it does somewhat
poor job when it comes to generating stand-alone packages.

List of offending items include:
* Improper tar archive structure (directory entries missing)
* Package layout not suitable for running stand-alone
* Top level directory name keeps changing which hinders upcoming
  installer

Thic commit takes care of these problems by generating the package using
`make install` and then shuffling files around manually.

This also changes the hash blurb to be 7 characters instead of 8, to be
more compatible with git defaults.
2016-01-25 11:17:25 +01:00
LRFLEW d585f85267 Fixed Uploading Builds 2016-01-22 19:21:45 -07:00
LRFLEW 394c0423f6 (Temp) Fix Travis OS X Build 2016-01-22 18:09:07 -07:00
Michał Janiszewski 69ac0b1fee Fix travis matrix 2016-01-19 16:54:13 +01:00
Michał Janiszewski 60ce32bbe0 Make filenames include 8-char git hash and version 2016-01-17 17:25:39 +01:00
Michał Janiszewski 80b85d2d2f Make travis push build artifacts to openrct2.org 2016-01-17 16:51:28 +01:00
Michał Janiszewski 7520bde6d3 Add support for OS X 10.10 in Travis CI builds
This downloads OS X 10.10 SDK, installs it and uses for compilation.

According to https://www.gosquared.com/global/mac/el-capitan/, current
market share among OS X versions is:
* 10.11 — 41.53%
* 10.10 — 38.65%
* 10.9  — 14.72%
* 10.8  — 5.60%
* 10.7  — 5.62%

I tried adding 10.9 SDK, but it fails to compile. With this change, we
should cover around 80% of OS X users.
2016-01-08 15:01:02 +01:00
Michał Janiszewski 683033d3f2 OS X job for Travis CI
This adds automated builds for OS X to our CI infrastructure.

XCode's `xcodebuild` tool is quite spammy by default, so I used a
prettifier for its output. Since this could potentially cover errors
from XCode due to piping of commands, I enabled `pipefail` option which
would cause all of pipe construct fail, should any of its commands exit
with non-zero code.

The created app bundle is packaged into dmg and uploaded to transfer.sh,
if the build was successful. To the best of my knowledge, this is *the*
way of packaging and distributing OS X applications.
2016-01-08 11:45:12 +01:00
Michał Janiszewski 5a17d6d2ec Limit travis jobs
Leave all passing jobs commented out for future reference in hopes they
will be tested with large changes or when doing changes to CMakeLists
2016-01-03 01:21:46 +01:00
Michał Janiszewski d4d3c80b37 Move scripts to new location 2015-12-22 23:47:57 +01:00
Michał Janiszewski 12d9278e1e Use 'trusty' image for travis now that it's public
Travis CI team has recently published beta image of Trusty for testing
[1]. Switch to that image for CI builds in a non-hacky way.

[1] http://blog.travis-ci.com/2015-10-14-opening-up-ubuntu-trusty-beta/
2015-10-23 00:04:19 +02:00
Michał Janiszewski ff19998846 Add clang to travis matrix 2015-10-22 23:54:07 +02:00
Michał Janiszewski ec1366dd29 use docker for 32bit build 2015-09-28 21:48:41 +02:00
Michał Janiszewski a16de307d7 Refactor project build scripts
This is mostly refactoring of cmake scripts, but also touches build.sh
and install.sh. The cmake should be much more palatable now for major
Linux distributions.

At the same time, new configuration is introduced to Linux version, one
with Twitch enabled.

Please note, however, this change requires update of orctlibs.zip for
mingw builds.
2015-09-28 21:10:21 +02:00
Michał Janiszewski fa5aa0a524 enable linux multiplayer build for travis 2015-09-24 20:03:12 +02:00
Michał Janiszewski 4df8761831 remove windows-only code
Step 1 on road towards Linux.

Remove windows-specific code, stub it out where needed and make sure we
can still compile it the way it is.

Take care of Travis' build matrix to include new build configuration.

Install new packages.
2015-09-18 16:01:38 +02:00
Michał Janiszewski 30cccce98b try libsdl2-dev:i386 2015-09-18 14:43:43 +02:00
Michał Janiszewski b4a9132105 Create a matrix of jobs for easier configuration testing
Right now it will post two jobs, one regular and the other one
with network disabled, so both get tested on future commits.
2015-09-18 12:01:00 +02:00
Ted John f271bc0721 Update .travis.yml 2015-09-09 18:27:01 +01:00
Michał Janiszewski cc6832cf48 fix travis builds by forcing it to ubuntu 14.04
This (for now) will force Travis' hand to use ubuntu 14.04 which has
mingw 4.8 available. It is enough to compile the project as it stands.
2015-09-09 09:08:28 +02:00
Michał Janiszewski 189c6bb0ee travis fixes 2015-08-05 23:25:49 +02:00
Kevin Burke b036a51cfd Move build instructions from travis into shell scripts
fix syntax

use elif

run it with bash

fix directory incantations

add missing build steps

dont use colors if not terminal

update install.sh

add sanity check

changes

set verbose mode

enable debug output

changes to get it working on mac

Platform specific cmakelists

fix issue with intptr_t not being found/defined

update build scripts

see if it can find the pkg-config

try running it outside of cmake

check whether excho works way we expect

try -e

remove debug info
2014-05-27 12:36:56 +09:00
Kevin Burke 37434bd6c2 add caching, IRC notifications
reduce verbosity

try using .cache folder

valid travis file

name file

push travis notifications to openrct2-dev

list directory contents

untar in the subfolder

see whats in that directory

ls more dirs

.patch is in subdir too

dont be a dummy

only download if files arent present

syntax

check correct files

check if anything is in cache

try filename with no period
2014-05-26 02:42:52 +09:00
anyc 7da7e483a3 added .travis.yml and modified CMake scripts 2014-05-24 16:18:28 +02:00
Kevin Burke ed61037bfb install extra package for stubs-32 deb 2014-05-24 13:01:34 +09:00
Kevin Burke ff63c8d1fe find stubs-32.h 2014-05-24 12:57:02 +09:00
Kevin Burke 0b0ea74706 try adding C include path 2014-05-24 12:48:32 +09:00
Kevin Burke ce85716eaf find predefs.h 2014-05-24 12:42:24 +09:00
Kevin Burke 242c40d5ff change ordering 2014-05-24 12:39:00 +09:00
Kevin Burke 48f9acad42 find iconv.h 2014-05-24 12:33:34 +09:00
Kevin Burke f68bd7013b oops. need to actually make it 2014-05-24 12:31:10 +09:00
Kevin Burke 6f800ba98c introduce syntax error 2014-05-24 12:28:26 +09:00
Kevin Burke 79b1f71317 just hardcode it 2014-05-24 12:24:57 +09:00
Kevin Burke de9d491155 sudo it harden it 2014-05-24 12:19:41 +09:00
Kevin Burke 80a74ae27d move it 2014-05-24 12:16:52 +09:00
Kevin Burke 5fc0b75414 try capitalization tricks 2014-05-24 12:13:50 +09:00
Kevin Burke 5ef8cd4f60 add sdl include dir 2014-05-24 12:08:33 +09:00
Kevin Burke 107937768e add include path 2014-05-24 12:04:06 +09:00
Kevin Burke 1f09b20a12 remove thing that isnt needed 2014-05-24 11:58:58 +09:00
Kevin Burke 0635567dcc doh 2014-05-24 11:56:20 +09:00
Kevin Burke 3d5c4df3d8 remove some packages 2014-05-24 11:56:11 +09:00
Kevin Burke 71cb38b155 another package' 2014-05-24 11:44:00 +09:00
Kevin Burke 885a3cf932 try adding another package 2014-05-24 11:41:24 +09:00
Kevin Burke df93c872d2 show what we have in usr bin 2014-05-24 11:36:10 +09:00
Kevin Burke d2198a11b9 install mingw related stuff 2014-05-24 11:29:02 +09:00
Kevin Burke cbf2897526 force yes 2014-05-24 11:26:05 +09:00
Kevin Burke 1c777a653f try updating keys as well 2014-05-24 11:25:26 +09:00
Kevin Burke 666ae9538d qq must mean yes 2014-05-24 11:20:42 +09:00
Kevin Burke c17117329b add some more yum repos 2014-05-24 11:18:43 +09:00
Kevin Burke 3b74bc8feb try installing libsdl2 2014-05-24 11:15:28 +09:00
Kevin Burke 1fd54f87a5 try cmake 2014-05-24 11:09:22 +09:00
Kevin Burke 799e4705f1 install mingw on travis 2014-05-24 02:16:51 +09:00
Kevin Burke 37d108dd62 change script. disable IRC notification for now 2014-05-24 01:56:37 +09:00
Kevin Burke 48195e9846 dont use configure 2014-05-24 01:51:09 +09:00
Kevin Burke 56bd0d9ab9 add very basic travis.yaml 2014-05-24 01:20:15 +09:00