1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 02:12:45 +01:00
Commit Graph

70 Commits

Author SHA1 Message Date
Filip Gawin
a63b084d31 Implement basic tests for audio decoding and playing 2019-04-10 20:29:34 +02:00
Daniel Evans
6f9e23acc9 Remove RW_TEST_WITH_DATA from test code 2019-01-21 20:31:31 +00:00
Anonymous Maarten
5e582fd393 conan: update qt, boost, ffmpeg, openal and sdl2 2019-01-05 05:22:28 +01:00
Anonymous Maarten
35731f2031 cmake: simplify wraptargets 2019-01-05 05:14:25 +01:00
Anonymous Maarten
80946d64e6 cmake: detect ffmpeg version 2019-01-05 05:14:25 +01:00
Anonymous Maarten
8efde3a5cb cmake: simplify FindSDL2 + detect SDL2 version
+ allow switching between static and shared SDL2
  without complete reconfiguration and rebuild.
2019-01-05 05:14:25 +01:00
Anonymous Maarten
c3573c8070 cmake: update code coverage cmake script
- add branch coverage
- ignore interface libraries
- ignore generator expressions
2018-12-28 00:58:10 +01:00
Anonymous Maarten
ca4a459e91 cmake: only match '^SF:/src/....' instead of '/src/...'
The previous regex erroneously matches the `src` subfolder of rwengine.
2018-11-29 01:57:48 +01:00
Anonymous Maarten
d43123ba50 ci: add ability to upload to codecov.io 2018-11-27 13:47:25 +01:00
Filip Gawin
0bee94d1b9 Try to use ninja on CI 2018-11-22 22:03:57 +00:00
Anonymous Maarten
d1cb0f143c cmake: detect glm version 2018-09-17 19:14:35 +02:00
Anonymous Maarten
c73e5d514d cmake+ci: install pdb's + enable on ci 2018-09-16 00:53:18 +02:00
Anonymous Maarten
564f6efeb5 ctest+ci: enable parallel building 2018-09-16 00:52:41 +02:00
Daniel Evans
9f1628ee58 CI: enable profiling path 2018-09-01 22:58:25 +01:00
Anonymous Maarten
80e1dfee1f ci: fail when tests fail
Downside is that failed test will not push artifacts
2018-08-15 22:53:34 +02:00
Anonymous Maarten
2bc1f560dd cmake: CHECK_INCLUDES -> CHECK_IWYU 2018-08-15 22:53:34 +02:00
Anonymous Maarten
fa1ff787e5 ci: add debug build 2018-08-15 22:53:34 +02:00
Anonymous Maarten
7eab14bee0 conan: update + latest versions 2018-08-15 22:53:32 +02:00
Anonymous Maarten
b545b79a4b cmake: do not use rwdep::xxx targets 2018-08-15 09:12:01 +02:00
Anonymous Maarten
dc595748a0 rwtools: enable on ci 2018-08-10 00:48:59 +02:00
Filip Gawin
7fafd3728e Usage of resampler for sounds
Commit fixes #458.

It also loosens the connection
between decoder and player (openAL).

It allows to easier replace
player if there's need.
2018-07-22 20:15:14 +02:00
Daniel Evans
caa1e1eee0
Merge pull request #508 from madebr/conan
Add support for Conan
2018-07-03 23:14:46 +01:00
Anonymous Maarten
adb5c32da2 ctest: increase the retry count for test submissions
Default retry count is 0 (=do not retry)
2018-06-14 15:55:33 +02:00
Anonymous Maarten
7d2da28dbc cmake: add ability to compile using conan package manager 2018-06-14 02:26:18 +02:00
Anonymous Maarten
1839b9c29d ctest: allow script_ci.sh to run on non CI machine 2018-06-14 02:18:10 +02:00
Anonymous Maarten
b6a2b2181d cmake: do not override find modules but wrap them separately 2018-06-14 02:10:54 +02:00
darkf
10b18dada2
Merge pull request #403 from madebr/clangtidy
Add clang-tidy support
2018-06-08 09:30:18 -05:00
Filip Gawin
e88d67bc5a Remove none sanitizer Thx @madebr 2018-06-08 10:18:05 +02:00
Filip Gawin
ec92476818 Add sanitizers
Leak sanitizer - tracks leaks.

Address sanitizer - like above and
prohibiteted operations on memory.

Thread sanitizer - tracks data races.

Undefined behaviour - like name says. ;)
2018-06-08 09:35:31 +02:00
Anonymous Maarten
1e6f9a1edc cmake: detect clang-tidy using cmake module + add helper function 2018-06-07 04:55:21 +02:00
Anonymous Maarten
f23304dfcc ctest: do not fail test on failed test submission 2018-02-13 22:15:26 +00:00
Anonymous Maarten
af7b84637d cmake+ci: rewrite ctest + add appveyor 2018-02-13 22:15:26 +00:00
Anonymous Maarten
27fb8bd462 cmake: windows static ffmpeg build has dependency on swresample 2018-02-13 22:15:26 +00:00
Anonymous Maarten
be879ea97e ci: redo error detection of travic cmake test script 2018-02-01 02:12:45 +00:00
Anonymous Maarten
590509037c cmake: let sources depend on the iwyu mapping file 2018-01-08 22:52:48 +00:00
Anonymous Maarten
bb09015cad ctest: No need to run ctest_coverage() twice 2018-01-08 22:52:48 +00:00
Anonymous Maarten
c758160d09 spelling: seperate -> separate 2018-01-05 06:21:34 +00:00
Anonymous Maarten
66b576dcee cmake: simplify packages to ALIASed libraries 2017-12-17 01:36:08 +00:00
Anonymous Maarten
9231ecbcb0 cmake: use OpenGL::GL instead of OpenGL::OpenGL
- OpenGL::GL -> defined to the platform-specific OpenGL libraries
- OpenGL::OpenGL -> defined to libOpenGL if the system is GLVND
2017-12-17 01:36:08 +00:00
Anonymous Maarten
934506f0c8 cmake: Optionally create XXX:XXX targets for override packages 2017-12-17 01:36:08 +00:00
Anonymous Maarten
0078a5c9b5 ci: let travis build tests with both TEST_NODATA=0 and 1 2017-10-31 08:17:34 +00:00
Anonymous Maarten
a40a2706a9 cmake: add support for include-what-you-use to check #include's
The output is currently very verbose and includes many false positives.
Adding a mapping file should solve this.

See
https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUMappings.md
2017-10-29 20:40:57 +00:00
Anonymous Maarten
a0895d0b2c ctest: the get_git_head_revision expects CMAKE_CURRENT_BINARY_DIR to be set 2017-10-29 20:40:57 +00:00
Anonymous Maarten
9e8a96ab7e tests: execute each test separately by CTest
Disabled by default because empty test suites fail and would cause
Travis to fail.
There can be empty test suites when testing with no data.
2017-10-29 20:40:57 +00:00
Anonymous Maarten
a9f8f27b21 cmake: add coverage support 2017-10-29 20:40:57 +00:00
Anonymous Maarten
ed4509fffa ctest: add experimental ctest script + rename ctest extensions to .ctest 2017-10-29 20:40:57 +00:00
Anonymous Maarten
728ac58768 cmake: move options and compiler configuration to separate files 2017-10-29 20:40:57 +00:00
Anonymous Maarten
aa1bbb0b57 ci: use ctest scripts to run the tests 2017-10-29 20:40:57 +00:00
Anonymous Maarten
06c4bf09f7 cmake: make OpenGL an imported target 2017-10-29 20:40:57 +00:00
Anonymous Maarten
5dc707aaed cmake: make OpenAL an imported target 2017-10-29 20:40:57 +00:00