Skip to content

Commit

Permalink
XXX msvc: let powershell find GetTempPath() and use that for test-avr…
Browse files Browse the repository at this point in the history
…dude
  • Loading branch information
ndim committed Aug 24, 2024
1 parent 885caed commit ea1e435
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,10 @@ jobs:
- name: Build
run: cmake --build build --config ${{env.BUILD_TYPE}}
- name: "Dryrun test (not installed)"
run: Write-Host "`n`n" -NoNewline | bash tools/test-avrdude -v -e build/src/${{env.BUILD_TYPE}}/avrdude.exe -c "-C build/src/avrdude.conf" -d0 -p"-cdryrun -pm2560" -p"-cdryrun -pavr64du28"
run: |
$tmp = [System.IO:Path]::GetTempPath()
$tmp_slash = $tmp -replace '\\', '/'
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"
- name: Archive build artifacts
if: always()
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit ea1e435

Please sign in to comment.