1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Speed up macOS CI

- skip nonsense during package installation
- use actual number of available cores
This commit is contained in:
sfan5
2023-10-27 18:38:13 +02:00
parent 00be802c5c
commit ddce858c34
2 changed files with 6 additions and 3 deletions

View File

@@ -33,8 +33,11 @@ install_macos_deps() {
cmake gettext freetype gmp jpeg-turbo jsoncpp leveldb
libogg libpng libvorbis luajit zstd
)
brew update
brew install "${pkgs[@]}"
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
export HOMEBREW_NO_INSTALL_CLEANUP=1
# contrary to how it may look --auto-update makes brew do *less*
brew update --auto-update
brew install --display-times "${pkgs[@]}"
brew unlink $(brew ls --formula)
brew link "${pkgs[@]}"
}