Skip to content

Commit 70c67f0

Browse files
committed
ci: use checkout v3
1 parent 3f34eda commit 70c67f0

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

.github/workflows/compile-examples.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ jobs:
3232
- libraries/Arduino_CAN/examples/CANWrite
3333
- libraries/Arduino_FreeRTOS
3434
- libraries/EEPROM
35-
- libraries/RTC
35+
- libraries/RTC/examples/RTC_AutomaticExample
36+
- libraries/RTC/examples/RTC_PeriodicExample
37+
- libraries/RTC/examples/Test_RTC
3638
- libraries/SoftwareSerial
3739
3840
strategy:
@@ -62,6 +64,8 @@ jobs:
6264
- libraries/Ethernet
6365
- libraries/Arduino_CAN/examples/CAN1Read
6466
- libraries/Arduino_CAN/examples/CAN1Write
67+
- libraries/RTC/examples/RTC_NTPSync
68+
- libraries/RTC/examples/RTC_Alarm
6569
- board:
6670
fqbn: "arduino-git:renesas:portenta_c33"
6771
additional-sketch-paths: |
@@ -74,6 +78,8 @@ jobs:
7478
- libraries/Ethernet
7579
- libraries/Arduino_CAN/examples/CAN1Read
7680
- libraries/Arduino_CAN/examples/CAN1Write
81+
- libraries/RTC/examples/RTC_NTPSync
82+
- libraries/RTC/examples/RTC_Alarm
7783
- board:
7884
fqbn: "arduino:renesas_uno:unor4wifi"
7985
additional-sketch-paths: |
@@ -85,9 +91,7 @@ jobs:
8591
8692
steps:
8793
- name: Checkout repository
88-
uses: actions/checkout@v2
89-
with:
90-
submodules: recursive
94+
uses: actions/checkout@v3
9195

9296
# The source files are in a subfolder of the ArduinoCore-API repository, so it's not possible to clone it directly to the final destination in the core
9397
- name: Checkout ArduinoCore-API
@@ -111,6 +115,12 @@ jobs:
111115
repository: arduino/arduino-examples
112116
path: extras
113117

118+
- name: Submodule update
119+
run: git submodule init && git submodule update
120+
121+
- name: List files in core
122+
run: tree extras/
123+
114124
- name: Compile examples
115125
uses: arduino/compile-sketches@main
116126
with:
@@ -148,8 +158,8 @@ jobs:
148158
sketch-paths: |
149159
${{ env.UNIVERSAL_SKETCH_PATHS }}
150160
${{ matrix.additional-sketch-paths }}
151-
enable-deltas-report: 'true'
152-
verbose: 'false'
161+
enable-deltas-report: 'false'
162+
verbose: 'true'
153163
github-token: ${{ secrets.GITHUB_TOKEN }}
154164

155165
- name: Save memory usage change report as artifact

0 commit comments

Comments
 (0)