Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# This is the name of the workflow, visible on GitHub UI
name: macos

# Run on a Push or a Pull Request
on: [push, pull_request]

jobs:
rubocop:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6

# Install and run Arduino CI tests for rubocop
- name: Build and Execute
run: |
g++ -v
bundle install
bundle exec rubocop --version
bundle exec rubocop -D .
bundle exec rspec --backtrace

TestSomething:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6

# Install and run Arduino CI tests for TestSomething
- name: Build and Execute
run: |
g++ -v
bundle install
cd SampleProjects/TestSomething
bundle install
bundle exec arduino_ci.rb

NetworkLib:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6

# Install and run Arduino CI tests for NetworkLib
- name: Build and Execute
run: |
g++ -v
bundle install
cd SampleProjects/NetworkLib
./scripts/install.sh
bundle install
bundle exec arduino_ci.rb