mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-11-30 02:37:57 +08:00
Address warnings on macOS CI (#1722)
This commit is contained in:
parent
d3dbaed60a
commit
4ad68db5e2
10
.github/workflows/cmake.yml
vendored
10
.github/workflows/cmake.yml
vendored
@ -100,10 +100,8 @@ jobs:
|
||||
|
||||
- name: (macOS) Install dependencies
|
||||
if: runner.os == 'macOS'
|
||||
run: |
|
||||
brew install jsoncpp brotli zlib
|
||||
brew install lz4 mariadb sqlite3 postgresql hiredis
|
||||
brew install redis
|
||||
# Already installed: brotli, zlib, postgresql@14, lz4, sqlite3
|
||||
run: brew install jsoncpp mariadb hiredis redis
|
||||
|
||||
- name: (Linux) Install dependencies
|
||||
if: runner.os == 'Linux'
|
||||
@ -174,10 +172,8 @@ jobs:
|
||||
- name: (macOS) Prepare for testing
|
||||
if: runner.os == 'macOS'
|
||||
run: |
|
||||
cd $(brew --prefix)/Homebrew/Library/Taps/homebrew/homebrew-services
|
||||
cd ~
|
||||
brew tap homebrew/services
|
||||
brew services restart postgresql
|
||||
brew services restart postgresql@14
|
||||
brew services start mariadb
|
||||
brew services start redis
|
||||
sleep 4
|
||||
|
Loading…
Reference in New Issue
Block a user