Commit Graph

272 Commits (5456ef1d50aeff97e0c9027003892bfba3f3ff97)

Author SHA1 Message Date
psi29a bb2a7d7996 Merge branch 'coverage' into 'master'
Provide unit tests and coverage reports from CI

See merge request OpenMW/openmw!1675
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
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
3 years ago
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.
3 years ago
elsid e7f3524924
Add a tool to load and print information about all bullet objects in all cells 3 years ago
psi29a 010dc90d42 Have Android CI also use latest ccache to fix issues with cmake. 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
psi29a 90691814ee Update .gitlab-ci.yml 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 5d7db94a23 Keep coverity logs as artifacts instead of deploying them 3 years ago
psi29a e743f896ef Update .gitlab-ci.yml 3 years ago
jvoisin c61967a316 Use `-O0` when compiling with coverity 3 years ago
psi29a a2a45ccdb3 have coverity use clang instead of gcc 3 years ago
jvoisin ca45391079 Only run static jobs when cmake-related things are modified 3 years ago
jvoisin 766cb52523 Factorise `add-apt-repository -y ppa:openmw/openmw` 3 years ago
jvoisin f057713bcb Fix coverity submission. 3 years ago
psi29a 85a52606cf Add support for macOS12 with XCode13 in our CI/CD 3 years ago
psi29a 7d3c5f529a Update .gitlab-ci.yml file to allow failure of static deps build 3 years ago
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
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
psi29a b62b144ec0 Switch to Ubuntu Focal for now, until Debian gets latest MyGUI. 3 years ago
psi29a 7c641bffd7 Merge branch 'coverity_info' into 'master'
Show the coverity log in the CI

See merge request OpenMW/openmw!1460
3 years ago
jvoisin 17560683c6 Remove OSX 10.15
This has been broken for a while on gitlab's side.
3 years ago
jvoisin 9d694c2184 Show the coverity log in the CI 3 years ago
jvoisin e2ca5288c2 Aggressively prune/expire unnecessary artifacts 3 years ago
AnyOldName3 a680952434 Combine daily and on-push build declarations 3 years ago
AnyOldName3 ebe8ba717e Move essimporter to CS CI job
It's the only thing that won't impact most users, and might buy enough
seconds to stop the CI timeouts.
3 years ago
jvoisin 85c8c91bcc Get rid of problematic / in branch name on OSX
Taken from https://devhints.io/bash

Should fix #6424
3 years ago
psi29a 365739d609 Give psi29a's custom android-ndk22 a go 3 years ago
psi29a e1d28a1af3 Only allow macOS builds on OpenMW's fork of openmw 3 years ago
elsid ec6af42fb6
Add CI job to find missing MRs 3 years ago
psi29a 2d3c6faec4 Merge branch 'conditional_push_builds' into 'master'
Add support for daily builds

See merge request OpenMW/openmw!1314

(cherry picked from commit 50ea9869528c984b8ea66864fa08f5f710734eff)

1ee18b88 Update .gitlab-ci.yml file
603b0ad8 Update .gitlab-ci.yml
a69cc468 Update .gitlab-ci.yml
3 years ago
psi29a 13b84ce798 Fix MacOS failure for 10.15 by setting it to `allow_failure: true` 3 years ago
AnyOldName3 5ab5419f7b Remove unsafe characters from zip filenames on Windows 3 years ago
jvoisin 9622def79c Don't build everything in clang-tidy 3 years ago
elsid e8a67b61c1 Merge branch 'clang-tidy' into 'master'
Add clang-tidy to the CI

See merge request OpenMW/openmw!900
3 years ago
jvoisin baf62f4922 Don't save artifacts when using coverity 3 years ago
AnyOldName3 8287c5ee4e Remove incremental link files from the artefacts
They make the files people download much bigger.
3 years ago
jvoisin 76760cd993 Don't try to build openmw-cs in coverity
We need more than 3h to build everything with coverity.
3 years ago
psi29a c49c378c0f Update .gitlab-ci.yml 3 years ago
psi29a 828a44a5ca Update .gitlab-ci.yml 3 years ago
jvoisin 8056476d64 Add clang-tidy 3 years ago
jvoisin d4e149409f Hardcode coverity targets for now 4 years ago
jvoisin 4396a2e27a Build __everything__ in coverity 4 years ago
elsid e1c525914c
Add CI jobs to build tests in debug mode 4 years ago
elsid 959165bcb9
Support running unit tests on gitlab CI for windows
But not actually run them because gitlab fails to do this.
4 years ago
elsid 4d7e5245a3
Support benchmarks for windows
Don't run the binary because gitlab can't execute it successfully due to
unknown reason.
4 years ago
elsid 6492e9522a
Run benchmarks on gitlab CI 4 years ago
Bret Curtis 3618eabaf0 remove macos10.14 support from gitlab; brew is broken 4 years ago
Bret Curtis 4129cc244c allow macos11xcode12 to fail for now; but not macos10.15xcode11; add support for macos10.14_xcode10; make sure fontconfig does not update other stuff 4 years ago
jvoisin b5c132d56f Build everything during the coverity scan
This should fix the 404 on the download page
4 years ago
elsid 0ac3f09fe0
Revert "Build windows in scheduled tasks"
This reverts commit 44ca708e12.
4 years ago
elsid 2af40a1e13
Revert "Build even more windows"
This reverts commit e3d3b97da0.
4 years ago
jvoisin e3d3b97da0 Build even more windows 4 years ago
jvoisin 44ca708e12 Build windows in scheduled tasks
This should solve disappearing nigthlies
4 years ago
jvoisin 21203fb850 Allow OSX to fail for now 4 years ago
psi29a 50adeef1ab Merge branch 'coverity_schedule' into 'master'
Fix once and for all™ coverity's schedule

See merge request OpenMW/openmw!748
4 years ago
jvoisin d37b66d58f Fix once and for all™ coverity's schedule
- According to https://gitlab.com/OpenMW/openmw/-/jobs/1176801332 there is no
  need to `cd` into build, since coverity will generate a `cov-int` folder
  in the current folder.
- Don't run other jobs by default during scheduled runs.
- Add a missing terminal quote to coverity's upload command.
4 years ago
elsid 9d321b7cdf
Install ccache before run on macOS 4 years ago
AnyOldName3 65e7857606 Maybe make -f flag work
Why can't -f just do what the manual says? Why do we even have a pre-existing build directory sometimes? We don't cache it, and artifacts are only supposed to be accessible within the same pipeline.
4 years ago
AnyOldName3 6bbcee8f1f Attempt to fix MacOS beta shared runners.
I think they changed the tag a week ago without notifying us.
4 years ago
jvoisin c6fa75c4ac `cd` into the build directly to upload coverity logs 4 years ago
jvoisin ccb62ad8b0 Only build openmw in coverity 4 years ago
jvoisin c10273675e Massively increase coverity's timeout 4 years ago
elsid 663ad5e192
Print ccache stats for macOS builds 4 years ago
elsid 539b46aaf0
Use different cache keys for different macOS builds 4 years ago
psi29a 457cbd6160 Merge branch 'path' into 'master'
Fix the path for the coverity build

See merge request OpenMW/openmw!735
4 years ago
jvoisin 1e955fb2e7 Fix the path for the coverity build 4 years ago
psi29a 3dea984c18 Merge branch 'install_curl_coverity' into 'master'
Install curl in the coverity job

See merge request OpenMW/openmw!734
4 years ago
jvoisin dc10ab7bad Install curl in the coverity job 4 years ago
jvoisin 9a87940fc6 Use `rule` instead of `only`
only/except will likely be deprecated: https://docs.gitlab.com/ee/ci/yaml/README.html#onlyexcept-basic
4 years ago
psi29a 7664a6f9cc Merge branch 'osx_proc' into 'master'
Use the number of logical cores on the CI on OSX

See merge request OpenMW/openmw!732
4 years ago
jvoisin 95042a2a68 Use the number of logical cores on the CI on OSX 4 years ago
jvoisin 3e20000778 Add a coverity scan 4 years ago
Hristos N. Triantafillou b808968070
Use the new macOS image for the CI runner open beta
Also add a second build for wider version coverage.
4 years ago
psi29a 5c0214142b Merge branch 'static-build' into 'master'
Optional local source builds of OSG, MyGUI, Bullet

See merge request OpenMW/openmw!547
4 years ago
AnyOldName3 70a059d4bf Use different filenames for Engine and CS packages 4 years ago
AnyOldName3 5e5c0a1d89 Add branch name back to filename
The URL needs to contain the branch name anyway, so there's no point
removing it.
4 years ago
AnyOldName3 0736fec148 Give binaries static filename 4 years ago
Gleb Mazovetskiy c8db4b9b34 .gitlab-ci.yml: Increase Android timeout (1h -> 1h30m) 4 years ago
Gleb Mazovetskiy 93bc5848af .gitlab-ci.yml: Bump Android cache key to v3 4 years ago
Gleb Mazovetskiy 99ba45a308 Optional static builds of OSG, MyGUI, Bullet 4 years ago
AnyOldName3 48ea9960b9 Fix Debian GCC timeout on forks 4 years ago
AnyOldName3 534fffb83d Chocolatey has one L 4 years ago
AnyOldName3 7efd48e6fd Copy Chocolatey log so it gets picked up as an artefact 4 years ago
Bret Curtis 7954dccb44 lz4 prep work; get linux and windows ready 4 years ago
psi29a b222872446 Android build on gitlab 4 years ago
AnyOldName3 5e7e14c870 Only use MacOS runners for this project, not forks 4 years ago
AnyOldName3 341bcb66f5 Merge branch 'macos_shared_runner' into 'master'
MacOS Shared Runners

See merge request OpenMW/openmw!325
4 years ago
AnyOldName3 c6eb0dacd3 Bump Debian cache version numbers
This should stop MR builds clobbering the increased size with their tiny
size.
4 years ago
AnyOldName3 ef41edba9b Install tools in before_install.osx.sh 4 years ago
AnyOldName3 1aa5e5cc52 Increase CCache size for Debian where needed 4 years ago
AnyOldName3 3a39e1f8f8 config was from Windows CI 4 years ago
AnyOldName3 2f1b7c4d2f Rename DMG file 4 years ago
AnyOldName3 5515bc94b7 Keep logs as artifacts 4 years ago
elsid 63a6541d0e
Use separate caches for Debian builds
Different builds cache different states. Each time cache file is written it
erases the state created by a different type of build.
4 years ago
AnyOldName3 cfd9268a74 Install Qt if missing 4 years ago
AnyOldName3 a47d96ce0b Install CMake on MacOS if it's missing 4 years ago
psi29a c34fd220db Update .gitlab-ci.yml 4 years ago
elsid 322298e02a
Build with clang in gitlab CI for linux 4 years ago