627 Commits
Author SHA1 Message Date
Sarah Sunday f5a8c877ed [MAC] remove ccache set by default 2026-04-13 13:43:30 -05:00
Sarah Sunday 777a967e7c [CI] MR Feedback 2026-04-04 20:56:07 -05:00
Sarah Sunday 68b1d9a762 [GITHUB] Macos release job (+ intel), windows use deps version 2026-03-30 12:52:37 -05:00
Sarah Sunday 0e0c7e9c56 [CI] Do not install fontconfig yaml-cpp sqlite via brew 2026-02-27 13:09:13 -06:00
Sarah Sunday a3ffe77c24 [MAC] Adjust deploy targets for latest 13/14 2026-02-25 20:26:06 -06:00
Sarah Sunday 4102f0eda5 [MAC] Target 13.3 for amd64 2026-02-25 15:36:34 -06:00
Sarah Sunday 3530df54f0 [MAC] Use main branch, deps key, osx target 2026-02-25 13:46:02 -06:00
Sarah Sunday 7129be80c6 [WINDOWS] Update vcpkg tag 2026-02-24 20:45:06 -06:00
Sarah Sunday cb5a9b8714 [MAC] Use vcpkg flow for arm and intel 2026-02-24 20:45:06 -06:00
AnyOldName3 56404258a9 Drop MSVC 2019 support, support 2026 instead 2026-02-02 16:49:41 +00:00
elsid 7122c0b4f0 Use 2026-01-20 vcpkg deps for windows 2026-01-31 18:24:07 +01:00
AnyOldName3 3512054da7 Merge branch 'ci-tweaks-2022-rebased-2026-plus-msbuild' into 'master'
CI tweaks 2022

See merge request OpenMW/openmw!5085
2026-01-23 00:07:09 +00:00
AnyOldName3 17e184f103 Use deps versions in the key
Should be less prone to being forgotten.
2026-01-21 00:32:02 +00:00
AnyOldName3 d4da848f4b Don't set /MP when using ccache
This *should* make no difference as we already do things that mean ccache only gets told about one TU at once (e.g. using Ninja, or enabling UseMultiToolTask), but at the minimum, it's misleading to have this enabled when we know we're not using it.
2026-01-02 19:02:42 +00:00
Aussiemon b043f7267c Extra space 😩 2026-01-02 04:48:54 -07:00
Aussiemon c123bbad55 Just check both 2026-01-02 04:35:28 -07:00
Aussiemon 9c82709ab3 Check for shallowness before unshallow 2026-01-02 04:18:56 -07:00
Aussiemon 7553a3e89c Fetch --unshallow in ubuntu_gcc_preprocess.sh 2026-01-02 03:07:09 -07:00
AnyOldName3 240e2486ed CCache with MSBuild 2026-01-01 18:45:53 +00:00
AnyOldName3 fb6ad44ca8 Extra anti-WSL protection
On a machine with Windows Subsystem for Linux installed, the first bash in the path will typically be the WSL launcher that gives Linux bash.

We must therefore ensure we recursively call into the MSYS2 shell we're already using.
2026-01-01 18:44:34 +00:00
AnyOldName3 dda54c1154 Precompiled headers are fine with ccache in 2025 2026-01-01 18:44:33 +00:00
AnyOldName3 fe97e3c888 Move brew repair and update to architecture-independent script
It installs things now, so these commands are useful.
2025-09-12 18:09:12 +01:00
AnyOldName3 998c738ed0 Add some options from the Windows script to the MacOS script
Hopefully, they might even work, too.

Also move ccache installation to the CI script as it's not mandatory to use ccache for local builds.
2025-09-06 01:29:44 +01:00
AnyOldName3 98bb4af0cb Use correct shebang
[[ doesn't work in real sh, only in more advanced shells pretending to be sh.
2025-09-06 01:07:02 +01:00
AnyOldName3 0a2c929a76 Don't meddle with people's git settings
I can't see any reason for this to have been necessary in CI in the first place as we do CI runs for commits on a branch, not for a detached head.
Despite that, I've left it in the Linux and Android scripts as we don't suggest anyone runs those on their own machines.
2025-09-06 00:56:46 +01:00
AnyOldName3 ff60b741a7 Move architecture-independent tool installation to common script 2025-09-06 00:51:52 +01:00
AnyOldName3 c70a7cd15b Eliminate single-line ccache scripts
They used to be necessary because they selected CMake of the same architecture as the build target, but now we use native ccache, they don't do anything meaningful.

Make things consistent with other platforms and just call ccache directly in the CI script.
2025-09-05 01:01:41 +01:00
AnyOldName3 6cdcbd957a And the same with CMake 2025-09-05 00:56:36 +01:00
AnyOldName3 a4be773e9c Native ccache won't work if we insist on an architecture 2025-09-05 00:56:36 +01:00
AnyOldName3 3bf68d44b7 Try using native CMake and CCache
In principle, CMake should be able to cross-compile just fine and CCache shouldn't care.
Maybe homebrew meddles with the default configuration and this will break things, though.
We shall see.
2025-09-05 00:55:52 +01:00
AnyOldName3 9fe8f3b03c Attempt to use Qt not necessarily from brew
The homebrew package should add qmake to the path, and qmake knows where Qt is.
If this works for brew, it should work for not-brew, too.

This *might* give a trailing /lib on the path CMake sees, but CMake implicitly tries adding a /lib suffix to paths in CMAKE_PREFIX_PATH, so this shouldn't make a difference to anything.
2025-09-05 00:55:52 +01:00
AnyOldName3 f155b0199e Undo part of !4759
https://gitlab.com/OpenMW/openmw/-/merge_requests/4759#note_2606465930 was marked as resolved without really being resolved, so bypassed normal review and was merged prematurely.

We tell developers to run these scripts on their machines, so it's rude to install things we don't have to over the top of an existing installation.
If the existing installation was via brew via the default sources, then it's clever enough not to break things, but if it's using custom sources or the install is outside of brew, it'll either break or overwrite what's there.

The three tools we've historically checked before overwriting all have an upstream MacOS distribution that isn't through brew, so it's decently likely that they exist, and we've never agreed to drop support for them.

I went a little further than the original code:
* I added a check before overwriting brew itself.
  I don't know whether the install script would notice this anyway.
* I added a check to ensure it's specifically Qt 6.x that's already installed as we dropped support for Qt 5.
* I added the checks back to both scripts even though !4759 only removed them from one.
  There only used to be one script, and when it was split, the checks only made it to one copy.

I could have gone further by adding checks for other tools before we install them, but we didn't have these in the past and I couldn't be bothered.

Try ARCHPREFERENCE environment variable

Go back to using subshell

ARCHPREFERENCE won't retroactively relaunch the current shell.

Also use /usr/local/bin/brew as the x86_64 version we just installed isn't added to the path by default.

Fresh shell for brew installer?

escape things better

This commit message was very nearly just emoji or a rant about sh-compatible shells.

what is going on?

Nested quotes?
2025-09-05 00:55:52 +01:00
Sarah Sunday 68d0dff890 [CI] Check for cmake for arm, move s3cmd out of arch specific flow 2025-09-02 19:54:38 -05:00
Sarah Sunday 180287dd80 [CI] Do not use ccache executable path, just ref directly 2025-09-02 19:54:38 -05:00
Sarah Sunday 5dfb4994b0 [CI] Rename/fix mac ccache file 2025-09-02 19:54:38 -05:00
elsid f9907058e2 Use clang-tidy 19 2025-08-30 15:23:23 +02:00
uramer 676047a9e3 Switch to openmwluadocumentor with Teal interfaces 2025-08-17 18:08:19 +02:00
unknown 7569273b33 Expose cov-int.tar.gz as an artifact and upload its URL 2025-08-03 17:06:47 +02:00
Evil Eye 550b0c985f Include file 2025-08-02 10:56:50 +02:00
Evil Eye 05f0b4cdbd Use the default clang version in Coverity 2025-08-02 10:50:43 +02:00
Evil Eye bdb3387bff Install gcovr via pipx and disable Werror when building Benchmarks 2025-07-27 10:47:34 +02:00
Evil Eye 2bce45260c Drop support for Qt5 2025-07-27 10:47:34 +02:00
Evil Eye e692025579 Use the new Windows deps on GitHub 2025-07-26 16:36:50 +02:00
AnyOldName3 52b785f726 Use updated Windows dependencies
The main changes are changing an OSG option that was disabling most of our warnings, and MSVC2019 switching to a custom vcpkg triplet.
2025-07-23 23:18:03 +01:00
psi29a ab8e17196f Merge branch 'mac-brew-tweaks' into 'master'
[CI] Mac - Brew cleanup/simplify

See merge request OpenMW/openmw!4759
2025-07-16 08:44:31 +00:00
AnyOldName3 1331318002 Add another v 2025-07-07 16:28:52 +01:00
Sarah Sunday 6a9b2d3302 [CI] Brew cleanup/simplify 2025-07-06 17:28:23 -05:00
AnyOldName3 89d6f59388 Use verbose status for ccache so we can see what caused hit failures 2025-07-06 15:58:12 +01:00
psi29a 2ffc44c31f Merge branch 'filenameexceptions' into 'master'
Remove file name naming convention check exceptions (#7249)

Closes #7249

See merge request OpenMW/openmw!4551
2025-07-01 20:45:33 +00:00
Sarah Sunday 493827285b [CI] Fix path and big env goof 2025-06-22 13:35:23 -05:00