Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
yan12125 committed Jul 15, 2024
1 parent e9e02fa commit d964936
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,7 @@ jobs:
brew update
brew install libchewing qt@5
# Qt
brew link --force qt@5
# Homebrew does not link mkspecs and plugins https://github.com/Homebrew/homebrew-core/issues/93056
export HOMEBREW_QT5_VERSION=$(brew list --versions qt@5 | rev | cut -d' ' -f1 | rev)
sudo ln -s /opt/homebrew/Cellar/qt@5/$HOMEBREW_QT5_VERSION/mkspecs /opt/homebrew/mkspecs
sudo ln -s /opt/homebrew/Cellar/qt@5/$HOMEBREW_QT5_VERSION/plugins /opt/homebrew/plugins
echo "CMAKE_PREFIX_PATH=$(brew --prefix qt@5)" >> $GITHUB_ENV
if: ${{ matrix.os == 'macos-latest' }}

- name: Configure CMake
Expand Down

0 comments on commit d964936

Please sign in to comment.