-
Notifications
You must be signed in to change notification settings - Fork 34
69 lines (60 loc) · 1.61 KB
/
windows.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# This is the name of the workflow, visible on GitHub UI
name: windows
# Run on a Push or a Pull Request
on: [push, pull_request]
jobs:
rspec:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
# Install and run Arduino CI tests for rspec
- name: Build and Execute
run: |
g++ -v
bundle install
bundle exec rspec --backtrace
rubocop:
runs-on: windows-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: |
bundle install
bundle exec rubocop --version
bundle exec rubocop -D .
TestSomething:
runs-on: windows-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
cd SampleProjects/TestSomething
bundle install
bundle exec arduino_ci.rb
NetworkLib:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
# Install and run Arduino CI tests for Network
- name: Build and Execute
run: |
g++ -v
cd SampleProjects/NetworkLib
bash -x ./scripts/install.sh
bundle install
bundle exec arduino_ci.rb