1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-01-04 13:43:07 +00:00
openmw/CI
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
..
macos Undo part of !4759 2025-09-05 00:55:52 +01:00
activate_msvc.sh Replace tabs with spaces 2022-07-31 19:59:24 +02:00
ActivateMSVC.ps1 Remove annoying warning 2020-06-15 16:37:47 +01:00
before_install.android.sh Give psi29a's custom android-ndk22 a go 2021-11-14 20:17:30 +00:00
before_install.macos.sh [CI] Brew cleanup/simplify 2025-07-06 17:28:23 -05:00
before_script.android.sh Silence a minor git warning 2022-06-16 21:45:50 +02:00
before_script.linux.sh Use clang-tidy 19 2025-08-30 15:23:23 +02:00
before_script.macos.sh [CI] Do not use ccache executable path, just ref directly 2025-09-02 19:54:38 -05:00
before_script.msvc.sh Drop support for Qt5 2025-07-27 10:47:34 +02:00
check_clang_format.sh Make use of git ls-files filtering instead of piping to grep 2022-10-06 22:59:33 +02:00
check_cmake_format.sh Enforce space only indendation in CMake files 2023-03-10 15:28:14 +01:00
check_file_names.sh Remove file name exceptions (#7249) 2025-02-23 00:18:07 +03:00
check_package.osx.sh Add a script to verify macOS package contents 2018-12-20 21:18:41 +01:00
check_qt_translations.sh Do not store 'location' tags in translation files 2024-04-05 10:12:31 +04:00
github.env Use the new Windows deps on GitHub 2025-07-26 16:36:50 +02:00
install_debian_deps.sh Use clang-tidy 19 2025-08-30 15:23:23 +02:00
org.openmw.OpenMW.devel.yaml bump windows mygui to 3.4.3 2023-10-17 23:53:04 +02:00
run_integration_tests.sh Run integration tests with verbose output 2025-03-08 13:14:23 +01:00
Store-Symbols.ps1 Add -SkipCompress option to Store-Symbols.ps1 2024-09-04 23:07:12 +01:00
teal_ci.sh Switch to openmwluadocumentor with Teal interfaces 2025-08-17 18:08:19 +02:00
ubuntu_gcc_preprocess.sh Split openmw_test_suite into openmw and components tests 2024-06-10 23:12:14 +02:00