@@ -115,19 +115,6 @@ if [[ "$ENABLE_SIZE_TRENDS_REPORT" == "true" && "$SIZE_TRENDS_REPORT_SPREADSHEET
115
115
exit 1
116
116
fi
117
117
118
- if [[ " $ENABLE_SIZE_DELTAS_REPORT " == " true" || " $ENABLE_SIZE_TRENDS_REPORT " == " true" ]]; then
119
- apt-get install --quiet=2 --assume-yes curl > /dev/null || {
120
- echo " ::error::Failed to install curl"
121
- exit 1
122
- }
123
-
124
- # https://stedolan.github.io/jq/
125
- apt-get install --quiet=2 --assume-yes jq > /dev/null || {
126
- echo " ::error::Failed to install jq"
127
- exit 1
128
- }
129
- fi
130
-
131
118
# Only publish size trends report on push to the default branch
132
119
if [[ " $ENABLE_SIZE_TRENDS_REPORT " == " true" ]]; then
133
120
# Determine the current branch
192
179
mkdir --parents " $HOME /Arduino/libraries"
193
180
ln --symbolic " $PWD " " $HOME /Arduino/libraries/."
194
181
195
- if [[ " $ENABLE_SIZE_TRENDS_REPORT " == " true" ]]; then
196
- apt-get install --quiet=2 --assume-yes python3 > /dev/null || {
197
- echo " ::error::Failed to install Python"
198
- exit 1
199
- }
200
- apt-get install --quiet=2 --assume-yes python3-pip > /dev/null || {
201
- echo " ::error::Failed to install pip"
202
- exit 1
203
- }
204
- # Install dependencies of reportsizetrends.py
205
- pip3 install --quiet --requirement /reportsizetrends/requirements.txt || {
206
- echo " ::error::Failed to install Python modules"
207
- exit 1
208
- }
209
- fi
210
-
211
182
# Find all the examples and loop build each
212
183
readonly EXAMPLES=" $( find " examples/" -name ' *.ino' -print0 | xargs --null dirname | uniq) "
213
184
if [[ " $EXAMPLES " == " " ]]; then
@@ -234,14 +205,6 @@ for EXAMPLE in $EXAMPLES; do
234
205
}
235
206
check_sizes
236
207
237
- # Install Git
238
- if [[ " $ENABLE_SIZE_DELTAS_REPORT " == " true" || " $ENABLE_SIZE_TRENDS_REPORT " == " true" ]]; then
239
- apt-get install --quiet=2 --assume-yes git > /dev/null || {
240
- echo " ::error::Failed to install git"
241
- exit 1
242
- }
243
- fi
244
-
245
208
readonly CURRENT_FLASH_SIZE=" $FLASH_SIZE "
246
209
readonly CURRENT_RAM_SIZE=" $RAM_SIZE "
247
210
0 commit comments