Skip to content

bump opencv

bump opencv #142

Workflow file for this run

name: brew test-bot
on:
push:
branches:
- main
pull_request:
jobs:
test-bot:
strategy:
fail-fast: false
matrix:
os: [macos-13, macos-14, macos-13-arm64]
runs-on: ${{ matrix.os == 'macos-13-arm64' && 'macos-14' || matrix.os }}
steps:
- id: reset
if: matrix.os == 'macos-11'
name: Reset homebrew to bigsur
run: |
curl -OL https://raw.githubusercontent.com/autobrew/bundler/master/lib/bigsur-reset.sh
chmod +x bigsur-reset.sh && ./bigsur-reset.sh
- name: Prepare fake MacOS-13 environment
if: matrix.os == 'macos-13-arm64'
run: |
brew remove $(brew list --formula)
pattern="/Applications/*/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk"
sdkpaths=( $pattern )
echo "Found SDKROOT: ${sdkpaths[0]}"
echo "HOMEBREW_FAKE_MACOS=13.7.0" >> $GITHUB_ENV
echo "MACOSX_DEPLOYMENT_TARGET=13.0" >> $GITHUB_ENV
echo "SDKROOT=${sdkpaths[0]}" >> $GITHUB_ENV
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Cache Homebrew Bundler RubyGems
uses: actions/cache@v4
with:
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
key: ${{ matrix.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
restore-keys: ${{ matrix.os }}-rubygems-
- run: brew test-bot --only-cleanup-before
- run: brew test-bot --only-setup || true
- run: brew test-bot --only-tap-syntax || true
- run: brew test-bot --only-formulae --skip-dependents
if: github.event_name == 'pull_request'
- name: Upload bottles as artifact
if: always() && github.event_name == 'pull_request'
uses: actions/upload-artifact@v4
with:
name: bottles_${{ matrix.os }}
path: '*.bottle.*'