From 5afaebc70e9fb42b40ad00e965f43a35fcfe91f0 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 4 Jun 2026 15:15:33 -0500 Subject: [PATCH] [ci] Temporary: prove ESP-IDF spaced-path compile failure on Windows --- .github/workflows/zz-windows-spaces-probe.yml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .github/workflows/zz-windows-spaces-probe.yml diff --git a/.github/workflows/zz-windows-spaces-probe.yml b/.github/workflows/zz-windows-spaces-probe.yml new file mode 100644 index 0000000000..440b2c764c --- /dev/null +++ b/.github/workflows/zz-windows-spaces-probe.yml @@ -0,0 +1,49 @@ +# Temporary workflow: proves the ESP-IDF spaced-path compile bug on Windows. +# Removed in the final commit of this PR; must never land on dev. +name: zz Windows spaced-path probe (temporary) + +on: + push: + branches: + - esp32-idf-spaces-path-fix + workflow_dispatch: + +permissions: + contents: read + +jobs: + esp-idf-spaced-path: + name: ESP-IDF compile from a path with a space + runs-on: windows-latest + steps: + - name: Check out code from GitHub + uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + - name: Set up Python + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 + with: + python-version: "3.11" + - name: Install esphome + shell: bash + run: | + python -m pip install -U pip + pip install -e . + - name: Write a minimal ESP-IDF config into a directory with a space + shell: bash + run: | + mkdir -p "first last" + cat > "first last/probe.yaml" <<'EOF' + esphome: + name: spaces-probe + esp32: + board: esp32dev + framework: + type: esp-idf + logger: + EOF + echo "Config dir (note the space):" + pwd + ls -la "first last" + - name: Compile from the spaced path + shell: bash + run: | + esphome compile "first last/probe.yaml"