File tree Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is the name of the workflow, visible on GitHub UI
2+ name : macos
3+
4+ # Run on a Push or a Pull Request
5+ on : [push, pull_request]
6+
7+ jobs :
8+ rubocop :
9+ runs-on : macos-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - uses : ruby/setup-ruby@v1
13+ with :
14+ ruby-version : 2.6
15+
16+ # Install and run Arduino CI tests for rubocop
17+ - name : Build and Execute
18+ run : |
19+ g++ -v
20+ bundle install
21+ bundle exec rubocop --version
22+ bundle exec rubocop -D .
23+ bundle exec rspec --backtrace
24+
25+ TestSomething :
26+ runs-on : macos-latest
27+ steps :
28+ - uses : actions/checkout@v2
29+ - uses : ruby/setup-ruby@v1
30+ with :
31+ ruby-version : 2.6
32+
33+ # Install and run Arduino CI tests for TestSomething
34+ - name : Build and Execute
35+ run : |
36+ g++ -v
37+ bundle install
38+ cd SampleProjects/TestSomething
39+ bundle install
40+ bundle exec arduino_ci.rb
41+
42+ NetworkLib :
43+ runs-on : macos-latest
44+ steps :
45+ - uses : actions/checkout@v2
46+ - uses : ruby/setup-ruby@v1
47+ with :
48+ ruby-version : 2.6
49+
50+ # Install and run Arduino CI tests for NetworkLib
51+ - name : Build and Execute
52+ run : |
53+ g++ -v
54+ bundle install
55+ cd SampleProjects/NetworkLib
56+ ./scripts/install.sh
57+ bundle install
58+ bundle exec arduino_ci.rb
You can’t perform that action at this time.
0 commit comments