Commit Graph

45 Commits (7b064920dbc1766a28279b72379b7f6383f88a4f)

Author SHA1 Message Date
elsid 7d1cd11ba9
Split openmw_test_suite into openmw and components tests
To avoid duplicated compilation for openmw translation units. Link openmw-lib to
openmw-tests instead.
7 months ago
elsid e9c672b297
Fix build with cmake flag BUILD_SHARED_LIBS=ON
Always build opencs-lib as static library instead of BUILD_SHARED_LIBS deciding
whether it's static or shared library.
10 months ago
elsid c8a848777e
Build only openmw by Ubuntu_GCC_asan job 2 years ago
elsid 8e9c78d20c
Split Ubuntu_Clang_Tidy job 2 years ago
elsid 712feb0d92
Run CS tests in CI 2 years ago
elsid a5a3ccd0d2
Use ubuntu:20.04 docker image for Coverity 2 years ago
elsid 8e4f6fc4e4
Use FetchContent to get googletest 2 years ago
elsid 7036b1e94d
Use mold linker 2 years ago
elsid f1f3d12f7b
Replace tabs with spaces 2 years ago
elsid 9157c96c9b
Do not build bulletobjectool and niftest when build tests 2 years ago
elsid c51d949d1e
Add GCC Debug job
To build code with enabled assertions but disable symbols to make it faster.
2 years ago
Project579 c3e2f84273 Fix clang-tidy on CI and introduce .clang-tidy file 3 years ago
elsid 7989d1645f
Run integration tests in CI 3 years ago
jvoisin 12bace3552 Silence a minor git warning
No need to pollute the CI log output.
3 years ago
elsid 56b9e29093
Provide unit tests reports and coverage from CI
Use https://docs.gitlab.com/ee/ci/unit_test_reports.html#googletest for unit tests reports.
Use https://docs.gitlab.com/ee/user/project/merge_requests/test_coverage_visualization.html#cc-example
for coverage reports.
3 years ago
elsid 28ce8fd0f3
Add separate jobs to run tests with ASAN, TSAN, UBSAN
To not slow down benchmarks with all optimizations.
3 years ago
Petr Mikheev e4cb1a1370 Run unit tests in CI with -fsanitize=address 3 years ago
psi29a a79bdf07d2 do some bash magic to rearrange CXX_FLAGS 3 years ago
psi29a ca6262c033 switch Static Deps and Tests from GCC to clang and set to -O0 to speed up builds 3 years ago
jvoisin 40faf54250 Remove -bugprone-narrowing-conversions from clang-tidy 3 years ago
elsid 953a4c5550
Add a binary to generate navmesh from content files
Load content files based on the engine config files. Generate navmesh per cell
for all cells and store into SQLite database.
3 years ago
elsid 2bace703d5
Add dependency to SQLite3
This will be required by navmeshtool.
3 years ago
Evil Eye a1825980c4 Define OpenMW specific C++ flags 3 years ago
elsid 1b1deeb59b
Fail CI build when not allowed warnings are present
Put -Wno-error after -Wall to make it work properly for clang.
3 years ago
jvoisin 8056476d64 Add clang-tidy 3 years ago
elsid e1c525914c
Add CI jobs to build tests in debug mode 4 years ago
elsid 6492e9522a
Run benchmarks on gitlab CI 4 years ago
Gleb Mazovetskiy 2798db5418 CI/before_script.linux.sh: <tab> -> 4 spaces and remove unused ENV 4 years ago
Gleb Mazovetskiy 99ba45a308 Optional static builds of OSG, MyGUI, Bullet 4 years ago
elsid 23fe60a067
Run unit tests in a separate build 4 years ago
Bret Curtis ae49549f03
change build type to debug for ci/cd
it should set -O0 which should prioritise fast compilation for gcc
5 years ago
Bret Curtis ad25b22db7 removed need for split compilation for static analysis, we've gone from openmw taking 30 minutes to taking 3. Merging them also makes our before_script.linux.sh less complicated; removed redundant CMAKE flag; set build type to RelWithDebInfo as None has no meaning (even if it still builds). 5 years ago
Bret Curtis 61a5c6125d #5480: Drop Qt4 support and require Qt 5.12 or later. 5 years ago
elsid 99cd99bc3b
Remove unused BUILD_MYGUI_PLUGIN option 5 years ago
elsid c690f2d43d
Disable coverage for travis CI 5 years ago
elsid 26dfa287f9
Use ccache for linux CI build 6 years ago
Bret Curtis fc15fa0a89 we now have gcc-5 _and_ gcc-8, along with QT5 and use system tinyxml 6 years ago
Bret Curtis 9ae077c033
use c++11 std::align from <memory> (#2026)
* use c++11 std::align from <memory>

* for Ubuntu, use gcc5 instead of 4.8

* use travis to set gcc to 5

eval

and sudo

* use eval in .travis.yml

* use gcc-8

* replace precise with trusty llvm toolchain, because we have been using trusty for awhile now

* push things to matrix, so we can support multiple releases if we want

* we should not be allowing for failures, we are ready to start trusting clang and its analyzer

* scan-build was pushed to another package

* use gcc-8 still but wrap in scan-build

* travis.yml cleanup, have output of scripts go to stdout, make search for substring a regex

use double []

fix missing ,

use bash to use regex

black spaces matter

* set human readable names for our various builds, split out our static analysis between openmw and openmw-cs

* test if not set, then set otherwise ignore

* use quotes

* do not eval it, set it in travis env

* no more &&

* what does clang7 have to say?

* use sourceline for now

* use clang-7 instead of clang-7.0

* yes, llvm-toolchain-trusty-7 not llvm-toolchain-trusty-7.0

* for static analysis, openmw is compiled and checked on its own while openmw-cs is build with all the rest. this might change in the future.

and actually do it the other way around
6 years ago
elsid 792a0585c0 Add recastnavigation as subdirectory 6 years ago
elsid 3d97e96f55
Add dependency to recastnavigation 6 years ago
elsid ef631a0961
Add dependency for GMock 6 years ago
scrawl 63665104bf Remove optimization build flags on Travis-CI to speed up the build 9 years ago
Bret Curtis 10609ca5d1 how much memory in our vm? 9 years ago
Scott Howard 154bb04a77 add scan-build to travis matrix 10 years ago
Nikolay Kasyanov 8b2b54d89a Travis CI: enable OS X build
Refactor platform-specific calls from .travis.yml to separate .sh scripts.
Test suite still needs to be enabled & tested for OS X though.
10 years ago