-
Notifications
You must be signed in to change notification settings - Fork 34
39 lines (36 loc) · 1 KB
/
linux.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This is the name of the workflow, visible on GitHub UI
name: linux
on: [pull_request]
jobs:
"unittest_lint_sampleproject":
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- name: Check style, functionality, and usage
run: |
g++ -v
bundle install
bundle exec rubocop --version
bundle exec rubocop -D .
bundle exec rspec --backtrace
cd SampleProjects/TestSomething
bundle install
bundle exec arduino_ci.rb
NetworkLib:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- name: Test NetworkLib from scratch
run: |
g++ -v
cd SampleProjects/NetworkLib
bundle install
bundle exec ensure_arduino_installation.rb
sh ./scripts/install.sh
bundle exec arduino_ci.rb