Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Adding automated test on based on macOS Catalina 10.15
  • Loading branch information
prestoncarman committed Nov 16, 2020
commit a6cfb2486b8bb84d9a592ad4f1b8d3e4a220febd
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