@@ -359,46 +359,6 @@ if [ "$RELEASE_PRE" == "false" ]; then
359
359
fi
360
360
fi
361
361
362
- # Test the package JSONs
363
-
364
- echo " Installing arduino-cli ..."
365
- export PATH=" /home/runner/bin:$PATH "
366
- source ./.github/scripts/install-arduino-cli.sh
367
-
368
- echo " Testing $PACKAGE_JSON_DEV install ..."
369
-
370
- echo " Installing esp32 ..."
371
- arduino-cli core install esp32:esp32 --additional-urls " file://$OUTPUT_DIR /$PACKAGE_JSON_DEV "
372
- if [ $? -ne 0 ]; then echo " ERROR: Failed to install esp32 ($? )" ; exit 1; fi
373
-
374
- echo " Compiling example ..."
375
- arduino-cli compile --fqbn esp32:esp32:esp32 $GITHUB_WORKSPACE /libraries/ESP32/examples/CI/CIBoardsTest/CIBoardsTest.ino
376
- if [ $? -ne 0 ]; then echo " ERROR: Failed to compile example ($? )" ; exit 1; fi
377
-
378
- echo " Uninstalling esp32 ..."
379
- arduino-cli core uninstall esp32:esp32
380
- if [ $? -ne 0 ]; then echo " ERROR: Failed to uninstall esp32 ($? )" ; exit 1; fi
381
-
382
- echo " Test successful!"
383
-
384
- if [ " $RELEASE_PRE " == " false" ]; then
385
- echo " Testing $PACKAGE_JSON_REL install ..."
386
-
387
- echo " Installing esp32 ..."
388
- arduino-cli core install esp32:esp32 --additional-urls " file://$OUTPUT_DIR /$PACKAGE_JSON_REL "
389
- if [ $? -ne 0 ]; then echo " ERROR: Failed to install esp32 ($? )" ; exit 1; fi
390
-
391
- echo " Compiling example ..."
392
- arduino-cli compile --fqbn esp32:esp32:esp32 $GITHUB_WORKSPACE /libraries/ESP32/examples/CI/CIBoardsTest/CIBoardsTest.ino
393
- if [ $? -ne 0 ]; then echo " ERROR: Failed to compile example ($? )" ; exit 1; fi
394
-
395
- echo " Uninstalling esp32 ..."
396
- arduino-cli core uninstall esp32:esp32
397
- if [ $? -ne 0 ]; then echo " ERROR: Failed to uninstall esp32 ($? )" ; exit 1; fi
398
-
399
- echo " Test successful!"
400
- fi
401
-
402
362
# Upload package JSONs
403
363
404
364
echo " Uploading $PACKAGE_JSON_DEV ..."
0 commit comments