File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 18
18
steps :
19
19
- uses : actions/checkout@v2
20
20
- name : Install packages
21
- run : source tools/ci.sh && ci_esp32_idf3_setup >> $GITHUB_PATH
21
+ run : source tools/ci.sh && ci_esp32_idf3_setup && ci_esp32_idf3_path >> $GITHUB_PATH
22
22
- name : Build
23
23
env :
24
24
IDF_PATH : ${{ github.workspace }}/esp-idf
29
29
steps :
30
30
- uses : actions/checkout@v2
31
31
- name : Install packages
32
- run : source tools/ci.sh && ci_esp32_idf4_setup >> $GITHUB_PATH
32
+ run : source tools/ci.sh && ci_esp32_idf4_setup && ci_esp32_idf4_path >> $GITHUB_PATH
33
33
- name : Build
34
34
env :
35
35
IDF_PATH : ${{ github.workspace }}/esp-idf
Original file line number Diff line number Diff line change 18
18
steps :
19
19
- uses : actions/checkout@v2
20
20
- name : Install packages
21
- run : source tools/ci.sh && ci_esp8266_setup >> $GITHUB_PATH
21
+ run : source tools/ci.sh && ci_esp8266_setup && ci_esp8266_path >> $GITHUB_PATH
22
22
- name : Build
23
23
run : source tools/ci.sh && ci_esp8266_build
Original file line number Diff line number Diff line change @@ -75,6 +75,9 @@ function ci_esp32_idf3_setup {
75
75
sudo pip3 install pyserial ' pyparsing<2.4'
76
76
curl -L https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz | tar zxf -
77
77
git clone https://github.com/espressif/esp-idf.git
78
+ }
79
+
80
+ function ci_esp32_idf3_path {
78
81
echo $( pwd) /xtensa-esp32-elf/bin
79
82
}
80
83
@@ -90,6 +93,9 @@ function ci_esp32_idf4_setup {
90
93
sudo pip3 install pyserial ' pyparsing<2.4'
91
94
curl -L https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp-2019r2-linux-amd64.tar.gz | tar zxf -
92
95
git clone https://github.com/espressif/esp-idf.git
96
+ }
97
+
98
+ function ci_esp32_idf4_path {
93
99
echo $( pwd) /xtensa-esp32-elf/bin
94
100
}
95
101
@@ -108,6 +114,9 @@ function ci_esp8266_setup {
108
114
sudo pip install pyserial
109
115
wget https://github.com/jepler/esp-open-sdk/releases/download/2018-06-10/xtensa-lx106-elf-standalone.tar.gz
110
116
zcat xtensa-lx106-elf-standalone.tar.gz | tar x
117
+ }
118
+
119
+ function ci_esp8266_path {
111
120
echo $( pwd) /xtensa-lx106-elf/bin
112
121
}
113
122
You can’t perform that action at this time.
0 commit comments