Skip to content

Commit

Permalink
[fix] ci: fix homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
bgallois committed Jul 5, 2023
1 parent ed287fe commit f8ef663
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,14 @@ jobs:
pip install aqtinstall
python3 -m aqt install-qt -m qtcharts -O ${{ github.workspace }}/Qt/ mac desktop ${{ env.QT_VERSION }}
echo ${{ github.workspace }}/Qt/${{ env.QT_VERSION }}/macos/bin/ >> $GITHUB_PATH
- name: Set up Homebrew #https://github.com/Homebrew/homebrew-cask/issues/150323
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: install_opencv
run: |
rm -rf /usr/local/bin/2to3
brew update
brew upgrade
brew update -q
brew upgrade -q
brew install libomp
brew install pkg-config
brew install opencv
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/build_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,14 @@ jobs:
pip install aqtinstall
python3 -m aqt install-qt -O ${{ github.workspace }}/Qt/ mac desktop ${{ env.QT_VERSION }}
echo ${{ github.workspace }}/Qt/${{ env.QT_VERSION }}/macos/bin/ >> $GITHUB_PATH
- name: Set up Homebrew #https://github.com/Homebrew/homebrew-cask/issues/150323
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: install_opencv
run: |
rm -rf /usr/local/bin/2to3
brew update
brew upgrade
brew update -q
brew upgrade -q
brew install pkg-config
brew install opencv
brew install openssl
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,14 @@ jobs:
pip install aqtinstall
python3 -m aqt install-qt -m qtcharts -O ${{ github.workspace }}/Qt/ mac desktop ${{ env.QT_VERSION }}
echo ${{ github.workspace }}/Qt/${{ env.QT_VERSION }}/macos/bin/ >> $GITHUB_PATH
- name: Set up Homebrew #https://github.com/Homebrew/homebrew-cask/issues/150323
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: install_deps
run: |
rm -rf /usr/local/bin/2to3
brew update
brew upgrade
brew update -q
brew upgrade -q
brew install pkg-config
brew install libomp
brew install opencv
Expand Down

0 comments on commit f8ef663

Please sign in to comment.