Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 25e2e34

Browse files
committed
Use build path containing spaces for sketch compilation "smoke tests"
Using a custom build path containing spaces for the sketch compilations done by the "Compile Examples" GitHub Actions workflow will catch insufficient path quoting in the compilation patterns defined by the platform.
1 parent fa628e3 commit 25e2e34

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎.github/workflows/compile-examples.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ jobs:
126126
- name: Compile examples
127127
uses: arduino/compile-sketches@v1
128128
with:
129+
cli-compile-flags: |
130+
# Use build path containing spaces to check for path quoting problems in compilation patterns
131+
- --build-path
132+
- ${{ runner.temp }}/path with spaces
129133
github-token: ${{ secrets.GITHUB_TOKEN }}
130134
fqbn: ${{ matrix.board.fqbn }}
131135
libraries: |

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /