File tree 4 files changed +37
-11
lines changed
SampleProjects/NetworkLib/scripts
4 files changed +37
-11
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,35 +5,49 @@ name: linux
5
5
on : [push, pull_request]
6
6
7
7
jobs :
8
- TestSomething :
8
+ rubocop :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- uses : actions/checkout@v2
12
12
- uses : ruby/setup-ruby@v1
13
13
with :
14
14
ruby-version : 2.6
15
15
16
- # Install and run Arduino CI tests for TestSomething
16
+ # Install and run Arduino CI tests for rubocop
17
17
- name : Build and Execute
18
18
run : |
19
19
g++ -v
20
20
bundle install
21
21
bundle exec rubocop --version
22
22
bundle exec rubocop -D .
23
23
bundle exec rspec --backtrace
24
+
25
+ TestSomething :
26
+ runs-on : ubuntu-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
24
38
cd SampleProjects/TestSomething
25
39
bundle install
26
40
bundle exec arduino_ci.rb
27
41
28
- Network :
42
+ NetworkLib :
29
43
runs-on : ubuntu-latest
30
44
steps :
31
45
- uses : actions/checkout@v2
32
46
- uses : ruby/setup-ruby@v1
33
47
with :
34
48
ruby-version : 2.6
35
49
36
- # Install and run Arduino CI tests for Network
50
+ # Install and run Arduino CI tests for NetworkLib
37
51
- name : Build and Execute
38
52
run : |
39
53
g++ -v
Original file line number Diff line number Diff line change @@ -5,27 +5,41 @@ name: windows
5
5
on : [push, pull_request]
6
6
7
7
jobs :
8
- TestSomething :
8
+ rubocop :
9
9
runs-on : windows-latest
10
10
steps :
11
11
- uses : actions/checkout@v2
12
12
- uses : ruby/setup-ruby@v1
13
13
with :
14
14
ruby-version : 2.6
15
15
16
- # Install and run Arduino CI tests for TestSomething
16
+ # Install and run Arduino CI tests for rubocop
17
17
- name : Build and Execute
18
18
run : |
19
19
g++ -v
20
20
bundle install
21
21
bundle exec rubocop --version
22
22
bundle exec rubocop -D .
23
23
bundle exec rspec --backtrace
24
+
25
+ TestSomething :
26
+ runs-on : windows-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
24
38
cd SampleProjects/TestSomething
25
39
bundle install
26
40
bundle exec arduino_ci.rb
27
41
28
- Network :
42
+ NetworkLib :
29
43
runs-on : windows-latest
30
44
steps :
31
45
- uses : actions/checkout@v2
39
53
g++ -v
40
54
bundle install
41
55
cd SampleProjects/NetworkLib
42
- ./scripts/install.sh
56
+ bash -x ./scripts/install.sh
43
57
bundle install
44
58
bundle exec arduino_ci.rb
Original file line number Diff line number Diff line change 4
4
# then get the custom one we want to use for testing
5
5
cd $( bundle exec arduino_library_location.rb)
6
6
if [ ! -d ./Ethernet ] ; then
7
- git clone https://github.com/Arduino-CI/Ethernet.git
7
+ git clone --depth 1 https://github.com/Arduino-CI/Ethernet.git
8
8
fi
You can’t perform that action at this time.
0 commit comments