From faa6aef3e74dff60190cfbd0551b91269fa1b28a Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Sun, 18 Aug 2024 22:32:01 +0200 Subject: [PATCH] XXX substitute \ into / --- .github/workflows/build.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d4fbe525e..fdc337cdd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -368,18 +368,24 @@ jobs: run: Get-ChildItem -Path build -Force –Recurse - name: Debug output TEMP run: | + Write-Host '$env:TEMP' Write-Host $env:TEMP - Write-Host "$env:TEMP" + Write-Host "env:TEMP=$env:TEMP" Get-ChildItem -Path $env:TEMP - name: Debug powershell temp dir run: | Write-Host "GetTempPath" $tmp = [System.IO.Path]::GetTempPath() Write-Host $tmp - Write-Host "$tmp" + Write-Host "tmp=$tmp" - name: "Dryrun test (not installed)" run: | - Write-Host "`n`n" -NoNewline | bash tools/test-avrdude -v -t '$env:TEMP' -e build/src/${{env.BUILD_TYPE}}/avrdude.exe -c "-C build/src/avrdude.conf" -d0 -p"-cdryrun -pm2560" -p"-cdryrun -pavr64du28" + Write-Host "GetTempPath" + $tmp = [System.IO.Path]::GetTempPath() + Write-Host "tmp=$tmp" + $tmp_slash = $tmp -replace '\\', '/' + Write-Host "tmp_slash=$tmp_slash" + Write-Host "`n`n" -NoNewline | bash tools/test-avrdude -v -t "$tmp_slash" -e build/src/${{env.BUILD_TYPE}}/avrdude.exe -c "-C build/src/avrdude.conf" -d0 -p"-cdryrun -pm2560" -p"-cdryrun -pavr64du28" # Installing requires non-existing python312_d.lib from swig_avrdude.vcxproj #- name: Install # run: cmake --build build --target install