46
46
' tools/get.py' ,
47
47
' .github/scripts/install-arduino-ide.sh' ) }}
48
48
- name : Build Sketches
49
- run : bash ./.github/scripts/on-push.sh ${{ matrix.chunk }} 15
49
+ run : bash ./.github/scripts/on-push.sh ${{ matrix.chunk }} 15 1
50
+
51
+ # Upload cli compile json as artifact
52
+ - name : Upload cli compile json
53
+ if : github.event_name == 'pull_request'
54
+ uses : actions/upload-artifact@v4
55
+ with :
56
+ name : pr_cli_compile_${{ matrix.chunk }}
57
+ path : cli_compile_${{ matrix.chunk }}.json
58
+ overwrite : true
50
59
51
60
# Windows and MacOS
52
61
build-arduino-win-mac :
@@ -110,3 +119,43 @@ jobs:
110
119
idf.py create-project test
111
120
echo CONFIG_FREERTOS_HZ=1000 > test/sdkconfig.defaults
112
121
idf.py -C test -DEXTRA_COMPONENT_DIRS=$PWD/components build
122
+
123
+ # Ubuntu
124
+ build-arduino-base-linux :
125
+ name : Arduino Base ${{ matrix.chunk }} on ubuntu-latest
126
+ # run if its on PR only
127
+ if : github.event_name == 'pull_request'
128
+ runs-on : ubuntu-latest
129
+ strategy :
130
+ fail-fast : false
131
+ matrix :
132
+ chunk : [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
133
+
134
+ # Checkout base branch
135
+ steps :
136
+ - uses : actions/checkout@v4
137
+ with :
138
+ ref : ${{ github.event.pull_request.base.ref }}
139
+ - uses : actions/setup-python@v5
140
+ with :
141
+ python-version : ' 3.x'
142
+ - name : Cache tools
143
+ id : cache-linux
144
+ uses : actions/cache@v4
145
+ with :
146
+ path : |
147
+ ./tools/dist
148
+ ~/arduino_ide
149
+ key : ${{ runner.os }}-${{ hashFiles('package/package_esp32_index.template.json',
150
+ ' tools/get.py' ,
151
+ ' .github/scripts/install-arduino-ide.sh' ) }}
152
+ - name : Build Sketches
153
+ run : bash ./.github/scripts/on-push.sh ${{ matrix.chunk }} 15 1
154
+
155
+ # Upload cli compile json as artifact
156
+ - name : Upload cli compile json
157
+ uses : actions/upload-artifact@v4
158
+ with :
159
+ name : master_cli_compile_${{ matrix.chunk }}
160
+ path : cli_compile_${{ matrix.chunk }}.json
161
+ overwrite : true
0 commit comments