Commit Graph

68 Commits

Author SHA1 Message Date
Margen67 2e8c16e028 Change shebang to env
Move parameters from shebang back into set.
Add set -e to setenv and vstool for consistency.
2022-03-16 18:21:11 -07:00
Margen67 67a70b4235 Use -n/-z in if conditions where possible 2022-03-16 18:21:11 -07:00
Margen67 abb2009af4 build-appimage-docker.sh: Replace wget with curl
This removes an unneeded dependency.
2022-03-16 18:21:11 -07:00
Margen67 3188865313
Script improvements (#14452)
shebang:
 Move parameters from set.
 Add newline after for consistency.
curl:
 Add -f;
  Prevents output on error.
 Use -O where applicable;
  -o with the same filename as the URL is pointless.
 Add -S after -s:
  Makes curl still error despite being silent.
build-symbols:
 Add zip fallback.
get-discord-rpc:
 Move git clone parameters before repository for readability.
 Use --depth 1 to speed up cloning.
install-nsis:
 Use ProgramData environment variable.
build-appimage-docker.sh:
 Add -e to docker run.
 Run script directly.
build-appimage.sh:
 Make if more consistent.
Remove unused Travis scripts.
setenv:
 unset instead of blanking variables.
vstool.cmd:
 Use ProgramFiles(x86) environment variable.
2021-04-12 19:01:15 -03:00
Julia Pinheiro b628bba704
Close #12429: Refactor OBJECT_ERROR to use strong enum and typo fix in build.sh (#13145)
* Close #12429: Refactor OBJECT_ERROR to use strong enum

* Typo Fix in build.sh: Unknown
2020-10-10 16:21:07 +01:00
Michael Steenbeek e83b86df4d
Replace occurrences of OpenRCT with OpenRCT2 (#11898) 2020-06-08 15:11:07 +02:00
Michał Janiszewski 1fff7f17d9
Change ninja options to less verbosity, continue on error (#10652) 2020-02-04 00:06:15 +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 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
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
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
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
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 ada2569412 Update Travis configuration to use new mingw docker 2017-04-16 08:50:44 +02: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 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
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