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
This input allows the user to customize the sketch compilation process by defining arbitrary flags to be added to the
`arduino-cli compile` command.
In order to be as flexible as possible, the input uses a YAML list format:
cli-compile-flags: |
- --build-property
- compiler.cpp.extra_flags="-DFOO="hello world"" -DPIN=2
- --export-binaries
Copy file name to clipboardExpand all lines: README.md
+7
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ This action checks whether [Arduino](https://www.arduino.cc/) sketches compile a
27
27
-[Repository](#repository-1)
28
28
-[Archive download](#archive-download-1)
29
29
-[`sketch-paths`](#sketch-paths)
30
+
-[`cli-compile-flags`](#cli-compile-flags)
30
31
-[`verbose`](#verbose)
31
32
-[`sketches-report-path`](#sketches-report-path)
32
33
-[`github-token`](#github-token)
@@ -162,6 +163,12 @@ Keys:
162
163
163
164
**Default**: `"- examples"`
164
165
166
+
### `cli-compile-flags`
167
+
168
+
YAML-format list of flags to add to the Arduino CLI command used to compile the sketches. For the available flags, see [the Arduino CLI command reference](https://arduino.github.io/arduino-cli/latest/commands/arduino-cli_compile/#options).
0 commit comments