mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-07-09 02:39:42 +00:00
ci: avoid brew creating noisy annotations
This commit is contained in:
committed by
Anonymous Maarten
parent
e07d149a2a
commit
f58cd8f26d
12
.github/workflows/generic.yml
vendored
12
.github/workflows/generic.yml
vendored
@@ -116,7 +116,7 @@ jobs:
|
||||
# Download the key to system keyring
|
||||
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
|
||||
| gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
|
||||
|
||||
|
||||
# Add signed entry to apt sources and configure the APT client to use Intel repository:
|
||||
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
|
||||
|
||||
@@ -138,9 +138,13 @@ jobs:
|
||||
- name: 'Install brew packages'
|
||||
if: ${{ matrix.platform.brew-packages != '' }}
|
||||
run: |
|
||||
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
|
||||
brew update
|
||||
brew install ${{ matrix.platform.brew-packages }}
|
||||
# Unset these GitHub environment variable to keep brew from emitting a few noisy annotions
|
||||
unset GITHUB_ACTIONS
|
||||
unset GITHUB_OUTPUT
|
||||
unset GITHUB_PATH
|
||||
|
||||
brew update --auto-update
|
||||
brew install --quiet ${{ matrix.platform.brew-packages }}
|
||||
- name: 'Setup Python'
|
||||
uses: 'actions/setup-python@main'
|
||||
if: ${{ matrix.platform.setup-python }}
|
||||
|
||||
Reference in New Issue
Block a user