From 25e2e3409875e5d5ddc0627baa4ebeadf4ee7a82 Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 24 Mar 2022 20:15:04 -0700 Subject: [PATCH] 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. --- .github/workflows/compile-examples.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 5cb1c1296..1a3eff1d0 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -126,6 +126,10 @@ jobs: - name: Compile examples uses: arduino/compile-sketches@v1 with: + cli-compile-flags: | + # Use build path containing spaces to check for path quoting problems in compilation patterns + - --build-path + - ${{ runner.temp }}/path with spaces github-token: ${{ secrets.GITHUB_TOKEN }} fqbn: ${{ matrix.board.fqbn }} libraries: |