-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1315 from fspindle/fix_ci_macos-13
Attempt to fix macos-13 ci issue when installing brew dependencies
- Loading branch information
Showing
1 changed file
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,8 +33,31 @@ jobs: | |
- name: Print OS information | ||
run: system_profiler SPSoftwareDataType | ||
|
||
- name: Install dependencies | ||
run: brew install libpng libjpeg-turbo libdc1394 opencv pcl librealsense zbar pkg-config nlohmann-json | ||
- name: Install dependencies on macos-12 | ||
if: matrix.os == 'macos-12' | ||
run: | | ||
brew install libpng libjpeg-turbo libdc1394 opencv pcl librealsense zbar pkg-config nlohmann-json | ||
- name: Install dependencies on macos-13 | ||
# On macos-13 we need to do a specific action | ||
# ==> Pouring [email protected]_1.ventura.bottle.tar.gz | ||
# Error: The `brew link` step did not complete successfully | ||
# The formula built, but is not symlinked into /usr/local | ||
# Could not symlink bin/2to3-3.12 | ||
# Target /usr/local/bin/2to3-3.12 | ||
# already exists. You may want to remove it: | ||
# rm '/usr/local/bin/2to3-3.12' | ||
# | ||
# To force the link and overwrite all conflicting files: | ||
# brew link --overwrite [email protected] | ||
# | ||
# Fix proposed in https://github.com/actions/runner-images/issues/6817 | ||
if: matrix.os == 'macos-13' | ||
run: | | ||
brew update | ||
brew upgrade || true | ||
brew install libpng libjpeg-turbo libdc1394 pcl librealsense zbar pkg-config nlohmann-json | ||
brew install opencv | ||
- name: Install java dependencies | ||
run: | | ||
|