Skip to content

Update IIO-Scope reciope #45

Update IIO-Scope reciope

Update IIO-Scope reciope #45

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
install:
strategy:
fail-fast: false
matrix:
os: [ macos-11, macos-12, macos-13 ]
package: [ libiio, libad9361-iio, iio-oscilloscope ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Copy formulae
run: cp *.rb $(brew --prefix)/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/
- name: Install
run: |
[ "${{ matrix.package }}" == "gr-iio" ] && OPTIONS="--HEAD"
[ "${{ matrix.package }}" == "iio-oscilloscope" ] && OPTIONS="--HEAD"
[ "${{ matrix.package }}" != "libiio" ] && brew install --verbose --build-from-source libiio
[ "${{ matrix.package }}" == "iio-oscilloscope" ] && brew install --verbose --build-from-source libad9361-iio
[ "${{ matrix.package }}" == "gr-iio" ] && brew install --verbose --build-from-source libad9361-iio
brew install --verbose --build-from-source $OPTIONS ${{ matrix.package }}
- name: Test
run: brew test ${{ matrix.package }}