Skip to content

Commit

Permalink
XXX substitute \ into /
Browse files Browse the repository at this point in the history
  • Loading branch information
ndim committed Aug 18, 2024
1 parent d7ce37d commit faa6aef
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit faa6aef

Please sign in to comment.