Skip to content

Commit a448a93

Browse files
authored
Merge pull request #214 from prestoncarman/actions_macos
Actions macos
2 parents 7e3ba42 + a6cfb24 commit a448a93

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

Diff for: .github/workflows/macos.yaml

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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

0 commit comments

Comments
 (0)