File tree Expand file tree Collapse file tree 2 files changed +62
-0
lines changed Expand file tree Collapse file tree 2 files changed +62
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Compile Examples
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - " .github/workflows/compile-examples.yml"
7+ - " examples/**"
8+ - " src/**"
9+ push :
10+ paths :
11+ - " .github/workflows/compile-examples.yml"
12+ - " examples/**"
13+ - " src/**"
14+
15+ jobs :
16+ build :
17+ runs-on : ubuntu-latest
18+
19+ env :
20+ SKETCHES_REPORTS_PATH : sketches-reports
21+ LIBRARIES : |
22+ # Install the library from the local path.
23+ - source-path: ./
24+ - name: Arduino_APDS9960
25+ - name: ArduinoBLE
26+ - name: WiFiNINA
27+ - name: INA2xx
28+ - name: Arduino_BMI270_BMM150
29+ - name: BSEC Software Library
30+ - name: Arduino_GroveI2C_Ultrasonic
31+ - name: OneWireNg
32+
33+ strategy :
34+ fail-fast : false
35+
36+ matrix :
37+ board :
38+ - fqbn : arduino:mbed_nano:nanorp2040connect
39+ platforms : |
40+ - name: arduino:mbed_nano
41+
42+ steps :
43+ - name : Checkout
44+ uses : actions/checkout@v3
45+
46+ - name : Compile examples
47+ uses : arduino/compile-sketches@main
48+ with :
49+ fqbn : ${{ matrix.board.fqbn }}
50+ platforms : ${{ matrix.board.platforms }}
51+ libraries : ${{ env.LIBRARIES }}
52+ enable-deltas-report : true
53+ github-token : ${{ secrets.GITHUB_TOKEN }}
54+ sketches-report-path : ${{ env.SKETCHES_REPORTS_PATH }}
55+
56+ - name : Save memory usage change report as artifact
57+ if : github.event_name == 'pull_request'
58+ uses : actions/upload-artifact@v3
59+ with :
60+ name : ${{ env.SKETCHES_REPORTS_PATH }}
61+ path : ${{ env.SKETCHES_REPORTS_PATH }}
Original file line number Diff line number Diff line change 11Arduino_ScienceKitCarrier
22=========================
3+ [ ![ Compile Examples] ( https://github.com/arduino-libraries/Arduino_ScienceKitCarrier/workflows/Compile%20Examples/badge.svg )] ( https://github.com/arduino-libraries/Arduino_ScienceKitCarrier/actions?workflow=Compile+Examples )
34[ ![ Check Arduino] ( https://github.com/arduino-libraries/Arduino_ScienceKitCarrier/actions/workflows/check-arduino.yml/badge.svg )] ( https://github.com/arduino-libraries/Arduino_ScienceKitCarrier/actions/workflows/check-arduino.yml )
45[ ![ Spell Check] ( https://github.com/arduino-libraries/Arduino_ScienceKitCarrier/workflows/Spell%20Check/badge.svg )] ( https://github.com/arduino-libraries/Arduino_ScienceKitCarrier/actions?workflow=Spell+Check )
56[ ![ Spell Check] ( https://github.com/arduino-libraries/Arduino_ScienceKitCarrier/workflows/Sync%20Labels/badge.svg )] ( https://github.com/arduino-libraries/Arduino_ScienceKitCarrier/actions?workflow=Sync+Labels )
You can’t perform that action at this time.
0 commit comments