1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-31 06:45:35 +00:00
Commit graph

320 commits

Author SHA1 Message Date
Bret Curtis
2a98519451 initial conversion to cxxopts for mwiniimporter
clang-format

clang-format again

add cxxopts to cmake and 3 oses

use version and not tag for cxxopts

add the include dir for windows maybe

add the include dir for windows maybe: part 2

give _DIR a try and point to cmake dir

try prefix path

add FindCXXOPTS.cmake

slim down findcxxopts

remove boost stuff from mwiiniimporter cmake; set include path in windows

one too many S

add support for fetching

formatting

validated that we need  MaybeQuotedPath

naive attempt to use vcpkg

remove findCXXOPTS.cmake

naive attempt to use vcpkg

more cleanup; make use of cxxopts::cxxopts

remove offending bad line

try to integration the cxxopts install via vcpkg

add vcpkg.cmake toolchain file

use the right path?

go the fetch route for windows

fetch cxxopts workaround

make use of CONFIG and also put in TODO

add code coverage

fix clang-format

fix clang-format again

add some tooling for tests

const params and use order of operations

allow to be run from anywhere

appease the jvoisin

u8 all the things

make sure we can run on all systems; but require that it run in the same directory as the binary we wish to test

give CLI11 a try

get things building on windows too

give this a try...

clean-format fix1

clean-format fix2

clang-format fix3

do not check if file already exists; overwrite existing

try to abstract out _wsystem and std::system

appease the clang-format gods

purge cli11

bring back tests
2024-02-05 14:27:46 +01:00
elsid
26ffde0c04
Reduce ccache size for gcc to 3G
To avoid having jobs being unable to generate the cache like
https://gitlab.com/OpenMW/openmw/-/jobs/5766643208:

Creating cache Ubuntu_GCC.ubuntu_22.04.v1-3-non_protected...
apt-cache/: found 1082 matching artifact files and directories
ccache/: found 7443 matching artifact files and directories
FATAL: write ../../../cache/OpenMW/openmw/Ubuntu_GCC.ubuntu_22.04.v1-3-non_protected/archive_991882895: no space left on device
Failed to create cache
2023-12-24 22:22:24 +01:00
AnyOldName3
10dbfe66b3 Revert "Ditch python in Windows CI - we don't need it"
This reverts commit 00c13b8dcd.
2023-10-25 17:55:24 +01:00
Bret Curtis
64080b0c25 bump key for windows 2023-10-19 12:03:06 +02:00
AnyOldName3
00c13b8dcd Ditch python in Windows CI - we don't need it 2023-10-09 13:54:37 +01:00
psi29a
8d1a19a6f4 [#7358] Make MyGui 3.4.2 required for 0.49 2023-08-06 16:05:59 +00:00
Bret Curtis
cbdbcd962c back on schedule 2023-07-23 22:44:08 +02:00
psi29a
1caf64d9cf Try using latest coverity with focal and clang-12 2023-07-23 22:43:24 +02:00
psi29a
f9d99cf5ce Merge branch 'disable_mac_os_ci' into 'master'
Enable macos job only for upstream project

See merge request OpenMW/openmw!3201
2023-07-08 12:38:07 +00:00
AnyOldName3
3e8253010a Upload CI artifacts 2023-07-07 15:47:06 +00:00
elsid
8eb059de53
Enable macos job only for upstream project 2023-07-07 12:35:07 +02:00
elsid
6c7cdb981d
Use most recent OSG dependency to match 0.48 RC builds 2023-06-10 00:33:34 +02:00
psi29a
aaab9fb6b1 Merge branch 'reduce_asan_scope' into 'master'
Build only openmw by Ubuntu_GCC_asan job

See merge request OpenMW/openmw!3109
2023-06-06 13:16:11 +00:00
psi29a
de92dff35e removed macos amd64 build, they are not removed from gitlab CI 2023-06-06 13:10:02 +00:00
elsid
c8a848777e
Build only openmw by Ubuntu_GCC_asan job 2023-06-05 22:45:09 +02:00
psi29a
a5c2ad45dc Support macOS: AMD64 and ARM64 2023-05-27 13:34:31 +00:00
elsid
6521cb4d7c
Add CI job to run integration tests with AddressSanitizer 2023-05-23 13:39:44 +02:00
elsid
35f4bcd31e
Run openmw_settings_access_benchmark in CI
Add benchmarks to access 2 and 3 settings. Use settings with max memory address
distance assuming Settings::Values is single memory location object.

Use settings-default.cfg from the source code repository to initialize settings.
2023-04-24 22:30:49 +02:00
elsid
e646449880
Add CI job to measure preprocessed code size 2023-04-21 02:55:48 +02:00
elsid
8e9c78d20c
Split Ubuntu_Clang_Tidy job 2023-04-20 11:15:32 +02:00
elsid
74e38148f3
Use merge_request_event as a source for CI jobs when there is MR 2023-04-16 18:49:11 +02:00
psi29a
bc65c7a53a make use of new backported bullet 3.24 2023-03-28 10:03:50 +00:00
elsid
30fd8c9d23
Add benchmarks for RefId serialization and deserialization 2023-03-25 14:04:44 +01:00
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