action: update brew before running macOS workflows
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run

This commit is contained in:
shenleban tongying 2024-11-17 22:07:37 -05:00 committed by GitHub
parent 808d857602
commit 652da8e1ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 3 deletions

View file

@ -51,6 +51,9 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
submodules: false submodules: false
- name: Update brew
run: |
brew update
- name: Install dependencies - name: Install dependencies
run: | run: |
brew install \ brew install \
@ -66,11 +69,11 @@ jobs:
xapian \ xapian \
libzim \ libzim \
qt qt
- name: Install eb
run: |
wget https://github.com/mistydemeo/eb/releases/download/v4.4.3/eb-4.4.3.tar.bz2 wget https://github.com/mistydemeo/eb/releases/download/v4.4.3/eb-4.4.3.tar.bz2
tar xvjf eb-4.4.3.tar.bz2 tar xvjf eb-4.4.3.tar.bz2
cd eb-4.4.3 && ./configure && make -j 8 && sudo make install && cd .. cd eb-4.4.3 && ./configure && make -j 8 && sudo make install && cd ..
- name: Run build - name: Run build
run: | run: |
mkdir build_dir mkdir build_dir

View file

@ -26,6 +26,9 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
submodules: true submodules: true
- name: Update brew
run: |
brew update
- name: Install dependencies - name: Install dependencies
run: | run: |
brew install \ brew install \
@ -40,7 +43,8 @@ jobs:
ninja \ ninja \
opencc \ opencc \
xapian xapian
- name: Install eb
run: |
git clone https://github.com/xiaoyifang/eb.git git clone https://github.com/xiaoyifang/eb.git
cd eb && ./configure && make -j 8 && sudo make install && cd .. cd eb && ./configure && make -j 8 && sudo make install && cd ..
- uses: jurplel/install-qt-action@v4 - uses: jurplel/install-qt-action@v4