You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# libraries/compile-examples action
1
+
# arduino/compile-sketches action
2
2
3
3
This action checks whether Arduino sketches compile and produces a report of data from the compilations.
4
4
@@ -110,15 +110,15 @@ Set to true to show verbose output in the log. Default `false`
110
110
111
111
### `sketches-report-path`
112
112
113
-
Path in which to save a JSON formatted file containing data from the sketch compilations. Should be used only to store reports. Relative paths are relative to [`GITHUB_WORKSPACE`](https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables). The folder will be created if it doesn't already exist. This report is used by the `arduino/actions/libraries/report-size-deltas` and `arduino/actions/libraries/report-size-trends` actions. Default `"size-deltas-reports"`.
113
+
Path in which to save a JSON formatted file containing data from the sketch compilations. Should be used only to store reports. Relative paths are relative to [`GITHUB_WORKSPACE`](https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables). The folder will be created if it doesn't already exist. This report is used by the `arduino/report-size-deltas` and `arduino/report-size-trends` actions. Default `"size-deltas-reports"`.
114
114
115
115
### `github-token`
116
116
117
117
GitHub access token used to get information from the GitHub API. Only needed for private repositories with `enable-deltas-report` set to `true`. It will be convenient to use [`${{ secrets.GITHUB_TOKEN }}`](https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token). Default `""`.
118
118
119
119
### `enable-deltas-report`
120
120
121
-
Set to `true` to cause the action to determine the change in memory usage and compiler warnings of the compiled sketches. If the workflow is triggered by a `pull_request` event, the comparison is between the pull request branch and the tip of the pull request's base branch. If the workflow is triggered by a `push` event, the comparison is between the pushed commit and its immediate parent. The deltas will be displayed in the GitHub Actions build log. This may be used with the [`arduino/actions/libraries/report-size-deltas` action](https://github.com/arduino/actions/tree/master/libraries/report-size-deltas). Default `false`.
121
+
Set to `true` to cause the action to determine the change in memory usage and compiler warnings of the compiled sketches. If the workflow is triggered by a `pull_request` event, the comparison is between the pull request branch and the tip of the pull request's base branch. If the workflow is triggered by a `push` event, the comparison is between the pushed commit and its immediate parent. The deltas will be displayed in the GitHub Actions build log. This may be used with the [`arduino/report-size-deltas` action](https://github.com/arduino/report-size-deltas). Default `false`.
122
122
123
123
### `enable-warnings-report`
124
124
@@ -128,7 +128,7 @@ Set to `true` to cause the action to record the compiler warning count for each
Storing the sketches compilation report report as a [workflow artifact](https://help.github.com/en/actions/configuring-and-managing-workflows/persisting-workflow-data-using-artifacts):
Copy file name to clipboardExpand all lines: action.yml
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
name: 'Arduino Libraries - Compile Examples'
2
-
description: 'Compiles all the examples included in the library'
1
+
name: 'Compile Arduino Sketches'
2
+
description: 'Checks whether Arduino sketches will compile and produces a report of data from the compilations'
3
3
inputs:
4
4
cli-version:
5
-
description: 'Version of arduino-cli to use when builing'
5
+
description: 'Version of Arduino CLI to use when building'
6
6
default: 'latest'
7
7
fqbn:
8
8
description: 'Full qualified board name, with Boards Manager URL if needed'
@@ -14,7 +14,7 @@ inputs:
14
14
description: 'YAML-format list of platform dependencies to install'
15
15
default: ''
16
16
sketch-paths:
17
-
description: 'List of paths containing sketches to compile.'
17
+
description: 'YAML-format list of paths containing sketches to compile.'
18
18
default: '- examples'
19
19
verbose:
20
20
description: 'Set to true to show verbose output in the log'
@@ -23,7 +23,7 @@ inputs:
23
23
description: 'Path in which to save a JSON formatted file containing data from the sketch compilations'
24
24
default: 'size-deltas-reports'
25
25
github-token:
26
-
description: 'GitHub access token used to get information from the GitHub API. Only needed if you are using the size deltas report feature with a private repository.'
26
+
description: 'GitHub access token used to get information from the GitHub API. Only needed if you are using the deltas report feature in a private repository.'
27
27
default: ''
28
28
enable-deltas-report:
29
29
description: 'Set to true to cause the action to determine the change in memory usage and compiler warnings of the compiled sketches between the head and base refs of a PR and the immediate parent commit of a push'
0 commit comments