forked from DFRobotdl/DFRobot_mmWave_Radar
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
55e172b
commit 155c75f
Showing
5 changed files
with
94 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Check Arduino | ||
|
||
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows | ||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
# Run every Tuesday at 8 AM UTC to catch breakage caused by new rules added to Arduino Lint. | ||
- cron: "0 8 * * TUE" | ||
workflow_dispatch: | ||
repository_dispatch: | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Arduino Lint | ||
uses: arduino/arduino-lint-action@v1.0.2 | ||
with: | ||
compliance: specification | ||
library-manager: update | ||
project-type: library |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Compile Examples | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
compile-examples: | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
SKETCHES_REPORTS_PATH: sketches-reports | ||
|
||
strategy: | ||
matrix: | ||
fqbn: | ||
- arduino:esp32:nano_nora | ||
- arduino:megaavr:nona4809 | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Compile sketches | ||
uses: arduino/compile-sketches@v1.1.0 | ||
with: | ||
fqbn: ${{ matrix.fqbn }} | ||
|
||
sketch-paths: | | ||
- examples | ||
libraries: | | ||
- source-path: ./ | ||
enable-deltas-report: true | ||
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }} | ||
|
||
- name: Save sketches report as workflow artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ env.SKETCHES_REPORTS_PATH }} | ||
path: ${{ env.SKETCHES_REPORTS_PATH }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Report Size Deltas | ||
|
||
on: | ||
push: | ||
paths: | ||
- ".github/workflows/report-size-deltas.yml" | ||
|
||
schedule: | ||
- cron: "*/5 * * * *" | ||
|
||
jobs: | ||
report: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Comment size deltas reports to PRs | ||
uses: arduino/report-size-deltas@v1.0.1 | ||
with: | ||
sketches-reports-source: sketches-reports |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters