Address warnings on macOS CI (#1722)

This commit is contained in:
Ken Matsui 2023-08-11 22:08:32 -07:00 committed by GitHub
parent d3dbaed60a
commit 4ad68db5e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 7 deletions

View File

@ -100,10 +100,8 @@ jobs:
- name: (macOS) Install dependencies - name: (macOS) Install dependencies
if: runner.os == 'macOS' if: runner.os == 'macOS'
run: | # Already installed: brotli, zlib, postgresql@14, lz4, sqlite3
brew install jsoncpp brotli zlib run: brew install jsoncpp mariadb hiredis redis
brew install lz4 mariadb sqlite3 postgresql hiredis
brew install redis
- name: (Linux) Install dependencies - name: (Linux) Install dependencies
if: runner.os == 'Linux' if: runner.os == 'Linux'
@ -174,10 +172,8 @@ jobs:
- name: (macOS) Prepare for testing - name: (macOS) Prepare for testing
if: runner.os == 'macOS' if: runner.os == 'macOS'
run: | run: |
cd $(brew --prefix)/Homebrew/Library/Taps/homebrew/homebrew-services
cd ~
brew tap homebrew/services brew tap homebrew/services
brew services restart postgresql brew services restart postgresql@14
brew services start mariadb brew services start mariadb
brew services start redis brew services start redis
sleep 4 sleep 4