1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-01 03:21:41 +00:00
OpenMW/CI/before_install.osx.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
938 B
Bash
Raw Normal View History

2021-03-05 12:08:38 +00:00
#!/bin/sh -ex
export HOMEBREW_NO_EMOJI=1
2024-01-07 01:12:50 +00:00
export HOMEBREW_NO_INSTALL_CLEANUP=1
export HOMEBREW_AUTOREMOVE=1
2023-01-31 08:54:44 +00:00
brew tap --repair
brew update --quiet
2024-01-07 01:12:50 +00:00
brew install curl xquartz gd fontconfig freetype harfbuzz brotli
2020-10-09 13:56:21 +00:00
command -v ccache >/dev/null 2>&1 || brew install ccache
command -v cmake >/dev/null 2>&1 || brew install cmake
2023-08-06 16:06:28 +00:00
command -v qmake >/dev/null 2>&1 || brew install qt@5
export PATH="/opt/homebrew/opt/qt@5/bin:$PATH"
# Install deps
2024-01-08 21:29:59 +00:00
brew install openal-soft icu4c yaml-cpp sqlite
2020-10-20 21:22:37 +00:00
ccache --version
cmake --version
2021-03-05 12:10:22 +00:00
qmake --version
2023-05-27 13:34:31 +00:00
if [[ "${MACOS_AMD64}" ]]; then
curl -fSL -R -J https://gitlab.com/OpenMW/openmw-deps/-/raw/main/macos/openmw-deps-20240802.zip -o ~/openmw-deps.zip
unzip -o ~/openmw-deps.zip -d /tmp > /dev/null
2023-05-27 13:34:31 +00:00
else
curl -fSL -R -J https://gitlab.com/OpenMW/openmw-deps/-/raw/main/macos/openmw-deps-20240818-arm64.tar.xz -o ~/openmw-deps.tar.xz
tar xf ~/openmw-deps.tar.xz -C /tmp > /dev/null
2023-05-27 13:34:31 +00:00
fi