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

309 commits

Author SHA1 Message Date
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
AnyOldName3
a680952434 Combine daily and on-push build declarations 2021-12-01 21:43:31 +00:00
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.
2021-11-21 02:30:57 +00:00
jvoisin
85c8c91bcc Get rid of problematic / in branch name on OSX
Taken from https://devhints.io/bash

Should fix #6424
2021-11-20 12:55:36 +01:00
psi29a
365739d609 Give psi29a's custom android-ndk22 a go 2021-11-14 20:17:30 +00:00
psi29a
e1d28a1af3 Only allow macOS builds on OpenMW's fork of openmw 2021-11-13 13:41:07 +00:00
elsid
ec6af42fb6
Add CI job to find missing MRs 2021-11-04 14:50:16 +01:00
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
2021-11-03 16:06:13 +00:00
psi29a
13b84ce798 Fix MacOS failure for 10.15 by setting it to allow_failure: true 2021-10-25 10:42:14 +00:00
AnyOldName3
5ab5419f7b Remove unsafe characters from zip filenames on Windows 2021-09-08 21:08:04 +00:00
jvoisin
9622def79c Don't build everything in clang-tidy 2021-08-16 12:10:45 +02:00
elsid
e8a67b61c1 Merge branch 'clang-tidy' into 'master'
Add clang-tidy to the CI

See merge request OpenMW/openmw!900
2021-08-15 23:03:26 +00:00
jvoisin
baf62f4922 Don't save artifacts when using coverity 2021-08-13 13:53:37 +02:00
AnyOldName3
8287c5ee4e Remove incremental link files from the artefacts
They make the files people download much bigger.
2021-08-12 17:38:09 +00:00
jvoisin
76760cd993 Don't try to build openmw-cs in coverity
We need more than 3h to build everything with coverity.
2021-08-06 14:50:09 +02:00
psi29a
c49c378c0f Update .gitlab-ci.yml 2021-07-29 22:11:18 +00:00
psi29a
828a44a5ca Update .gitlab-ci.yml 2021-07-29 18:44:11 +00:00
jvoisin
8056476d64 Add clang-tidy 2021-07-25 18:02:05 +02:00
jvoisin
d4e149409f Hardcode coverity targets for now 2021-07-17 19:55:30 +02:00
jvoisin
4396a2e27a Build __everything__ in coverity 2021-07-16 21:09:11 +02:00
elsid
e1c525914c
Add CI jobs to build tests in debug mode 2021-07-11 01:10:55 +02:00
elsid
959165bcb9
Support running unit tests on gitlab CI for windows
But not actually run them because gitlab fails to do this.
2021-05-18 01:34:03 +02:00
elsid
4d7e5245a3
Support benchmarks for windows
Don't run the binary because gitlab can't execute it successfully due to
unknown reason.
2021-05-11 13:16:59 +02:00
elsid
6492e9522a
Run benchmarks on gitlab CI 2021-05-10 00:21:03 +02:00
Bret Curtis
3618eabaf0 remove macos10.14 support from gitlab; brew is broken 2021-05-05 14:42:54 +02:00
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 2021-05-05 13:35:39 +02:00
jvoisin
b5c132d56f Build everything during the coverity scan
This should fix the 404 on the download page
2021-04-29 10:47:14 +02:00
elsid
0ac3f09fe0
Revert "Build windows in scheduled tasks"
This reverts commit 44ca708e12.
2021-04-24 13:58:32 +02:00
elsid
2af40a1e13
Revert "Build even more windows"
This reverts commit e3d3b97da0.
2021-04-24 13:58:11 +02:00
jvoisin
e3d3b97da0 Build even more windows 2021-04-21 20:31:02 +02:00
jvoisin
44ca708e12 Build windows in scheduled tasks
This should solve disappearing nigthlies
2021-04-21 20:29:16 +02:00
jvoisin
21203fb850 Allow OSX to fail for now 2021-04-19 16:00:11 +02:00
psi29a
50adeef1ab Merge branch 'coverity_schedule' into 'master'
Fix once and for all™ coverity's schedule

See merge request OpenMW/openmw!748
2021-04-16 19:41:22 +00:00
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.
2021-04-16 15:24:59 +02:00
elsid
9d321b7cdf
Install ccache before run on macOS 2021-04-16 13:36:45 +02:00
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.
2021-04-16 00:19:53 +00:00
AnyOldName3
6bbcee8f1f Attempt to fix MacOS beta shared runners.
I think they changed the tag a week ago without notifying us.
2021-04-15 22:50:37 +00:00
jvoisin
c6fa75c4ac cd into the build directly to upload coverity logs 2021-04-13 22:03:47 +02:00
jvoisin
ccb62ad8b0 Only build openmw in coverity 2021-04-12 20:23:23 +02:00
jvoisin
c10273675e Massively increase coverity's timeout 2021-04-12 17:14:07 +02:00
elsid
663ad5e192
Print ccache stats for macOS builds 2021-04-12 16:08:15 +02:00
elsid
539b46aaf0
Use different cache keys for different macOS builds 2021-04-12 16:07:59 +02:00
psi29a
457cbd6160 Merge branch 'path' into 'master'
Fix the path for the coverity build

See merge request OpenMW/openmw!735
2021-04-12 12:17:29 +00:00
jvoisin
1e955fb2e7 Fix the path for the coverity build 2021-04-12 14:01:22 +02:00
psi29a
3dea984c18 Merge branch 'install_curl_coverity' into 'master'
Install curl in the coverity job

See merge request OpenMW/openmw!734
2021-04-12 10:08:22 +00:00
jvoisin
dc10ab7bad Install curl in the coverity job 2021-04-12 11:26:33 +02:00
jvoisin
9a87940fc6 Use rule instead of only
only/except will likely be deprecated: https://docs.gitlab.com/ee/ci/yaml/README.html#onlyexcept-basic
2021-04-12 11:14:52 +02:00
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
2021-04-12 06:07:31 +00:00
jvoisin
95042a2a68 Use the number of logical cores on the CI on OSX 2021-04-11 20:31:24 +02:00
jvoisin
3e20000778 Add a coverity scan 2021-04-09 16:51:44 +02:00
Hristos N. Triantafillou
b808968070
Use the new macOS image for the CI runner open beta
Also add a second build for wider version coverage.
2021-03-31 14:05:05 -05:00
psi29a
5c0214142b Merge branch 'static-build' into 'master'
Optional local source builds of OSG, MyGUI, Bullet

See merge request OpenMW/openmw!547
2021-02-19 16:58:05 +00:00
AnyOldName3
70a059d4bf Use different filenames for Engine and CS packages 2021-02-14 16:31:16 +00:00
AnyOldName3
5e5c0a1d89 Add branch name back to filename
The URL needs to contain the branch name anyway, so there's no point
removing it.
2021-02-13 00:28:18 +00:00
AnyOldName3
0736fec148 Give binaries static filename 2021-02-12 19:21:07 +00:00
Gleb Mazovetskiy
c8db4b9b34 .gitlab-ci.yml: Increase Android timeout (1h -> 1h30m) 2021-01-26 19:01:52 +00:00
Gleb Mazovetskiy
93bc5848af .gitlab-ci.yml: Bump Android cache key to v3 2021-01-26 19:00:55 +00:00
Gleb Mazovetskiy
99ba45a308 Optional static builds of OSG, MyGUI, Bullet 2021-01-26 19:00:55 +00:00
AnyOldName3
48ea9960b9 Fix Debian GCC timeout on forks 2020-11-17 16:45:13 +00:00
AnyOldName3
534fffb83d Chocolatey has one L 2020-10-21 23:30:39 +00:00
AnyOldName3
7efd48e6fd Copy Chocolatey log so it gets picked up as an artefact 2020-10-21 20:06:16 +00:00
Bret Curtis
7954dccb44 lz4 prep work; get linux and windows ready 2020-10-19 22:31:42 +03:00
psi29a
b222872446 Android build on gitlab 2020-10-19 08:27:38 +00:00
AnyOldName3
5e7e14c870 Only use MacOS runners for this project, not forks 2020-10-17 00:16:39 +00:00
AnyOldName3
341bcb66f5 Merge branch 'macos_shared_runner' into 'master'
MacOS Shared Runners

See merge request OpenMW/openmw!325
2020-10-09 22:42:31 +00:00
AnyOldName3
c6eb0dacd3 Bump Debian cache version numbers
This should stop MR builds clobbering the increased size with their tiny
size.
2020-10-09 20:51:25 +00:00
AnyOldName3
ef41edba9b Install tools in before_install.osx.sh 2020-10-09 13:56:21 +00:00
AnyOldName3
1aa5e5cc52 Increase CCache size for Debian where needed 2020-10-09 13:32:28 +00:00
AnyOldName3
3a39e1f8f8 config was from Windows CI 2020-10-08 22:25:16 +00:00
AnyOldName3
2f1b7c4d2f Rename DMG file 2020-10-08 21:35:37 +00:00
AnyOldName3
5515bc94b7 Keep logs as artifacts 2020-10-07 21:04:36 +00:00
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.
2020-10-07 22:18:12 +02:00
AnyOldName3
cfd9268a74 Install Qt if missing 2020-10-07 19:12:13 +00:00
AnyOldName3
a47d96ce0b Install CMake on MacOS if it's missing 2020-10-07 19:06:28 +00:00
psi29a
c34fd220db Update .gitlab-ci.yml 2020-10-07 17:31:29 +00:00
elsid
322298e02a
Build with clang in gitlab CI for linux 2020-10-03 00:19:48 +02:00
elsid
af95474670
Run unit tests in gitlab CI for linux build 2020-10-03 00:19:48 +02:00
AnyOldName3
a251461045 Unpin CMake version now latest is fixed 2020-09-03 13:50:24 +00:00
AnyOldName3
f7d28445f7 Add l to match typo in real URL 2020-08-10 17:51:05 +01:00
AnyOldName3
35d9ef355a Specify full repository URL 2020-08-10 17:38:17 +01:00
AnyOldName3
3497dcce76 Add OpenMW Chocolatey proxy as source 2020-08-10 17:33:11 +01:00
AnyOldName3
02167474cf Avoid using CMake 3.18.1 for Ninja builds to see if that fixes Windows_Ninja_CS_RelWithDebInfo 2020-08-04 13:18:40 +00:00
AnyOldName3
cd4ab320d8 Don't bother trying to set a PowerShell array from YAML
Just set a string and split it in the script.
2020-07-13 22:34:58 +01:00
AnyOldName3
000b52fc05 Swap quotes around 2020-07-13 22:03:48 +01:00
AnyOldName3
1720e2e1fd CI kick 2020-07-13 18:47:42 +01:00
AnyOldName3
a03fd03302 YAML wants lots of quotes 2020-07-13 18:04:25 +01:00
AnyOldName3
a43766bbc8 Try removing bashism reliance 2020-07-13 18:02:05 +01:00
AnyOldName3
5549ddab97 Split CS into separate jobs so build time is less tight.
Now we have twelve Windows jobs. Yay!
2020-07-13 17:08:46 +01:00
AnyOldName3
6a8e736bd2 Revert "Time commands"
This reverts commit c132646b97.
2020-07-13 16:53:23 +01:00
AnyOldName3
c132646b97 Time commands 2020-07-13 01:44:08 +01:00
AnyOldName3
0d1fb31358 Revert "Revert "Build the CS again.""
Maybe the reduced cache makes it fit.

This reverts commit 20859bbc50.
2020-07-12 22:39:24 +01:00
AnyOldName3
7676a36b32 Time a build with the reduced cache 2020-07-12 22:38:48 +01:00
AnyOldName3
5934a9d145 Actualy build the reduced cache.
It looks like cache is only invalidated if new files are added, not old ones removed.
2020-07-12 15:08:47 +01:00
AnyOldName3
6f3e87ce69 Cache less stuff to avoid duplicate entries.
This might make everything faster if we're network-bound.
2020-07-12 13:58:12 +01:00
AnyOldName3
20859bbc50 Revert "Build the CS again."
There wasn't enough time.

This reverts commit 22c5c7a96e.
2020-07-12 13:55:45 +01:00
AnyOldName3
22c5c7a96e Build the CS again.
Maybe this will work now the cache isn't trash
2020-07-12 03:18:56 +01:00
AnyOldName3
ef451fa266 Revert "Runner now supports sensible globbing patterns" & "Maybe this will make globbing work"
Runner *actually* only supports sensible globbing patterns for cache,
not artifacts.

This reverts commits 24129e8a54 and 094f0d1772.
2020-07-12 03:17:46 +01:00
AnyOldName3
094f0d1772 Maybe this will make globbing work 2020-07-11 22:46:12 +01:00
AnyOldName3
24129e8a54 Runner now supports sensible globbing patterns 2020-07-11 20:40:36 +01:00
AnyOldName3
699ec9e06e separate caches for MSBuild and Ninja 2020-07-11 17:52:42 +01:00
AnyOldName3
81aed34588 variables should be a hash of key value pairs 2020-07-11 16:54:13 +01:00
AnyOldName3
3862f0d10a Migrate variable names
Some of the built-ins were deprecated/removed
2020-07-11 16:42:15 +01:00
AnyOldName3
a9e6bf11c2 Configurations (via inheritance) 2020-07-11 16:36:21 +01:00
AnyOldName3
c29a1c2567 ninja: error: unknown target 'openwm', did you mean 'openmw'? 2020-07-11 03:52:54 +01:00
AnyOldName3
1bb54a28bc Build fewer targets
Most importantly, skip the CS. This should bring the build time under an hour.
2020-07-11 03:23:15 +01:00
AnyOldName3
38f1eae575 Merge remote-tracking branch 'upstream/master' into yet-another-windows-shared-runner-attempt 2020-07-11 01:19:36 +01:00
Icecream95
dc6fbd39d8
Cache compilation using ccache 2020-07-06 11:01:45 +12:00
AnyOldName3
bf69f90f80 Revert "Make build succeed so cache is kept"
This reverts commit 53be725df2.

It was only needed for CI reasons.
2020-06-27 03:28:42 +01:00
AnyOldName3
53be725df2 Make build succeed so cache is kept 2020-06-27 03:26:42 +01:00
AnyOldName3
d6ab2f9659 Disallow failure 2020-06-27 03:23:59 +01:00
AnyOldName3
c7cf163667 Don't keep whole build directory. 2020-06-27 03:23:12 +01:00
AnyOldName3
decf59d20e Don't try and activate MSVC when using MSBuild 2020-06-27 02:30:51 +01:00
AnyOldName3
82882beee6 Fix missing line breaks 2020-06-27 02:08:25 +01:00
AnyOldName3
edd6df1857 Try enabling Windows Shared Runners again.
Hopefully this will work now https://gitlab.com/gitlab-org/ci-cd/custom-executor-drivers/autoscaler/-/merge_requests/99 is merged.
2020-06-27 02:05:17 +01:00
Bret Curtis
8d3b1b90b1 do not assume gcc is available; added build-essential 2020-06-22 12:49:59 +02:00
Bret Curtis
6846f5a212 While we are at it, go full OSG 3.6 2020-06-22 12:43:36 +02:00
Bret Curtis
a4c9a5cb00 Use docker image debian:bullseye as our target 2020-06-22 12:41:51 +02:00
Bret Curtis
61a5c6125d #5480: Drop Qt4 support and require Qt 5.12 or later. 2020-06-22 12:17:06 +02:00
Bret Curtis
6f1767c374 just get the thing working and leave it up to someone with more win10 knowledge than myself :) 2020-04-22 10:36:11 +02:00
Bret Curtis
b38459e505 powershell hell 2 2020-04-22 00:30:08 +02:00
Bret Curtis
0021dabd8e powershell hell 2020-04-22 00:22:48 +02:00
Bret Curtis
ade265ec6b give shared windows runners a try 2020-04-21 23:44:55 +02:00
Bret Curtis
0ac7bdd2eb try to cache everything 2019-10-29 15:12:53 +01:00
Icecream95
acbdd0391c Install Debian packages again in CI
The gcc docker image was updated to a newer version of Debian, so downloading packages from Ubuntu is no longer required.
2019-10-28 05:28:12 +00:00
Bret Curtis
8f75292d04 use ubuntu for mygui as well 2019-02-06 14:46:10 +01:00
Bret Curtis
a5c44a3186 updated mygui links for gitlab 2019-02-06 14:20:03 +01:00
Bret Curtis
a31841dbe9 use ubuntu version, good enough 2019-02-06 14:15:32 +01:00
Bret Curtis
635747d39c bump libbullet version for gitlab 2019-02-06 14:05:07 +01:00
Azdul
33470cb5a2 Win32 specific library 2019-01-16 20:53:02 +01:00
Azdul
d73165a80c Missing boost library 2019-01-16 20:37:00 +01:00
Azdul
4e27fdefdb Missing boost Linux library 2019-01-16 20:30:11 +01:00
Bret Curtis
b78cc4c7d8 Update .gitlab-ci.yml 2019-01-13 20:54:21 +00:00
Bret Curtis
922f696aaf bump bullet version for gitlab-ci 2018-12-17 16:52:49 +01:00
Bret Curtis
23d273b1d7 Follow the redirects 2018-10-29 17:43:08 +00:00
Bret Curtis
cc1fd8c92e Use https://http.kali.org/pool/main/m/mygui/ instead since debian doesn't keep old packages. 2018-10-29 17:35:04 +00:00
Bret Curtis
e45c0c8f59 Update to new packages 2018-10-29 16:28:24 +00:00
Bret Curtis
d4d46fc602 Build everything but branches until we can allow VM/CIs to run on forked projects. 2018-07-04 16:51:57 +00:00
Bret Curtis
209359bbc3 Try this on for size... 2018-06-29 19:07:39 +00:00
Bret Curtis
9b6ea0e89f # because our CI VMs are not public, MRs can't use them and timeout 2018-06-29 15:15:29 +00:00