File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 1
1
name : Arduino CI
2
2
3
3
on : [push, pull_request]
4
-
5
4
jobs :
6
5
test :
7
6
runs-on : ubuntu-latest
8
-
9
7
steps :
10
8
- uses : actions/checkout@v3
11
-
12
9
- name : Create required directories
13
10
run : |
14
11
mkdir -p $GITHUB_WORKSPACE/libraries
15
12
mkdir -p $GITHUB_WORKSPACE/.arduino15
16
13
mkdir -p $GITHUB_WORKSPACE/Arduino
17
-
18
14
- name : Setup Arduino CLI
19
15
uses : arduino/setup-arduino-cli@v1
20
-
21
16
- name : Configure Arduino CLI
22
17
run : |
23
18
arduino-cli config init
24
19
arduino-cli config set library.enable_unsafe_install true
25
20
arduino-cli core update-index
21
+ arduino-cli config add board_manager.additional_urls https://arduino.esp8266.com/stable/package_esp8266com_index.json
22
+ arduino-cli core update-index
26
23
arduino-cli core install arduino:avr
27
-
24
+ arduino-cli core install esp8266:esp8266
28
25
- name : Install OneWire library
29
26
run : |
30
27
arduino-cli lib install OneWire
31
-
32
28
- name : Set up Ruby
33
29
uses : ruby/setup-ruby@v1
34
30
with :
35
31
ruby-version : ' 3.2.0'
36
-
37
32
- name : Install bundler
38
33
run : |
39
34
gem install bundler
You can’t perform that action at this time.
0 commit comments