1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00
Commit Graph

505 Commits

Author SHA1 Message Date
AnyOldName3
6ca9fb7e15 Use multithreaded Bullet libraries on Windows 2023-03-11 18:32:36 +00:00
elsid
a527db8ca7
Enforce space only indendation in CMake files 2023-03-10 15:28:14 +01:00
elsid
8cfd947ecc
Copy osgSim.dll to openmw.exe location 2023-03-01 23:30:02 +01:00
elsid
3eda0b4af6
Use tabs for indentation in CI/before_script.msvc.sh 2023-03-01 23:29:44 +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
c064e9ebf9 Find luarocks package installations in a more robust way 2023-02-20 19:39:33 +01:00
psi29a
bf1540ff5a Clean up before_install.osx.sh for use on gitlab; small fix for jpeg problem 2023-02-20 10:26:12 +00:00
psi29a
3a56cc857d Merge branch 'teal_test' into 'master'
Teal declarations

See merge request OpenMW/openmw!2529
2023-02-19 20:58:46 +00:00
uramer
2cf6c5b3ce Move generate_teal_declarations.sh to scripts/ 2023-02-19 18:00:44 +01:00
Evil Eye
7aa891c016 Bump OpenAL to 1.23.0 on Windows 2023-02-19 10:37:17 +01:00
uramer
4b54c06635 Remove debug luarocks show 2023-02-11 14:10:16 +01:00
uramer
c31d872f18 Use install_luadocumentor_in_docker for teal_ci 2023-02-11 14:10:16 +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
Andrei Kortunov
7e2aedf637 Add an initial Qt6 support 2023-02-06 18:38:59 +04:00
psi29a
a0c04db222 repair brew taps 2023-01-31 08:54:44 +00:00
elsid
9c8a110efb
Print crash log in integration tests CI job 2023-01-30 09:30:55 +01:00
psi29a
f7f1832933 Merge branch 'luajit_custom_alloc' into 'master'
Check LuaJit version

See merge request OpenMW/openmw!2509
2022-11-27 09:14:35 +00:00
elsid
fdb731a6d0
Set collada_dom version before finding the package
The package cmake config uses wrong variables for minor and major versions. They
should be collada_dom_VERSION_MINOR and collada_dom_VERSION_MAJOR but they are
COLLADA_DOM_VERSION_MINOR and COLLADA_DOM_VERSION_MAJOR. CMake variables are
case sensitive so used variables are just empty strings. Set them manually as a
workaround.
2022-11-20 14:22:05 +01:00
Petr Mikheev
b6dd84c8ef Check LuaJit version 2022-11-18 02:08:40 +01:00
psi29a
c75f8b3639 Update CI/before_install.osx.sh, CI/before_script.osx.sh 2022-10-10 14:11:46 +00:00
psi29a
0fbce9b21d Merge branch 'factorize_windows_build_script' into 'master'
Factorise/simplify a bit before_script.msvc.sh

See merge request OpenMW/openmw!2427
2022-10-10 07:33:43 +00:00
jvoisin
7c485fae0c Make use of git ls-files filtering instead of piping to grep 2022-10-06 22:59:33 +02:00
jvoisin
f1ae796026 Factorise/simplify a bit before_script.msvc.sh 2022-10-01 13:00:05 +02: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
327f977ae6 Switch to Python implementation of SymStore 2022-09-26 19:11:21 +01:00
AnyOldName3
f98cb67cad Experiment with symbol server style symbol storage 2022-09-26 17:22:00 +01:00
AnyOldName3
483f370b01 Merge branch 'upgrade_sdl_windows' into 'master'
bump sdl from 2.0.22 to 2.0.24 for windows

Closes #6924

See merge request OpenMW/openmw!2425
2022-09-26 10:12:48 +00:00
psi29a
3c173646ce Update CI/before_script.msvc.sh 2022-09-26 07:24:16 +00:00
elsid
a46d61c45c
Simplify script to check clang-format
* Check only files from the git repository
* Support paths with spaces
* Do check in parallel
2022-09-25 18:25:53 +02:00
psi29a
ef92281b4b Update CI/before_script.msvc.sh 2022-09-24 17:10:26 +00:00
psi29a
36b4e6929c Update CI/before_script.msvc.sh 2022-09-24 16:39:57 +00:00
psi29a
4c5c449b0b bump sdl from 2.0.22 to 2.0.24 for windows 2022-09-24 15:16:35 +00:00
ζeh Matt
79ccd8720a
Single process fix 2022-09-22 23:33:16 +03:00
ζeh Matt
62138630d2
Fix files with spaces causing issues 2022-09-22 23:15:36 +03:00
ζeh Matt
afa1b0077d
Improve clang-format checking script 2022-09-22 22:57:03 +03:00
ζeh Matt
45bfed3b42
Use clang-format --dry-run instead of relying on git diff 2022-09-22 22:07:08 +03:00
ζeh Matt
3e9fccd7f0
Test clang-format project wide in same pipeline 2022-09-20 23:18:19 +03:00
psi29a
448853fbcf Update CI/before_script.msvc.sh 2022-08-19 20:09:44 +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
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
elsid
a5a3ccd0d2
Use ubuntu:20.04 docker image for Coverity 2022-08-05 11:46:05 +02:00
elsid
8e4f6fc4e4
Use FetchContent to get googletest 2022-08-04 01:12:11 +02:00
elsid
7036b1e94d
Use mold linker 2022-07-31 20:27:42 +02:00
elsid
f1f3d12f7b
Replace tabs with spaces 2022-07-31 19:59:24 +02:00
elsid
9157c96c9b
Do not build bulletobjectool and niftest when build tests 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
psi29a
201528a6e2 Merge branch 'issue-6435' into 'master'
Issue 6435: Allow builds using Visual Studio 2022

See merge request OpenMW/openmw!2144
2022-07-27 12:03:07 +00:00
AnyOldName3
6e3c04195c Enable LTO Release builds on Windows by default 2022-07-25 10:04:36 +00:00
Max Henzerling
281abae2fd Issue-64356: Add support for msvc 2022 2022-07-24 20:12:20 -07: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
5ee825b5f6 Enable warnings as errors in MSVC builds. 2022-07-17 11:21:55 +02:00
Project579
c3e2f84273 Fix clang-tidy on CI and introduce .clang-tidy file 2022-07-13 00:38:24 +00:00
psi29a
f8f2e00eca Fix mouse clicking with sdl2 2.0.22 2022-07-05 17:44:22 +00:00
elsid
7989d1645f
Run integration tests in CI 2022-07-04 20:38:29 +02:00
Jan Thomas
274ad0785d add flatpak ci 2022-06-30 15:06:28 +02:00
jvoisin
12bace3552 Silence a minor git warning
No need to pollute the CI log output.
2022-06-16 21:45:50 +02:00
psi29a
2586beed72 Updating Boost on windows to 1.79 to support C++20 2022-06-15 14:55:42 +00:00
psi29a
3b95797473 Merge branch 'Project5791-master-patch-42764' into 'master'
Update CI/build_googletest.sh

See merge request OpenMW/openmw!2005
2022-06-12 12:38:22 +00:00
Project579
d3d9e66ffd Update CI/build_googletest.sh
googletest v1.11.0 is required for building with C++20.
2022-06-12 12:07:40 +00:00
psi29a
bb0dad7c08 Update to C++20 and see if our CI can handle it. 2022-06-12 08:00:11 +00:00
AnyOldName3
eedae407ab Tell CMake where to find ICU properly
I had a problem where CMake picked up half of ICU from its C API, which
is included with the Windows SDK, and half from the C++ API we provide.
This should prevent that.

* ICU_ROOT takes precedence as a CMake variable so do that instead of as
  an environment variable.
* ICU_LIBRARY is an output of FindICU.cmake, not an input, so don't set
  it.
* FindICU.cmake needs telling about components via their own variables.
2022-05-02 19:49:30 +01: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
psi29a
c23ca2e882 Merge branch 'macos_icu_root' into 'master'
Added missing line continuation to ICU_ROOT setting on macos CI

See merge request OpenMW/openmw!1784
2022-04-19 07:12:27 +00:00
Benjamin Winger
7821029056
Added missing line continuation to ICU_ROOT setting on macos CI 2022-04-18 19:35:23 -04:00
Benjamin Winger
165f146e69
Added ICU runtime DLLs to Windows builds 2022-04-12 19:37:10 -04:00
Benjamin Winger
2c5a4e6416
Set ICU_ROOT instead of PKG_CONFIG_PATH to find ICU on macos 2022-04-10 15:26:25 -04:00
Benjamin Winger
8bd16179a6
Allow CMake to find the ICU version installed through homebrew 2022-04-10 12:39:03 -04:00
Benjamin Winger
21ffbcc4b4 Lua i18n updates 2022-04-10 07:57:02 +00:00
psi29a
f6757ce124 ccache for Windows 2022-03-02 09:06:58 +00:00
Bret Curtis
ad11cc8d8a reinstall fontconfig as needed; const an imbigious == operator 2022-03-01 10:53:01 +01: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
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
Petr Mikheev
e4cb1a1370 Run unit tests in CI with -fsanitize=address 2022-01-26 22:18:03 +00:00
psi29a
a79bdf07d2 do some bash magic to rearrange CXX_FLAGS 2022-01-19 15:48:35 +00:00
psi29a
b3bbcef25e Merge branch 'make_appveyor_great_again' into 'master'
do some Appveyor Qt magic to get it all sorted

See merge request OpenMW/openmw!1564
2022-01-18 23:29:46 +00:00
psi29a
bdd13f36b2 do some Appveyor Qt magic to get it all sorted 2022-01-18 23:29:45 +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
psi29a
877f5c445e Add librecast-dev to deps that needed for Debian/Ubuntu 2022-01-10 19:38:55 +00:00
jvoisin
40faf54250 Remove -bugprone-narrowing-conversions from clang-tidy 2022-01-04 19:32:49 +00:00
psi29a
1816784784 Update CI/before_script.osx.sh to allow full use of c++17 on macOS 2022-01-04 09:14:16 +00:00
jvoisin
c9fb4ee2ed Silence apt-get install even more 2021-12-22 22:43:23 +00:00
jvoisin
766cb52523 Factorise add-apt-repository -y ppa:openmw/openmw 2021-12-21 14:53:31 +00:00
Evil Eye
e967e0544f Upgrade to SDL 2.0.18 2021-12-15 21:13:22 +01: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
jvoisin
810ad9d3fb Silence apt-get install 2021-12-09 20:05:33 +01:00
psi29a
365739d609 Give psi29a's custom android-ndk22 a go 2021-11-14 20:17:30 +00:00
elsid
2bace703d5
Add dependency to SQLite3
This will be required by navmeshtool.
2021-10-11 19:34:07 +02:00
Evil Eye
a1825980c4 Define OpenMW specific C++ flags 2021-10-06 17:28:48 +02:00
elsid
1b1deeb59b
Fail CI build when not allowed warnings are present
Put -Wno-error after -Wall to make it work properly for clang.
2021-09-05 02:06:03 +02:00
jvoisin
8056476d64 Add clang-tidy 2021-07-25 18:02:05 +02:00