mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Speed up macOS CI
- skip nonsense during package installation - use actual number of available cores
This commit is contained in:
parent
00be802c5c
commit
ddce858c34
2 changed files with 6 additions and 3 deletions
|
@ -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[@]}"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue