Skip to content

Commit c1e1c6c

Browse files
authored
Merge pull request #2837 from jepler/fix-arduino-cron
Fix arduino_cron to actually build stuff
2 parents f00ff21 + 474c37b commit c1e1c6c

File tree

49 files changed

+14
-12
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+14
-12
lines changed

.github/workflows/arduino_cron.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ jobs:
3939
[[ $changedfile == *.cpp ]] ||
4040
[[ $changedfile == *.h ]] ||
4141
[[ $changedfile == *.hpp ]] ||
42-
[[ $changedfile == *.ino ]]; then
42+
[[ $changedfile == *.ino ]] ||
43+
[[ $changedfile == *.yml ]]; then
4344
ischanged=true
4445
break
4546
fi
@@ -60,14 +61,19 @@ jobs:
6061
strategy:
6162
fail-fast: false
6263
matrix:
63-
arduino-platform: ["cpb", "cpc", "cpx_ada", "esp32", "esp8266", "feather32u4", "feather_m0_express", "feather_m4_express", "feather_rp2040", "flora", "funhouse", "gemma", "gemma_m0", "hallowing_m0", "hallowing_m4_tinyusb", "magtag", "metro_m0", "metro_m0_tinyusb", "metro_m4", "metro_m4_tinyusb", "monster_m4sk", "monster_m4sk_tinyusb", "neokeytrinkey_m0", "neotrellis_m4", "nrf52832", "nrf52840", "pycamera_s3", "protrinket_5v", "proxlighttrinkey_m0", "pybadge", "pygamer", "pyportal", "qualia_s3_rgb666", "qt2040_trinkey", "qtpy_m0", "qtpy_esp32s2", "rotarytrinkey_m0", "slidetrinkey_m0", "trinket_m0", "uno", "trinket_5v", "ledglasses_nrf52840" ]
64+
arduino-platform: ["cpb", "cpc", "cpx_ada", "esp32", "esp8266", "feather32u4", "feather_m0_express", "feather_m4_express", "feather_rp2040", "flora", "funhouse", "gemma", "gemma_m0", "hallowing_m0", "hallowing_m4_tinyusb", "ledglasses_nrf52840", "magtag", "metro_m0", "metro_m0_tinyusb", "metro_m4", "metro_m4_tinyusb", "monster_m4sk", "monster_m4sk_tinyusb", "neokeytrinkey_m0", "neotrellis_m4", "nrf52832", "nrf52840", "pixeltrinkey_m0", "protrinket_5v", "proxlighttrinkey_m0", "pybadge", "pycamera_s3", "pygamer", "pyportal", "qualia_s3_rgb666", "qt2040_trinkey", "qtpy_m0", "qtpy_esp32s2", "rotarytrinkey_m0", "sht4xtrinkey_m0", "slidetrinkey_m0", "trinket_5v", "trinket_m0", "uno"]
6465
runs-on: ubuntu-latest
6566
if: needs.check-if-needed.outputs.answer == 'true'
6667
needs: check-if-needed
6768
steps:
6869
- uses: actions/setup-python@v5
6970
with:
7071
python-version: "3.x"
72+
73+
# Checkout the learn repo itself
74+
- uses: actions/checkout@v4
75+
76+
# Checkout the CI scripts
7177
- uses: actions/checkout@v4
7278
with:
7379
repository: adafruit/ci-arduino

ESP32_S2_WiFi_Tests/JSONdemo/JSONdemo.ino

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ last revision November 2015
1616
1717
*/
1818

19+
#include <WiFi.h>
1920
#include <WiFiClientSecure.h>
2021
#include <ArduinoJson.h>
2122
#include <Wire.h>
@@ -44,16 +45,9 @@ char ssid[] = "YOUR_SSID"; // your network SSID (name)
4445
char pass[] = "YOUR_SSID_PASSWORD"; // your network password (use for WPA, or use as key for WEP)
4546
int keyIndex = 0; // your network key Index number (needed only for WEP)
4647

47-
48-
int status = WL_IDLE_STATUS;
49-
// if you don't want to use DNS (and reduce your sketch size)
50-
// use the numeric IP instead of the name for the server:
51-
//IPAddress server(74,125,232,128); // numeric IP for Google (no DNS)
52-
5348
#define SERVER "cdn.syndication.twimg.com"
5449
#define PATH "/widgets/followbutton/info.json?screen_names=adafruit"
5550

56-
5751
void setup() {
5852
//Initialize serial and wait for port to open:
5953
Serial.begin(115200);
@@ -90,7 +84,6 @@ void setup() {
9084
display.display();
9185
#endif
9286

93-
9487
while (WiFi.status() != WL_CONNECTED) {
9588
delay(500);
9689
Serial.print(".");

ESP32_S2_WiFi_Tests/WiFiSSLClient/WiFiSSLClient.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ last revision November 2015
1616
*/
1717

1818
#include <WiFiClientSecure.h>
19+
#include <WiFi.h>
1920

2021
// Enter your WiFi SSID and password
2122
char ssid[] = "YOUR_SSID"; // your network SSID (name)

0 commit comments

Comments
 (0)