Commit Graph

186 Commits

Author SHA1 Message Date
Michał Janiszewski 1fff7f17d9
Change ninja options to less verbosity, continue on error (#10652) 2020-02-04 00:06:15 +01:00
Ted John 5dbd3c7c0c Allow tests to work with CRLF test data 2020-02-02 15:47:50 +00:00
Ted John eab255c4bf
Add Linux portable to GitHub CI (#10612) 2020-01-24 11:46:12 +00:00
Ted John 3ba8369f22
Do major clean up of Windows CI workflow (#10581)
- Move many of the post build operations in openrc2.proj to bash scripts, some of which can be shared with the macOS and Linux CIs.
- Improve performance of NSIS stage by grabbing a pre-packaged portable zip from GitHub. This typically saves the CI a minute and is more reliable.
2020-01-19 14:04:59 +00:00
Ted John ee09ffadf7
Move Windows CI from AppVeyor to GitHub actions (#10573) 2020-01-16 13:17:17 +00:00
Ted John a66560045f Add macOS to GitHub actions 2020-01-09 17:20:58 +00:00
Matt 5c490b408b
Print clang-format version 2019-12-22 21:48:34 +01:00
Gokturk Yuksek 7bf05d4c04 Fix #10308: remove the last remnants of libsdl2-ttf references (#10321)
As per #5702, SDL2_ttf dependency is completely eliminated from
OpenRCT2. However, there are still references to it, which are
redundant and misleading. Clean up the remaining references to
libsdl2-ttf.

Closes: https://github.com/OpenRCT2/OpenRCT2/issues/10308
2019-12-02 07:41:18 +01:00
TheAssassin 0152eaa246 Build versioned AppImages (#10265) 2019-11-19 16:00:51 +01:00
Ted John 73dae03601
Update appveyor_deploy.ps1 2018-10-28 12:57:57 +00:00
Ted John c3f4260aad
Update appveyor_deploy.ps1 2018-10-28 12:32:08 +00:00
Ted John aae2cf9250
Find correct zip file 2018-10-28 11:47:34 +00:00
Michał Janiszewski 593f9a03ea Upload zipped symbols to backtrace.io 2018-10-28 00:16:08 +02:00
Ted John 5ec03c7a4c Remove unnecessary opinion from comment 2018-10-24 23:36:14 +02:00
Michał Janiszewski cc3beb9237 Upload symbols from AppVeyor to backtrace.io 2018-10-24 23:36:14 +02:00
Ted John 82107e5666
Merge pull request #7957 from TheAssassin/appimage
Add build scripts to create an AppImage.
2018-10-04 07:50:06 +01:00
Ted John e46b5c752a Build AppImage for release 2018-09-29 14:11:49 +01:00
Ted John 5ff7a0a4f8 Remove code signing clutter 2018-09-08 21:29:10 +01:00
TheAssassin 0b3ddc85d6 Remove redundant CLI flags 2018-08-29 22:32:47 +02:00
TheAssassin b189ea27b4 Switch to ninja 2018-08-29 22:23:53 +02:00
TheAssassin 4cc80613cb Remove compatibility hacks 2018-08-29 22:05:57 +02:00
Michał Janiszewski 5b85a944bb
Use LD_PRELOAD only on built binaries in 32-bit jobs
This avoids trying to preload the 32-bit library into 64-bit processes.
The exception is ctest which will be tried, but it's easiest to do it this way.
2018-08-29 10:55:44 +02:00
Michał Janiszewski 50d885fc4a
Use libSegFault to print stacktraces on Travis 2018-08-29 10:41:09 +02:00
Hielke Morsink c5ac6ffb08 Add run-clang-format to be run by Travis CI 2018-07-23 15:58:00 +02:00
TheAssassin 5ce90f8906 libfuse2 isn't needed any more 2018-07-01 14:12:05 +02:00
TheAssassin e567c568bb Remove deprecated icu build 2018-07-01 14:08:18 +02:00
TheAssassin 8b0ca9ef81 AppImage build scripts, mk. 1
Produces working AppImage for bionic and newer distros.
2018-07-01 14:04:37 +02:00
Ted John 314707d67a Add `git describe` support for AppVeyor builds 2018-06-14 12:52:01 +01:00
Michał Janiszewski bc67191925
Improve reporting of ccache stats
Now shows pre & post build stats in form of diff.
2018-05-30 13:50:17 +02:00
Michał Janiszewski aa8322e03a Use ccache in Travis Linux builds 2018-05-30 00:03:38 +02:00
Ted John bece5e5429
Merge pull request #7431 from IntelOrca/refactor/use-shared-ptr-1
Use shared_ptr for long-life objects
2018-05-13 00:19:43 +01:00
Michał Janiszewski af00a1de03 Use @IntelOrca's discord-rpc to fix discordapp/discord-rpc#134 2018-05-12 22:08:25 +02:00
Michał Janiszewski 9f8e1e7c9c Use discord-rpc 3.3.0 on Travis 2018-05-12 22:08:25 +02:00
Michał Janiszewski d284bcc4fe Filter out spammy messages from gcov 8.1.0
gcov 8 outputs **a lot** (gigabytes) of messages like

```
test_tile_elements.dir/test/tests/TestData.cpp.gcno:'main' has arcs to entry block
test_tile_elements.dir/test/tests/TestData.cpp.gcno:'main' has arcs from exit block
test_tile_elements.dir/test/tests/TileElements.cpp.gcno:'main' has arcs to entry block
test_tile_elements.dir/test/tests/TileElements.cpp.gcno:'main' has arcs from exit block
test_tile_elements.dir/test/tests/TileElements.cpp.gcno:'_ZNK9__gnu_cxx13new_allocatorIcE8max_sizeEv' has arcs to entry block
test_tile_elements.dir/test/tests/TileElements.cpp.gcno:'_ZNK9__gnu_cxx13new_allocatorIcE8max_sizeEv' has arcs from exit block
test_tile_elements.dir/test/tests/TileElements.cpp.gcno:'_ZN9__gnu_cxx13new_allocatorIcE8allocateEjPKv' has arcs to entry block
test_tile_elements.dir/test/tests/TileElements.cpp.gcno:'_ZN9__gnu_cxx13new_allocatorIcE8allocateEjPKv' has arcs from exit block
```

which we cannot alleviate, but they overload Travis' log size of 4MiB
causing the jobs to get killed.

This will simply silence those messages.
2018-05-12 22:06:56 +02:00
Michał Janiszewski ad0060f2b9
Use rapidjson with hack for GCC8 (#7503)
To be removed once https://github.com/Tencent/rapidjson/issues/1205 is fixed
2018-05-11 16:15:36 +02:00
Michał Janiszewski d240233671 Collect coverage on Travis 2018-04-23 20:35:36 +02:00
Michał Janiszewski 0b7fe2a71c Execute scan-objects on Travis 2018-04-22 22:42:20 +02:00
Michał Janiszewski a1e0e63633
Fix Travis builds by using tagged discord-rpc version 2018-04-17 20:35:36 +02:00
Michał Janiszewski 36f86440d9 Perform install target on Travis/docker64 2018-04-12 22:06:42 +02:00
Richard Jenkins 9a10218275 Update official domain 2018-02-05 13:32:53 +01:00
Michał Janiszewski a9179fff52 chmod whole build directory on Travis 2017-11-15 22:32:51 +01:00
Michał Janiszewski 8f3434d084 Add discord-rpc support to Linux 2017-11-15 22:32:51 +01:00
Michał Janiszewski 4e3a38b25d Use ctest for running tests 2017-09-24 23:02:26 +02:00
Michał Janiszewski 34fab632e6 Use ninja for building on Travis 2017-09-24 23:02:26 +02:00
Michał Janiszewski 8eb98777fe Remove unused configuration from build.sh 2017-08-24 11:24:38 +02:00
Michał Janiszewski 20330707c3 Remove unused configuration from install.sh 2017-08-24 11:23:28 +02:00
Richard Jenkins 5522422cbe Fix #6169: Windows installer runs game with admin privileges (#6176) 2017-08-17 12:16:36 +02:00
Richard Jenkins b92ba32781 Revert "Fix #6169: Windows installer runs game with admin privileges (#6171)" (#6175)
This reverts commit d84db2d463.
2017-08-14 09:09:25 +01:00
Richard Jenkins d84db2d463 Fix #6169: Windows installer runs game with admin privileges (#6171) 2017-08-13 01:37:40 +01:00
Michał Janiszewski cac9bbe481 Fix issues in install.sh 2017-07-28 20:38:30 +02:00
Michał Janiszewski 489ee9bd4f Fix issues in build scripts 2017-07-28 20:38:30 +02:00
Michał Janiszewski 8770b70ec0 Switch to deployment from MSVC2017
[ci skip]
2017-07-24 13:18:04 +02:00
Michał Janiszewski ada2569412 Update Travis configuration to use new mingw docker 2017-04-16 08:50:44 +02:00
Ted John 53d1375a95 Fix AppVeyor build / upload for tags 2017-01-29 23:29:20 +00:00
Ted John a5528fc661 Improve tag deployment on AppVeyor
[ci skip]
2017-01-28 22:28:48 +00:00
Lastorder 84d2f6c4c7 Fix #5010 windows builds not pushed
windows builds not pushed to openrct2.org due to invalid condition
2017-01-07 11:18:22 +00:00
Michał Janiszewski 1d35e5c7c4 Fix directory permissions, do `make install` 2016-12-16 23:32:48 +01:00
Michał Janiszewski 3bea7c0ad0 Make docker images use the same path as host for build 2016-12-16 23:08:52 +01:00
Michał Janiszewski dde9fd86f2 Use VS2017RC beta image on appveyor 2016-12-16 17:11:26 +00:00
Michał Janiszewski f29e84c723 Update MinGW libraries hash to match new zip
See https://github.com/OpenRCT2/openrct2.github.io/commit/55d22a591a2
2016-12-16 12:18:49 +01:00
Michał Janiszewski 2e674b9202 Migrate Linux Travis-CI jobs to docker containers 2016-12-15 16:55:17 +00:00
Ted John 8892a5e17c Fix AppVeyor for testing 2016-12-04 00:27:25 +00:00
Michał Janiszewski cae3f776f3 Run tests on travis 2016-12-01 16:03:27 +01:00
Michał Janiszewski 33749ccfbe Lower jansson version requirement to 2.3 for CMake/Debian builds (#4778)
We still need at least 2.3 for `json_object_foreach`
2016-11-09 12:57:06 +01:00
Michał Janiszewski c26b5ec2b8 Add checks ensuring CI scripts only run on CI 2016-10-21 17:08:16 +02:00
Marijn van der Werf 1be2dd996c Make testpaint a lot more quiet 2016-10-19 01:58:47 +02:00
Michał Janiszewski cdffaa0712 Fix travis runs of testpaint
`build.sh` script has `set -e` in the invocation, it fails the script
before we have a chance to inspect exit code of `testpaint`.

This melds checking of exit status into one command, so bash won't fail
it early.
2016-10-18 22:27:43 +02:00
Marijn van der Werf 871857ee24 Use debug build for Travis testpaint 2016-10-17 21:30:01 +02:00
Marijn van der Werf 8eac13b867 Run testpaint slightly more silent on Travis 2016-10-17 21:13:10 +02:00
Michał Janiszewski 5f422905b6 Allow testpaint's tests to pass a build
This will not pass a segfault, though.
2016-10-17 21:12:07 +02:00
Michał Janiszewski a617342519 Make 32 build also do `testpaint` target 2016-10-17 21:12:07 +02:00
Michał Janiszewski 8266c08215 Add docker64 entry to travis scripts 2016-10-16 00:24:11 +02:00
Ted John a77c37f680 Fix blank commit information for AppVeyor 2016-10-02 20:22:28 +01:00
Ted John 4ee9c2c76f Fix count-rct-globals script for Windows 2016-08-28 21:19:55 +01:00
Marijn van der Werf 51137b1fb6 Add script to count globals in use 2016-08-28 17:34:06 +01:00
Ted John bd006de77b Fix appveyor deployment script 2016-08-26 18:50:52 +01:00
Ted John c19437028d Move artifact upload to AppVeyor deploy 2016-08-26 18:29:42 +01:00
Ted John ce7afb92fd Migrate update libs to msbuild project 2016-08-26 00:45:57 +01:00
Ted John 76b0e3158b Delete obsolete scripts
[ciskip]
2016-08-25 23:49:59 +01:00
Ted John c86de10f3d Control what builds are uploaded 2016-08-25 23:38:48 +01:00
Ted John 72169f681b Fix environment variable rename 2016-08-25 20:28:30 +01:00
LRFLEW dd63caf5aa Disable NTFS Timestamps on Windows zip distributions 2016-08-13 00:18:26 +01:00
Ted John 7013e05c50 Update dependencies to version 9
This now includes both an x86 and x64 lib, so make changes accordingly to vcxproj.
2016-08-08 00:38:03 +01:00
Ted John 8851e43367 CI: Always add build symbols to artefacts 2016-07-11 13:00:25 +01:00
Marijn van der Werf 42ee299f65 Replace references to OS X 2016-06-13 19:49:06 +02:00
YJSoft 7a7813693c Delete useless if statement at build.sh (#3870)
`$SYSTEM != "Darwin"` First if
so `$SYSTEM == "Darwin"` will be useless.
2016-06-13 15:26:59 +02:00
Ted John f96c595502 copy data/shaders to bin 2016-06-12 23:42:53 +01:00
YJSoft b08efe7bda Add NetworkKey file and openssl ref.
Also changing library sha256
2016-05-27 20:28:33 +02:00
Michał Janiszewski 589b5a3b43 Use v8 libs 2016-05-27 20:28:33 +02:00
Ted John 871c6c2c90 Fix build.ps1 (#3742)
Fixes building on PowerShell 5, for some reason this wasn't a problem in 4.
2016-05-26 13:32:08 +01:00
Ted John 9d568ae944 add caching of secure-file 2016-05-04 22:54:26 +01:00
Ted John 4893abf8d1 add caching of chocolatey packages, (basically NSIS) 2016-05-04 22:33:35 +01:00
Ted John 3deb2ef363 fix NSIS when branches contain slashes 2016-05-04 22:07:48 +01:00
Ted John e29c2555c3 do not install NSIS for PRs 2016-05-04 21:39:27 +01:00
Ted John df781b3384 create symlinks only for data sub-directories 2016-05-03 18:49:14 +01:00
Marco van Munster 8bd9a772e6 Fix tabs and formatting 2016-05-03 17:54:19 +01:00
marcovmun 08b3e803bf Check if you can create a symlink first 2016-05-03 17:54:18 +01:00
Marco van Munster dcbbf2ec78 Symlink data to bin\data 2016-05-03 17:54:12 +01:00
Michał Janiszewski a4d2dd5451 Add linux64 job to travis matrix 2016-04-26 22:42:39 +02:00
Ted John 63f008566c Merge branch 'master' into develop 2016-04-15 23:25:45 +01:00