File tree 1 file changed +22
-37
lines changed
1 file changed +22
-37
lines changed Original file line number Diff line number Diff line change 1
- name : test
2
-
3
- on :
4
- push :
5
- paths :
6
- - ' src/**'
7
- - ' examples/**'
8
- - ' .github/**'
1
+ name : Example build test
9
2
3
+ on [push, pull_request] :
4
+ paths :
5
+ - ' src/**'
6
+ - ' examples/**'
7
+ - ' .github/**'
10
8
11
9
jobs :
12
10
esp8266-test :
13
- runs-on : ubuntu-18 .04
11
+ runs-on : ubuntu-20 .04
14
12
steps :
15
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v4
16
14
17
15
- name : before_install
18
16
run : |
@@ -31,31 +29,18 @@ jobs:
31
29
. ./ESP8266_RTOS_SDK/export.sh
32
30
cd examples
33
31
idf.py build
34
- # ###
35
- # ###
36
- # ###
37
- esp32-test :
38
- runs-on : ubuntu-18.04
39
- steps :
40
- - uses : actions/checkout@v2
41
-
42
- - name : before_install
43
- run : |
44
- sudo apt update
45
- sudo apt install -y gcc git wget make libncurses-dev flex bison python3 python3-pip python-serial ninja-build
46
-
47
- - name : install
48
- run : |
49
- wget https://github.com/espressif/esp-idf/releases/download/v4.3.2/esp-idf-v4.3.2.zip
50
- unzip esp-idf-v4.3.2.zip
51
- sudo ./esp-idf-v4.3.2/install.sh
52
-
53
- - name : script
54
- id : script
55
- run : |
56
- . ./esp-idf-v4.3.2/export.sh
57
- cd examples
58
- idf.py build
59
-
60
-
61
32
33
+ esp32-build :
34
+ runs-on : ubuntu-20.04
35
+ continue-on-error : true
36
+ strategy :
37
+ matrix :
38
+ target-hardware : [esp32, esp32c3, esp32s3]
39
+ steps :
40
+ - uses : actions/checkout@v4
41
+ - name : build
42
+ uses : espressif/esp-idf-ci-action@v1
43
+ with :
44
+ esp_idf_version : v4.4.2
45
+ target : ${{ matrix.target-hardware }}
46
+ path : ' ./examples/'
You can’t perform that action at this time.
0 commit comments