5
5
branches :
6
6
- master
7
7
pull_request :
8
+ paths :
9
+ - " **"
10
+ - " !**.md"
11
+ - " !.github/workflows/cron_build.yml"
12
+ - " !.github/workflows/cron.yml"
13
+ - " !.github/workflows/docker.yml"
14
+ - " !.github/workflows/repository_dispatch.yml"
15
+ - " !tools/config_editor/**"
16
+ - " !tools/docker/**"
8
17
9
18
concurrency :
10
19
group : esp-idf-libs-${{github.event.pull_request.number || github.ref}}
11
20
cancel-in-progress : true
12
21
13
22
jobs :
14
-
15
23
build-libs :
16
24
name : Build Libs for ${{ matrix.target }}
17
25
runs-on : ubuntu-latest
@@ -21,16 +29,20 @@ jobs:
21
29
fail-fast : false
22
30
steps :
23
31
- uses : actions/checkout@v4
32
+
24
33
- name : Install dependencies
25
34
run : bash ./tools/prepare-ci.sh
35
+
26
36
- name : Build Libs for ${{ matrix.target }}
27
37
run : bash ./build.sh -e -t ${{ matrix.target }}
38
+
28
39
- name : Upload build
29
40
if : failure()
30
41
uses : actions/upload-artifact@v4
31
42
with :
32
43
name : build-${{ matrix.target }}
33
44
path : build
45
+
34
46
- name : Upload archive
35
47
uses : actions/upload-artifact@v4
36
48
with :
@@ -48,17 +60,20 @@ jobs:
48
60
path : dist
49
61
pattern : artifacts-*
50
62
merge-multiple : true
63
+
51
64
- shell : bash
52
65
run : |
53
66
mkdir -p out
54
67
find dist -name 'arduino-esp32-libs-esp*.tar.gz' -exec tar zxvf {} -C out \;
55
68
cd out/tools/esp32-arduino-libs && tar zcf ../../../dist/esp32-arduino-libs.tar.gz * && cd ../../..
56
69
cp out/package_esp32_index.template.json dist/package_esp32_index.template.json
70
+
57
71
- name : Upload full esp32-arduino-libs archive
58
72
uses : actions/upload-artifact@v4
59
73
with :
60
74
name : esp32-arduino-libs
61
75
path : dist/esp32-arduino-libs.tar.gz
76
+
62
77
- name : Upload package_esp32_index.template.json
63
78
uses : actions/upload-artifact@v4
64
79
with :
0 commit comments