Commit graph

561 commits

Author SHA1 Message Date
elsid
7d617d4562
Test coverity job 2025-04-26 13:46:08 +02:00
elsid
1a25609961
Update Ubuntu image to 24.04
* Use gcovr from pip to get most recent version. Older versions fail to
  parse gcov output.
* Disable warnings for ASAN build to avoid false positives.
2025-04-26 13:45:12 +02:00
elsid
0196cf453d
Use -fprofile-update=atomic for coverage build
Otherwise counters might become negative leading to gcovr failure.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68080.
2025-04-26 13:18:55 +02:00
elsid
0166b07ad5
Move coverage build out of CMake config
It is too repetitive, redundant and GCC specific.

Configure with CMAKE_CXX_FLAGS_DEBUG and CMAKE_EXE_LINKER_FLAGS instead.
2025-04-26 13:18:09 +02:00
elsid
cc32487a94
Disable -Werror for ASAN builds
To avoid warnings like:

In file included from /usr/include/c++/13/regex:50,
                 from ../../components/lua/yamlloader.cpp:6:
In constructor 'std::function<_Res(_ArgTypes ...)>::function(std::function<_Res(_ArgTypes ...)>&&) [with _Res = bool; _ArgTypes = {char}]',
    inlined from 'std::__detail::_State<_Char_type>::_State(std::__detail::_State<_Char_type>&&) [with _Char_type = char]' at /usr/include/c++/13/bits/regex_automaton.h:149:4,
    inlined from 'std::__detail::_StateIdT std::__detail::_NFA<_TraitsT>::_M_insert_subexpr_begin() [with _TraitsT = std::__cxx11::regex_traits<char>]' at /usr/include/c++/13/bits/regex_automaton.h:281:24:
/usr/include/c++/13/bits/std_function.h:405:42: error: '*(std::function<bool(char)>*)((char*)&__tmp + offsetof(std::__detail::_StateT, std::__detail::_State<char>::<unnamed>.std::__detail::_State_base::<unnamed>)).std::function<bool(char)>::_M_invoker' may be used uninitialized [-Werror=maybe-uninitialized]
  405 |       : _Function_base(), _M_invoker(__x._M_invoker)
      |                                      ~~~~^~~~~~~~~~
In file included from /usr/include/c++/13/regex:65:
/usr/include/c++/13/bits/regex_automaton.h: In member function 'std::__detail::_StateIdT std::__detail::_NFA<_TraitsT>::_M_insert_subexpr_begin() [with _TraitsT = std::__cxx11::regex_traits<char>]':
/usr/include/c++/13/bits/regex_automaton.h:279:17: note: '__tmp' declared here
  279 |         _StateT __tmp(_S_opcode_subexpr_begin);
      |                 ^~~~~

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562.
2025-04-26 13:04:21 +02:00
elsid
8ee0c9e7be
Retry apt-get update and add-apt-repository
Some checks failed
Build and test / MacOS (push) Has been cancelled
Build and test / Read .env file and expose it as output (push) Has been cancelled
Build and test / Ubuntu (push) Has been cancelled
Build and test / Windows (2019) (push) Has been cancelled
Build and test / Windows (2022) (push) Has been cancelled
2025-04-22 23:05:27 +02:00
elsid
c34b0f90d7
Avoid clang-tidy checks duplication 2025-04-05 12:55:17 +02:00
elsid
2892e19c43
Run integration tests with verbose output 2025-03-08 13:14:23 +01:00
Alexei Kotov
4c95e91a8d Replace awscli with s3cmd for macOS
Homebrew doesn't let us downgrade, we have to use an alternative client (for now)
2025-01-31 01:02:49 +03:00
Evil Eye
793a56a882 Try to build in Release mode 2024-12-10 20:30:47 +01:00
Evil Eye
7b064920db Switch to downloading dependencies from Github releases 2024-11-11 16:36:24 +01:00
uramer
7f886f1840 Use stable cyan, print teal versions in CI 2024-10-20 18:27:27 +02:00
uramer
bef9fc0a4b Upload Teal artifacts on failure, avoid nested archives 2024-10-20 18:27:27 +02:00
uramer
2bb25ef2d6 Use current cyan commit 2024-10-20 18:27:27 +02:00
Evil Eye
86c85d1b75 Force tl 0.15 2024-10-12 12:48:40 +02:00
psi29a
c8c6ea5f3f Merge branch 'mac-build-artifact-tweaks' into 'master'
CI - Use XZ for Mac builds, clean some steps

See merge request OpenMW/openmw!4327
2024-09-23 10:11:05 +00:00
Sarah Sunday
57add0f3f6 CI - Use XZ for Mac builds, clean some steps 2024-09-23 10:11:04 +00:00
elsid
d643970952 Merge branch 'compress-symbols-separately' into 'master'
Compress symbols separately

See merge request OpenMW/openmw!4362
2024-09-09 21:21:18 +00:00
elsid
d79fafd2ad
Run 7z with eval 2024-09-05 00:40:00 +02:00
AnyOldName3
7158c7fe58 Add -SkipCompress option to Store-Symbols.ps1 2024-09-04 23:07:12 +01:00
psi29a
e1875d459a Merge branch 'boost-config-required' into 'master'
Modernise Boost CMake stuff

Closes #8100

See merge request OpenMW/openmw!4307
2024-09-04 19:04:57 +00:00
elsid
8bed983661
Use specific revision of example-suite in the integration tests 2024-08-26 21:19:02 +02:00
AnyOldName3
0e2119c638 Ditch old AppVeyor stuff
We've not used AppVeyor for years.
If we started again, it'd use a different version of Boost and that aspect would need redoing anyway.
Everything else that was AppVeyor-specific is something we've got away without in GitLab CI so can't have been especially important.
2024-08-23 14:05:21 +01:00
elsid
0c15b403dd
Use vcpkg packages by before_scripts.msvc.sh 2024-08-22 02:32:13 +02:00
Sarah Sunday
ef0a5247b3 [TWEAK] Set cxx c compiler flags as cmake vars 2024-08-04 09:11:28 -05:00
Sarah Sunday
3e8a815e57 [TWEAK] Remove extraneous osg check 2024-08-02 16:47:29 -05:00
Sarah Sunday
4cb3987df1 [TWEAK] Remove FOR_RELEASE check 2024-08-02 16:40:40 -05:00
Sarah Sunday
7d4a6c4f26 Update zip 2024-08-02 16:31:32 -05:00
Sarah Sunday
e7d7ebd9d0 [TWEAK] Change to 13.6 target 2024-08-01 13:56:29 -05:00
Sarah Sunday
ce11cc16af [TWEAK] Use system recast 2024-08-01 13:56:29 -05:00
Sarah Sunday
10a3b329cb [TWEAK] Use system bullet 2024-08-01 13:56:29 -05:00
Sarah Sunday
4243d79896 [CI] PR feedback about release info 2024-08-01 13:56:29 -05:00
Sarah Sunday
6ce9979172 [CI] Add note to update zip 2024-08-01 13:56:29 -05:00
Sarah Sunday
0858fa439d [CI] Tweak mac build script for new deps 2024-08-01 13:56:29 -05:00
AnyOldName3
4563ddb028 Fix Collada loading on Windows for Release and RelWithDebInfo 2024-07-13 22:28:38 +01:00
elsid
828367d0c8
Fix Teal CI job 2024-06-20 22:35:15 +02:00
psi29a
3d248247d5 Merge branch 'remove-unused-scripts' into 'master'
Remove unused CI scripts

See merge request OpenMW/openmw!4156
2024-06-17 07:01:40 +00:00
Andrei Kortunov
819ba42be2 Upgrade Qt to 6.6.3 2024-06-14 16:18:19 +04:00
Alexei Kotov
a189b6fb88 Merge branch 'tabs' into 'master'
Remove unused CI/check_tabs.sh script

See merge request OpenMW/openmw!4157
2024-06-12 12:20:23 +00:00
psi29a
0a7f4e5149 Merge branch 'unit_tests' into 'master'
Split openmw_test_suite into openmw and components tests

See merge request OpenMW/openmw!4166
2024-06-11 11:09:43 +00:00
Austin English
e782d07a40 CI/check_tabs.sh: remove unused script
This has been superseded by .clang-format
2024-06-10 21:53:23 -05:00
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.
2024-06-10 23:12:14 +02:00
AnyOldName3
66227f30f8 Fix Collada loading on Windows 2024-06-07 19:13:56 +00:00
Austin English
aff29512af CI/deploy.osx.sh: remove unused script 2024-06-04 20:43:13 -05:00
Austin English
d3b7ea5c13 CI/before_install.linux.sh: remove unused script 2024-06-04 20:42:50 -05:00
Austin English
e4cf4bb99e Ci/build.msvc.sh: remove unused script 2024-06-04 20:42:50 -05:00
Austin English
c668a96999 before_script.msvc.sh: fix occurences of shellcheck SC2237 2024-06-03 07:45:42 -05:00
Andrei Kortunov
1bb48bcef7 Treat editor icons as scalable 2024-04-21 20:56:06 +04:00
Andrei Kortunov
118114c498 Add misisng empty line 2024-04-17 09:04:17 +04:00
Andrei Kortunov
d06e8e2c24 Use Qt6 on Windows by default 2024-04-17 08:58:18 +04:00