GHA CI: speed up package installation on macOS

Setup time is shortened by cutting down unnecessary operations.

https://docs.brew.sh/Manpage#environment
This commit is contained in:
Chocobo1 2023-02-16 16:10:08 +08:00
commit 4170b4e21b

View file

@ -31,6 +31,9 @@ jobs:
- name: Install dependencies
run: |
export \
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 \
HOMEBREW_NO_INSTALL_CLEANUP=1
brew update > /dev/null
brew install \
cmake ninja \