1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 15:29:55 +00:00
Commit graph

347 commits

Author SHA1 Message Date
elsid
1e80b9f225
Do not add CMake to system path 2023-03-16 20:28:55 +01:00
elsid
664c58d138
Report disk size on windows 2023-03-16 20:27:52 +01:00
elsid
00d0c81df9
Use installed CMake for Windows CI jobs 2023-03-15 01:08:28 +01:00
elsid
712feb0d92
Run CS tests in CI 2023-03-12 12:06:33 +01:00
psi29a
efebb8efd8 Merge branch 'cmake_fixes' into 'master'
Formatting and coverage related CMake files fixes

See merge request OpenMW/openmw!2811
2023-03-12 11:03:06 +00:00
psi29a
d4d9b2d699 Merge branch 'multithreaded-bullet-windows' into 'master'
Use multithreaded Bullet libraries on Windows

Closes #7270

See merge request OpenMW/openmw!2816
2023-03-12 10:49:04 +00:00
psi29a
3594f92e3a Merge branch 'symstore' into 'master'
Package symbols for symbol server in CI

See merge request OpenMW/openmw!2818
2023-03-12 10:48:52 +00:00
AnyOldName3
946e905d58 Bump cache key for new Bullet binaries 2023-03-11 18:36:06 +00:00
elsid
a527db8ca7
Enforce space only indendation in CMake files 2023-03-10 15:28:14 +01:00
elsid
d2ef0f6a9e
Check file names
File names should follow https://wiki.openmw.org/index.php?title=Naming_Conventions#Files.
Enforce this in CI. Add a list of exceptions for already present files.
2023-02-25 17:38:08 +01:00
uramer
7a7fd128aa Revert formatting .gitlab-ci.yml 2023-02-19 18:00:46 +01:00
uramer
a8d32ebdca Rename the build_teal script 2023-02-11 14:10:16 +01:00
uramer
7d4222b9ce Zip the teal directory 2023-02-11 12:51:58 +01:00
uramer
75fcf53f7d Teal CI 2023-02-11 12:51:58 +01:00
elsid
9c8a110efb
Print crash log in integration tests CI job 2023-01-30 09:30:55 +01:00
elsid
42a3b3ca49
Drop -fsanitize=pointer-compare for Ubuntu_GCC_tests_asan CI job
Otherwise compiler may produce a code that linker fails to link.

For openmw it fails with following error
(https://gitlab.com/elsid/openmw/-/jobs/3571943608):

Linking CXX executable ../../openmw_test_suite mold: error: undefined symbol:
CMakeFiles/openmw_test_suite.dir/lua/test_configuration.cpp.o:
std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char>
>::_M_high_mark() const

Related issue in a different project with links to GCC bug tracker:
https://github.com/cms-sw/cmssw/issues/36480
2023-01-10 00:44:31 +01:00
Petr Mikheev
9902be0e97 Increment cache key for windows builds in .gitlab-ci.yml 2022-12-03 17:09:11 +01:00
psi29a
1cd17d8430 See if we can get away with using another version of clang with coverity 2022-09-30 13:15:27 +00:00
AnyOldName3
3e094684e9 Fix paths 2022-09-26 19:12:09 +01:00
AnyOldName3
f98cb67cad Experiment with symbol server style symbol storage 2022-09-26 17:22:00 +01:00
ζeh Matt
afa1b0077d
Improve clang-format checking script 2022-09-22 22:57:03 +03:00
ζeh Matt
ad0d33ba6f
Disallow clang-format check failing 2022-09-22 22:10:55 +03:00
ζeh Matt
91ed7f73b9
Allow the check to fail for the time being 2022-09-20 23:18:19 +03:00
ζeh Matt
3e9fccd7f0
Test clang-format project wide in same pipeline 2022-09-20 23:18:19 +03:00
Matt
869a0ce2c1 Revert "Merge branch 'ci-improvement' into 'master'"
This reverts merge request !2387
2022-09-15 13:58:32 +00:00
ζeh Matt
2dde598326
Adjust rules and remove them from templates 2022-09-09 18:36:44 +03:00
ζeh Matt
98ffe5e885
Only run one pipeline for merge requests 2022-09-09 18:10:56 +03:00
psi29a
bcb4215c84 Comment out flatpack build for now. 2022-08-17 06:59:43 +00:00
psi29a
856fcb7742 Merge branch 'FlatpakCI' into 'master'
Flatpak CI Build

See merge request OpenMW/openmw!2066
2022-08-16 10:55:02 +00:00
psi29a
40471666c1 Merge branch 'cherry-pick-cc27baec' into 'master'
Merge branch 'update-windows-deps' into 'master'

See merge request OpenMW/openmw!2283
2022-08-16 08:49:24 +00:00
psi29a
0e031741e7 Update .gitlab-ci.yml 2022-08-16 07:50:07 +00:00
psi29a
598af8122b removed clang_no_mold 2022-08-16 07:35:23 +00:00
psi29a
db5ca630f7 Merge branch 'update-windows-deps' into 'openmw-48'
Update OSGoS dependency package

See merge request OpenMW/openmw!2278

(cherry picked from commit cc27baec62)

14663b83 Update OSGoS dependency package
944e7489 Use the correct debug-suffixes for dependencies
619bb73d Add lost backslash
149d0b2f Increment CI cache key for Windows builds
2022-08-16 07:21:47 +00:00
psi29a
0d5d416ee4 Update .gitlab-ci.yml, CI/install_debian_deps.sh 2022-08-12 07:04:11 +00:00
psi29a
202502c34b Comment Android ndk out until it someone fixes things to work with NDK >= 24 2022-08-10 22:31:09 +00:00
elsid
a5a3ccd0d2
Use ubuntu:20.04 docker image for Coverity 2022-08-05 11:46:05 +02:00
elsid
7036b1e94d
Use mold linker 2022-07-31 20:27:42 +02:00
elsid
3479aa5bff
Add separate CI job with clang tidy 2022-07-31 19:59:24 +02:00
elsid
c51d949d1e
Add GCC Debug job
To build code with enabled assertions but disable symbols to make it faster.
2022-07-31 19:59:24 +02:00
elsid
48ddcda992
Enable GCC test jobs
To build tests in release mode, run tests with sanitizers and measure coverage.
2022-07-31 19:59:24 +02:00
elsid
13a92b8cc2
Use Ubuntu 22.04 for Linux builds 2022-07-29 12:08:16 +02:00
Project579
7a715a7d73 Revert "Re-enable Windows tests."
This reverts commit f8cec04ce74949bf2a86fec3e1bf2c0665419b26.
2022-07-17 11:23:14 +02:00
Project579
02ef9c953e MSVC: Fix all warnings at level 4, upgrade Qt5 to 5.15.2 to also reduce warnings, disabled 5054 warnings due to Qt5's use of deprecated operators in C++20 . 2022-07-17 11:23:12 +02:00
Project579
9e59a7e271 Re-enable Windows tests. 2022-07-17 11:21:55 +02:00
Project579
5ee825b5f6 Enable warnings as errors in MSVC builds. 2022-07-17 11:21:55 +02:00
elsid
6c9940c2a5
Remove .o files before install
These files are not required to perform install but take disk space.
2022-07-15 21:37:12 +02:00
Project579
c3e2f84273 Fix clang-tidy on CI and introduce .clang-tidy file 2022-07-13 00:38:24 +00:00
psi29a
7ca4af308e Merge branch 'revert-7a390a35' into 'master'
Revert "Merge branch 'macos_for_all' into 'master'"

See merge request OpenMW/openmw!2077
2022-07-12 13:16:45 +00:00
psi29a
b2cf0918f5 Update .gitlab-ci.yml 2022-07-06 08:41:54 +00:00
psi29a
9519764a74 Update .gitlab-ci.yml 2022-07-06 07:56:31 +00:00
psi29a
94ea3e3a23 disable android's install step to work around no space left 2022-07-06 07:54:23 +00:00
elsid
7989d1645f
Run integration tests in CI 2022-07-04 20:38:29 +02:00
AnyOldName3
62d8c887c0 Revert "Merge branch 'macos_for_all' into 'master'"
This reverts merge request !2007
2022-07-02 16:04:03 +00:00
Jan Thomas
274ad0785d add flatpak ci 2022-06-30 15:06:28 +02:00
AnyOldName3
706f6ed788 Ensure we don't clobber the download link while we're using RelWithDebInfo dev builds 2022-06-15 21:39:24 +00:00
AnyOldName3
467fda0110 Properly combine jobs 2022-06-14 20:43:49 +00:00
AnyOldName3
f04ea4a7a8 See if 1h time limit for Windows has been removed
https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27771 has been closed and GitLab's published an update since
2022-06-13 22:08:58 +00:00
jvoisin
9067db523b Get rid of Gitlab SAST
It's completely broken currently, beside
being useless: grepping C++ code to find problem
isn't SAST, it's noise.
2022-06-13 20:10:25 +02:00
psi29a
e9567e5b3d macos for all! 2022-06-12 19:03:50 +00:00
psi29a
bb0dad7c08 Update to C++20 and see if our CI can handle it. 2022-06-12 08:00:11 +00:00
elsid
92b9e9269d
Run sast jobs in parallel with build jobs 2022-06-10 02:44:29 +02:00
psi29a
63413fba3a reduce the number of builds, by a lot 2022-06-08 19:05:13 +00:00
Bret Curtis
a6b9ce9a7a remove macos11 build as it uses 6x times more CI minutes; expensive 2022-06-08 15:43:57 +02:00
Benjamin Winger
248e3d3c2e macOS CI changes 2022-05-29 19:32:53 +00:00
elsid
7b819c54b5
Remove redundant build output before archiving artifacts and packing the cache 2022-05-26 21:24:33 +02:00
jvoisin
5df9573e54 Improve a bit our SAST 2022-05-17 21:42:14 +02:00
psi29a
50561bc787 Merge branch 'jvoisin-master-patch-82710' into 'master'
Make use of Gitlab's SAST

See merge request OpenMW/openmw!1736
2022-05-16 08:45:17 +00:00
elsid
06225c6968 Fix collecting cobertura reports 2022-05-06 19:41:29 +00:00
AnyOldName3
2f10ccd18f Disable Chocolatey community repo
This should work around https://github.com/chocolatey/choco/issues/1541, which causes priority to be ignored and our proxy cache to be skipped
2022-05-03 22:51:34 +00:00
Mads Buvik Sandvei
606a795a54 multiview linker-method 2022-04-28 21:09:06 +02:00
madsbuvi
dd5901d351 Initial commit
Multiview shaders.

Refactor Frustum management

Rewrite shared shadow map

cull mask should respect stereo

Stereo savegame screencap

LocalMap refactoring

use the vertex buffer hint instead of the display list patch to enable/disable display lists

Character preview fixes
2022-04-28 21:05:34 +02:00
ζeh Matt
0c2c47810c
Increase CI timeout for windows builds to 2h 2022-04-25 12:35:00 +03:00
jvoisin
52743dadf3 Update .gitlab-ci.yml 2022-04-05 18:35:09 +00:00
jvoisin
a8020d8076 Make use of Gitlab's SAST
https://docs.gitlab.com/ee/user/application_security/sast/
2022-04-03 19:08:16 +02:00
psi29a
f6757ce124 ccache for Windows 2022-03-02 09:06:58 +00:00
psi29a
bb2a7d7996 Merge branch 'coverage' into 'master'
Provide unit tests and coverage reports from CI

See merge request OpenMW/openmw!1675
2022-02-23 08:26:23 +00:00
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.
2022-02-22 00:17:20 +01:00
jvoisin
a55f1ad103 Merge branch 'bullet_object_tool' into 'master'
Add a tool to load and print information about all bullet objects in all cells

See merge request OpenMW/openmw!1627
2022-02-20 14:09:26 +00:00
elsid
d96e2037e3
Build tests by gcc with enabled stdlibc++ assertions in debug mode
This can catch some problems in the code like out of bounds access for
string_view element via operator[] when it refers a buffer larger than the
view.
2022-02-17 01:30:34 +01:00
elsid
e7f3524924
Add a tool to load and print information about all bullet objects in all cells 2022-02-04 16:14:52 +01:00
psi29a
010dc90d42 Have Android CI also use latest ccache to fix issues with cmake. 2022-01-31 07:57:08 +00:00
elsid
28ce8fd0f3
Add separate jobs to run tests with ASAN, TSAN, UBSAN
To not slow down benchmarks with all optimizations.
2022-01-30 02:03:45 +01:00
psi29a
90691814ee Update .gitlab-ci.yml 2022-01-21 21:06:01 +00:00
psi29a
ca6262c033 switch Static Deps and Tests from GCC to clang and set to -O0 to speed up builds 2022-01-18 18:22:46 +00:00
jvoisin
5d7db94a23 Keep coverity logs as artifacts instead of deploying them 2022-01-08 22:08:05 +01:00
psi29a
e743f896ef Update .gitlab-ci.yml 2022-01-04 10:48:25 +00:00
jvoisin
c61967a316 Use -O0 when compiling with coverity 2021-12-26 14:51:40 +01:00
psi29a
a2a45ccdb3 have coverity use clang instead of gcc 2021-12-26 13:26:35 +00:00
jvoisin
ca45391079 Only run static jobs when cmake-related things are modified 2021-12-22 12:01:22 +01:00
jvoisin
766cb52523 Factorise add-apt-repository -y ppa:openmw/openmw 2021-12-21 14:53:31 +00:00
jvoisin
f057713bcb Fix coverity submission. 2021-12-20 21:03:36 +01:00
psi29a
85a52606cf Add support for macOS12 with XCode13 in our CI/CD 2021-12-17 09:33:13 +00:00
psi29a
7d3c5f529a Update .gitlab-ci.yml file to allow failure of static deps build 2021-12-15 13:19:00 +00:00
psi29a
a71bda2bf9 Merge branch 'a_bit_faster' into 'master'
Speed up the pipeline a teensy bit

See merge request OpenMW/openmw!1471

(cherry picked from commit 0dff3042d0af6256aba74dc905dd44c723529845)

2b026cad Speed up the pipeline a teensy bit
2021-12-14 09:20:37 +00:00
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.
2021-12-11 00:21:56 +01:00
psi29a
b62b144ec0 Switch to Ubuntu Focal for now, until Debian gets latest MyGUI. 2021-12-08 09:06:10 +00:00
psi29a
7c641bffd7 Merge branch 'coverity_info' into 'master'
Show the coverity log in the CI

See merge request OpenMW/openmw!1460
2021-12-06 13:31:44 +00:00
jvoisin
17560683c6 Remove OSX 10.15
This has been broken for a while on gitlab's side.
2021-12-06 11:07:53 +01:00
jvoisin
9d694c2184 Show the coverity log in the CI 2021-12-05 23:54:08 +01:00
jvoisin
e2ca5288c2 Aggressively prune/expire unnecessary artifacts 2021-12-05 13:19:36 +00:00