Skip to content

Commit

Permalink
Create GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rgov committed Nov 22, 2020
1 parent f6d10a9 commit dea9c3e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 20 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build

on: [push, pull_request]

jobs:
install:

strategy:
matrix:
os: [ macos-10.15 ]

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
# We install the IIO Oscilloscope package, which builds the others
# through dependency resolution.
run: brew install --verbose --build-from-source iio-oscilloscope
- name: Test
run: |
for formula in *.rb; do
brew test "${formula%.rb}"
done
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

0 comments on commit dea9c3e

Please sign in to comment.